Hypothesis Testing Solved Problems: Z, T, and F Tests

Posted by Anonymous and classified in Mathematics

Written on in English with a size of 7.17 KB

Problem 9: Z-Test for Two Means

A researcher wants to know the intelligence of students in a school. He selected two groups of students. In the first group, there are 150 students having a mean IQ of 75 with a S.D. of 15. In the second group, there are 250 students having a mean IQ of 70 with a S.D. of 20. Is there a significant difference between the means of the two groups?

Solution

Given

For Group I:

  • Sample size, n1 = 150
  • Sample mean, 1 = 75
  • Standard deviation, s1 = 15

For Group II:

  • Sample size, n2 = 250
  • Sample mean, 2 = 70
  • Standard deviation, s2 = 20

Level of significance: α = 0.05

Since both sample sizes are large (n1, n2 > 30), use the Z-test for the difference between two means.

Step 1: State the Hypotheses

  • Null Hypothesis (H0): μ1 = μ2 (There is no significant difference between the two means.)
  • Alternative Hypothesis (H1): μ1 ≠ μ2 (There is a significant difference.)

Step 2: Test Statistic

Z = (x̄1 - x̄2) / √((s12 / n1) + (s22 / n2))

Step 3: Calculate the Standard Error

SE = √((152 / 150) + (202 / 250))
SE = √((225 / 150) + (400 / 250))
SE = √(1.5 + 1.6) = √3.1 ≈ 1.761

Step 4: Calculate the Z-value

Z = (75 - 70) / 1.761
Z = 5 / 1.761 ≈ 2.84

Step 5: Decision

At the 5% level of significance, the critical value is Z0.025 = 1.96.

Since 2.84 > 1.96, the calculated value lies in the rejection region. Hence, Reject H0.


Problem 10: Student's T-Test for Single Mean

Ten individuals are chosen at random from a normal population and their heights are found to be 63, 63, 66, 67, 68, 69, 70, 70, 71, 71 inches. Test if the sample belongs to the population whose mean height is 66 inches.

Ten individuals are chosen at random from a normal population and their heights (in inches) are: 63, 63, 66, 67, 68, 69, 70, 70, 71, 7163,\;63,\;66,\;67,\;68,\;69,\;70,\;70,\;71,\;7163,63,66,67,68,69,70,70,71,71

Solution

Given

  • Sample size, n = 10
  • Sample observations: 63, 63, 66, 67, 68, 69, 70, 70, 71
  • Population mean, μ0 = 66

Since the sample size is small (n < 30) and the population standard deviation is unknown, use the Student's t-test.

Step 1: State the Hypotheses

  • Null Hypothesis (H0): μ = 66
  • Alternative Hypothesis (H1): μ ≠ 66 (Two-tailed test)

Step 2: Calculate the Sample Mean

∑x = 678
x̄ = 678 / 10 = 67.8

Step 3: Calculate the Sample Standard Deviation

XXXX - x̄(X - x̄)2
63-4.823.04
63-4.823.04
66-1.83.24
67-0.80.64
680.20.04
691.21.44
702.24.84
702.24.84
713.210.24
713.210.24

∑(x - x̄)2 = 81.60
s = √(81.60 / (10 - 1)) = √9.067 &approx; 3.01

Step 4: Calculate the T-value

The test statistic is: t = (x̄ - μ0) / (s / √n)
t = (67.8 - 66) / (3.01 / √10)
t = 1.8 / (3.01 / 3.162) = 1.8 / 0.952 &approx; 1.89

Step 5: Decision

Degrees of freedom: n - 1 = 9
At the 5% level of significance, t0.025, 9 = 2.262.

Since 1.89 < 2.262, the calculated value does not fall in the rejection region. Hence, Accept H0. (Accept H0: 2.56 < 3.35)


Problem 3: F-Test for Equality of Variances

Pumpkins were grown under two experimental conditions. Two random samples of 11 and 9 pumpkins show the sample standard deviations of their weights as 0.8 and 0.5 respectively. Assuming that the weight distributions are normal, test the hypothesis that the true variances are equal.

Given

For Sample 1:

  • Sample size, n1 = 11
  • Sample standard deviation, s1 = 0.8

For Sample 2:

  • Sample size, n2 = 9
  • Sample standard deviation, s2 = 0.5

Level of significance: α = 0.05

Since the population is normal and we are testing the equality of variances, use the F-test.

Step 1: State the Hypotheses

  • Null Hypothesis (H0): σ12 = σ22 (The population variances are equal.)
  • Alternative Hypothesis (H1): σ12 ≠ σ22 (The population variances are not equal.)

Step 2: Calculate the F-statistic

The F-test statistic is: F = Larger Sample Variance / Smaller Sample Variance

Sample variances:
s12 = (0.8)2 = 0.64
s22 = (0.5)2 = 0.25

Hence, F = 0.64 / 0.25 = 2.56

Step 3: Degrees of Freedom

Numerator degrees of freedom: v1 = n1 - 1 = 11 - 1 = 10
Denominator degrees of freedom: v2 = n2 - 1 = 9 - 1 = 8

From the F-table at the 5% level of significance: F0.05(10, 8) &approx; 3.35

Step 4: Decision

Calculated value: F = 2.56
Table value: F0.05(10, 8) = 3.35

Since 2.56 < 3.35, the calculated F-value is less than the critical value. Therefore, Accept H0.


Conclusion

Related entries: