📘 Lecture 38 — Hypothesis-Testing regarding μ1 - μ2 (based on Z-statistic) and Hypothesis Testing regarding p (based on Z-statistic)
📖 Overview: This lecture extends hypothesis testing to comparing two population means using the Z-statistic for large samples, and then moves to testing hypotheses about a population proportion p. It reinforces the six-step hypothesis testing procedure through detailed examples involving wage comparisons between professions and testing proportions of orphans in juvenile court cases.
🗂️ Topics Covered
The lecture reviews the general six-step hypothesis testing procedure, then demonstrates testing the equality of two population means (μ1 - μ2 = 0) using the Z-statistic when sample sizes are large, including handling unknown variances by substituting sample variances. It then addresses hypothesis testing regarding a population proportion p, incorporating the continuity correction for large samples.
📝 Lecture Summary
Hypothesis-Testing regarding μ1 - μ2 (based on Z-statistic)
The lecture begins by restating the general six-step hypothesis testing procedure: (1) formulate H0 and H1, (2) decide significance level α, (3) choose test statistic, (4) determine critical/rejection region, (5) compute test statistic from sample, (6) draw conclusion. We always begin by assuming the null hypothesis is true.
An important note clarifies the relationship between the unbiased estimator s² and the biased estimator S². We know that s² = Σ(x - x̄)²/(n-1) and S² = Σ(x - x̄)²/n. Since (n-1)s² = nS², we get S² = [(n-1)/n]s² = (1 - 1/n)s². As n → ∞, 1/n → 0, so for large n, S² ≈ s². 💡 Why this matters: In large samples, when population variance σ² is unknown, we can replace σ² with S².
When testing the equality of two population means with large samples, the test statistic is: Z = [(X̄₁ - X̄₂) - (μ₁ - μ₂)] / √(σ₁²/n₁ + σ₂²/n₂). When σ₁² and σ₂² are unknown but sample sizes are large (>30), we replace them with S₁² and S₂².
🔑 Definition — Two-sample Z-test for means: A hypothesis test comparing two population means using the standard normal distribution, valid when both sample sizes are large (n₁, n₂ ≥ 30).
📐 Formula: Z = (X̄₁ - X̄₂ - D₀) / √(S₁²/n₁ + S₂²/n₂) → The difference between sample means (minus the hypothesized difference D₀) divided by the standard error of the difference.
📌 Example (Computer Analysts vs. Nurses): A survey 5 years ago showed equal wages. This year, samples of 32 computer analysts and 34 registered nurses are taken to test if wages differ at 2% significance.
- Step 1: H₀: μ₁ - μ₂ = 0 (equal wages), H₁: μ₁ - μ₂ ≠ 0 (two-tailed)
- Step 2: α = 0.02
- Step 3: Z = (X̄₁ - X̄₂ - 0) / √(S₁²/n₁ + S₂²/n₂)
- Step 4: n₁ = 32, X̄₁ = $23.14, S₁² = 1.854; n₂ = 34, X̄₂ = $21.99, S₂² = 1.845. Computed Z = (23.14 - 21.99) / √(1.854/32 + 1.845/34) = 1.15 / 0.335 = 3.43
- Step 5: Critical region: |Z| > 2.33 (since α/2 = 0.01, Z₀.₀₁ = ±2.33)
- Step 6: Since 3.43 > 2.33, reject H₀. Conclusion: There is a significant difference between average hourly wages, with computer analysts earning more.
📌 Example (Factory Workers' Income): Workers of Factory B believe Factory A workers earn more. Samples: Factory A (n₁=160, x̄₁=12.80, s₁²=64), Factory B (n₂=220, x̄₂=11.25, s₂²=47). Test at 5% significance.
- Step 1: H₀: μ₁ - μ₂ ≤ 0, H₁: μ₁ - μ₂ > 0 (right-tailed)
- Step 2: α = 0.05
- Steps 3&4: Z = (12.80 - 11.25 - 0) / √(64/160 + 47/220) = 1.55 / √(0.40 + 0.214) = 1.55 / 0.78 = 1.99
- Step 5: Critical region: Z > 1.645
- Step 6: Since 1.99 > 1.645, reject H₀. The evidence supports the belief that Factory A workers earn more.
Hypothesis Testing regarding p (based on Z-statistic)
This section covers testing a hypothesis about the population proportion p (the proportion of successes). For large samples, the test uses a Z-statistic with a continuity correction of ±½.
🔑 Definition — Continuity correction: An adjustment of ±0.5 applied when using a continuous distribution (normal) to approximate a discrete distribution (binomial), improving accuracy.
📐 Formula: Z = [X ± ½ - np₀] / √[np₀(1-p₀)] → The observed count X (adjusted by ±½) minus the expected count under H₀, divided by the standard deviation of the binomial distribution. Use X - ½ when X > np₀, and X + ½ when X < np₀.
📌 Example (Juvenile Court Orphans): A sociologist believes not more than 50% of children appearing in juvenile court 3+ times are orphans. Sample of 634 children: 341 are orphans. Test at 1% significance.
- Step 1: H₀: p ≤ 0.50, H₁: p > 0.50 (right-tailed)
- Step 2: α = 0.01
- Step 3: Z = [X - ½ - np₀] / √[np₀(1-p₀)] (using X - ½ since X=341 > np₀=317)
- Step 4: np₀ = 634(0.50) = 317. Z = (341 - 0.5 - 317) / √[634(0.50)(0.50)] = 23.5 / √158.5 = 23.5 / 12.59 = 1.87
- Step 5: Critical region: Z > 2.33
- Step 6: Since 1.87 < 2.33, do not reject H₀. Conclusion: The sociologist's hunch (not more than 50% are orphans) is acceptable.
⭐ Key Takeaways
The six-step hypothesis testing procedure is universal and must be applied systematically for every test. When comparing two population means with large samples (n₁, n₂ ≥ 30), use the Z-statistic, and unknown population variances can be replaced by sample variances S². For the two-tailed test, critical values are ±Z(α/2); for one-tailed tests, use Z(α) in the appropriate direction. When testing a population proportion p with large samples, apply the continuity correction of ±½ to improve the normal approximation, and the test statistic involves comparing the adjusted observed count to the expected count under H₀. Always compare the computed Z to the appropriate critical value from the standard normal table to determine if the null hypothesis should be rejected.
🧠 Quick Revision Questions
- What are the six steps in the general hypothesis testing procedure, and why is it important to assume H₀ is true at the start?
- For large samples, why can we replace σ² with S² in the two-sample Z-test, and what is the relationship between S² and s²?
- In the computer analysts vs. nurses example, how was the computed Z value of 3.43 obtained, and why was H₀ rejected at α = 0.02?
- When testing a population proportion, when do you use X - ½ versus X + ½ as the continuity correction, and why is this correction necessary?
- In the juvenile court orphans example, what was the calculated Z value, why was it less than the critical value of 2.33, and what was the final conclusion about the sociologist's hunch?
📘 Lecture 39 — Hypothesis Testing Regarding p1-p2 (based on Z-statistic), The Student’s t-distribution, Confidence Interval for μ based on the t-distribution
📖 Overview: This lecture extends hypothesis testing to the comparison of two population proportions using the Z-statistic. It then introduces the Student’s t-distribution, explaining its properties and its application for constructing confidence intervals for the population mean when the population variance is unknown and the sample size is small.
🗂️ Topics Covered
This lecture begins by extending hypothesis testing to two population proportions via the Z-statistic, illustrated with examples comparing preferences between younger and older women and between educated and uneducated voters. It then formally introduces the Student’s t-distribution, detailing its mathematical definition and key properties, such as its shape and dependence on degrees of freedom. Finally, the lecture applies the t-distribution to construct a confidence interval for the population mean, demonstrating the procedure with a worked example involving the masses of ball bearings.
📝 Lecture Summary
Hypothesis Testing Regarding p1-p2 (based on Z-statistic)
This section extends hypothesis testing to compare the difference between two population proportions, (p_1 - p_2). The test statistic is a Z-statistic, which is valid for large sample sizes. When the null hypothesis states that the two proportions are equal (i.e., (p_1 - p_2 = 0)), the standard error of the difference in sample proportions is calculated using a pooled proportion. This pooled estimate, (\hat{p}_c), combines the successes from both samples and provides a better estimate of the common population proportion under the null hypothesis.
🔑 Definition — Pooled Proportion ((\hat{p}_c)): The weighted average of two sample proportions, used when the hypothesized difference between the two population proportions is zero. It is calculated as the total number of successes in both samples combined divided by the total number of observations in both samples. (\hat{p}_c = \frac{X_1 + X_2}{n_1 + n_2})
📐 Formula: Test Statistic for (p_1 - p_2) (when (H_0: p_1 - p_2 = 0)): [ Z = \frac{(\hat{p}_1 - \hat{p}_2) - 0}{\sqrt{\hat{p}_c \hat{q}_c \left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} ] → The Z-score measures how many standard errors the observed sample difference is from the hypothesized difference of zero.
📌 Example: A perfume company tests if the proportion of younger women ((p_1)) who prefer its new perfume equals the proportion of older women ((p_2)) who prefer it. In a sample of 100 young women, 20 preferred it ((\hat{p}_1 = 0.20)). In a sample of 200 older women, 100 preferred it ((\hat{p}_2 = 0.50)). At (\alpha = 0.05), test (H_0: p_1 = p_2) vs. (H_1: p_1 \neq p_2).
- Step 1: (H_0: p_1 = p_2) ((p_1 - p_2 = 0)), (H_1: p_1 \neq p_2) (two-tailed test).
- Step 2: Level of significance (\alpha = 0.05).
- Step 3: Test statistic is Z. Compute the pooled proportion (\hat{p}_c = \frac{20 + 100}{100 + 200} = \frac{120}{300} = 0.40). Then, (\hat{q}_c = 1 - 0.40 = 0.60).
- Step 4: (Z = \frac{(0.20 - 0.50) - 0}{\sqrt{0.40 \times 0.60 \times \left(\frac{1}{100} + \frac{1}{200}\right)}} = \frac{-0.30}{\sqrt{0.24 \times 0.015}} = \frac{-0.30}{\sqrt{0.0036}} = \frac{-0.30}{0.06} = -5.00).
- Step 5: Critical region for a two-tailed test at (\alpha = 0.05) is (Z < -1.96) or (Z > 1.96).
- Step 6: The computed Z of -5.00 is less than -1.96, so it falls in the rejection region. Conclusion: Reject (H_0). There is sufficient evidence to conclude that the proportions of younger and older women who prefer the perfume are not equal.
💡 Why this matters: When the null hypothesis specifies a non-zero difference (e.g., (H_0: p_1 - p_2 > 0.10)), the standard error is calculated using the individual sample proportions ((\hat{p}_1) and (\hat{p}_2)) rather than a pooled proportion, as they are not estimating the same value under (H_0).
📌 Example: A candidate believes he appeals to at least 10% more of educated voters ((p_1)) than uneducated voters ((p_2)). In a sample of 100 educated voters, 62 support him ((\hat{p}_1 = 0.62)). In a sample of 150 uneducated voters, 69 support him ((\hat{p}_2 = 0.46)). At (\alpha = 0.05), test (H_0: p_1 - p_2 \geq 0.10) vs. (H_1: p_1 - p_2 < 0.10).
- Step 1: (H_0: p_1 - p_2 \geq 0.10), (H_1: p_1 - p_2 < 0.10) (one-tailed test).
- Step 2: (\alpha = 0.05).
- Step 3: Test statistic is Z. The standard error is (\sqrt{\frac{\hat{p}_1 \hat{q}_1}{n_1} + \frac{\hat{p}_2 \hat{q}_2}{n_2}}).
- Step 4: (Z = \frac{(0.62 - 0.46) - 0.10}{\sqrt{\frac{0.62 \times 0.38}{100} + \frac{0.46 \times 0.54}{150}}} = \frac{0.06}{\sqrt{0.002356 + 0.001656}} = \frac{0.06}{\sqrt{0.004012}} = \frac{0.06}{0.063} = 0.95).
- Step 5: The critical region for a one-tailed test at (\alpha = 0.05) is (Z < -1.645).
- Step 6: The calculated Z of 0.95 does not fall in the critical region. Conclusion: Do not reject (H_0). The data supports the candidate's claim.
The Student’s t-distribution
This section formally introduces the Student’s t-distribution, a probability distribution used when conducting statistical inference about a population mean when the population is normally distributed, the population variance (\sigma^2) is unknown, and the sample size is small (typically (n < 30)).
🔑 Definition — t-distribution: A bell-shaped, symmetric distribution that is flatter and has heavier tails than the standard normal distribution. Its exact shape is determined by a parameter called the degrees of freedom ((\nu)). The formula for the test statistic is: [ t = \frac{\bar{X} - \mu_0}{s / \sqrt{n}} ] where (s) is the sample standard deviation. This statistic follows a t-distribution with (\nu = n - 1) degrees of freedom.
Properties of the t-distribution:
- It is bell-shaped and symmetric about (t = 0), ranging from (-\infty) to (\infty).
- The shape is determined by the degrees of freedom; there is a distinct t-distribution for each value of (\nu).
- For small (\nu), the t-distribution is flatter than the standard normal distribution (more variability).
- As the degrees of freedom increase ((\nu \rightarrow \infty)), the t-distribution approaches the standard normal distribution.
- The mean is zero (for (\nu \ge 2)).
- The variance is (\sigma^2 = \nu / (\nu - 2)) for (\nu > 2), which is always greater than 1.
- The distribution is unimodal with the mode at (t = 0).
Confidence Interval for μ based on the t-distribution
This section demonstrates how to construct a confidence interval for the population mean (\mu) when using the t-distribution.
📐 Formula: Confidence Interval for (\mu) using the t-distribution: [ \bar{X} \pm t_{\alpha/2, (n-1)} \left( \frac{s}{\sqrt{n}} \right) ] where (t_{\alpha/2, (n-1)}) is the critical value from the t-distribution with (n-1) degrees of freedom.
📌 Example: The masses (in grams) of 13 ball bearings are: 21.4, 23.1, 25.9, 24.7, 23.4, 24.5, 25.0, 22.5, 26.9, 26.4, 25.8, 23.2, 21.9. Calculate a 95% confidence interval for the mean mass ((\mu)) of the population, assumed normal.
- Calculate sample statistics: (n = 13). Sample mean, (\bar{X} = 314.7 / 13 = 24.21) grams. Sample standard deviation, (s = \sqrt{37.43 / 12} = \sqrt{3.12} = 1.77) grams.
- Find critical value: For a 95% confidence level, (\alpha = 0.05), so (\alpha/2 = 0.025). Degrees of freedom are (n-1 = 12). From the t-table, (t_{0.025, 12} = 2.179).
- Calculate margin of error: (E = t_{\alpha/2, (n-1)} \times \frac{s}{\sqrt{n}} = 2.179 \times \frac{1.77}{\sqrt{13}} = 2.179 \times 0.491 = 1.07).
- Construct confidence interval: (\bar{X} \pm E = 24.21 \pm 1.07 = (23.14, 25.28)).
- Conclusion: We are 95% confident that the true population mean mass of the ball bearings lies between 23.14 grams and 25.28 grams.
⭐ Key Takeaways
- When testing the hypothesis (H_0: p_1 = p_2), a pooled proportion (\hat{p}_c) is used to estimate the common population proportion, and the Z-test formula incorporates this pooled estimate. If (H_0) specifies a non-zero difference, the standard error uses (\hat{p}_1) and (\hat{p}_2) individually.
- The t-distribution is the appropriate sampling distribution for inference about a population mean when the population is normally distributed but its variance is unknown and the sample size is small ((n < 30)).
- The t-distribution is symmetric and bell-shaped but has heavier tails and is more spread out than the standard normal distribution; its exact shape is determined by its degrees of freedom ((\nu = n-1)). As the degrees of freedom increase, it approaches the standard normal distribution.
- The formula for a confidence interval for (\mu) using the t-distribution is (\bar{X} \pm t_{\alpha/2, (n-1)} (s/\sqrt{n})), where the critical value (t_{\alpha/2, (n-1)}) is obtained from the t-table.
- The key difference between using the Z and t distributions lies in whether the population standard deviation (\sigma) is known (use Z) or unknown and estimated by the sample standard deviation (s) (use t, especially for small samples).
🧠 Quick Revision Questions
- Under what conditions is the pooled proportion (\hat{p}_c) used in a two-proportion Z-test, and why?
- State the formula for the test statistic used in hypothesis testing for (p_1 - p_2) when the null hypothesis specifies a non-zero difference.
- List at least four properties of the Student’s t-distribution.
- What are the necessary conditions for using the t-distribution to construct a confidence interval for the population mean (\mu)?
- A sample of 10 items yields (\bar{X} = 50) and (s = 4). Find the critical t-value and calculate the 95% confidence interval for (\mu). (Hint: Use (n-1) = 9 degrees of freedom, and (t_{0.025, 9} = 2.262)).
📘 Lecture 40 — Tests and Confidence Intervals based on the t-distribution
📖 Overview: This lecture completes the discussion of statistical inference using the t-distribution, covering hypothesis testing for a single mean when the population variance is unknown and the sample is small. It then extends these concepts to compare two population means using independent small samples and paired observations, providing complete procedures for both confidence intervals and hypothesis tests.
🗂️ Topics Covered
The lecture covers hypothesis testing for a single population mean using the t-distribution with a detailed example, construction of confidence intervals for the difference between two means when variances are unknown but equal, hypothesis testing for the difference between two means with a worked example comparing rubber percentages, and finally the t-distribution approach for paired observations with an example on weight changes before and after training.
📝 Lecture Summary
Tests and Confidence Intervals based on the t-distribution
The lecture begins by reviewing the confidence interval for μ when drawing a small sample (n < 30) from a normal population with unknown variance σ². The confidence interval formula is:
x̄ ± t_(α/2, n-1) × (s/√n)
Where x̄ is the sample mean, s is the sample standard deviation, n is sample size, and t_(α/2, ν) is found from the t-table with ν = n-1 degrees of freedom. The lecture specifies the critical values: for 99% confidence, α/2 = 0.005; for 95% confidence, α/2 = 0.025; and for 90% confidence, α/2 = 0.05.
The discussion then moves to hypothesis testing regarding the mean of a normally distributed population with unknown σ² and small sample size (n < 30). This procedure is demonstrated through Example-1.
Example-1: A zoologist believes the average height of a particular animal species is 66 cm. A random sample of 10 animals yields heights: 63, 63, 66, 67, 68, 69, 70, 70, 71, 71 inches. Test the hypothesis at α = 0.05.
Solution: i) H₀: μ = 66 vs H₁: μ ≠ 66 (two-tailed test) ii) Significance level α = 0.05 iii) Test statistic: t = (x̄ - μ₀)/(s/√n), which under H₀ follows t-distribution with n-1 = 9 degrees of freedom iv) Calculations: Σx_i = 678, so x̄ = 67.8 inches; Σx_i² = 46050; s² = (1/9)[46050 - (678)²/10] = 9.0667; s = 3.01 inches t = (67.8 - 66)/(3.01/√10) = (1.8 × 3.1623)/3.01 = 1.89 v) Critical region for two-tailed test: |t| > t_(0.025,9) = 2.262 vi) Conclusion: Since computed t = 1.89 does not fall in the critical region, we do not reject H₀ and conclude the mean height is 66 centimeters.
💡 Why this matters: This illustrates the complete hypothesis testing procedure using t-distribution, emphasizing that the test statistic must exceed the critical value from the t-table to reject the null hypothesis.
Confidence Interval for μ₁ - μ₂ with Small Samples and Equal Variances
Next, the lecture considers constructing a confidence interval for μ₁ - μ₂ when drawing small samples from two normally distributed populations having unknown but equal variances. This uses the pooled variance s_p².
Example: A record company executive wants to estimate the difference in average play-length between pop music and semi-classical songs. She randomly selects 10 semi-classical songs and 9 pop songs, with play-lengths given in minutes. Calculate a 99% confidence interval.
Solution: Degrees of freedom: n₁ + n₂ - 2 = 10 + 9 - 2 = 17 t-table value for 99% confidence: t_(0.005, 17) = 2.898
Calculations: Semi-Classical: n₁ = 10, x̄₁ = 3.465, s₁ = 0.3575 Pop Music: n₂ = 9, x̄₂ = 4.064, s₂ = 0.2417
Pooled variance: s_p² = [(n₁-1)s₁² + (n₂-1)s₂²]/(n₁+n₂-2) = [9(0.3575)² + 8(0.2417)²]/17 = [1.1503 + 0.4674]/17 = 1.6177/17 = 0.0952 s_p = √0.0952 = 0.31
Confidence interval: (x̄₁ - x̄₂) ± t_(α/2, ν) × s_p × √(1/n₁ + 1/n₂) = (3.465 - 4.064) ± (2.898)(0.31)√(1/10 + 1/9) = -0.599 ± (2.898)(0.31)(0.36) = -0.599 ± 0.411 Therefore: -1.010 ≤ μ₁ - μ₂ ≤ -0.188
With 99% confidence, the true difference is between -1.01 and -0.188 minutes. Since zero is not in this interval, we conclude there is a significant difference in average play-length, with pop songs being longer.
Hypothesis Testing for μ₁ - μ₂ with Small Samples and Equal Variances
Example: From an area planted with guayule, 54 plants were selected. Of these, 15 were "off types" and 12 were "aberrant." Rubber percentages are given. Test the hypothesis that the mean rubber percentage of Aberrants is at least 1 percent more than off types. Use α = 0.05, assuming normal populations with equal variances.
Let subscript 1 = Aberrants, subscript 2 = off types.
Solution: i) H₀: μ₁ - μ₂ ≥ 1 vs H₁: μ₁ - μ₂ < 1 (left-tailed test) ii) α = 0.05 iii) Test statistic: t = [(x̄₁ - x̄₂) - (μ₁ - μ₂)₀] / [s_p × √(1/n₁ + 1/n₂)], with ν = n₁ + n₂ - 2 = 25 degrees of freedom iv) Computations: x̄₁ = Σx₁/n₁ = 80.92/12 = 6.74 x̄₂ = Σx₂/n₂ = 84.25/15 = 5.62 Σ(x₁ - x̄₁)² = Σx₁² - (Σx₁)²/n₁ = 561.6402 - (80.92)²/12 = 561.6402 - 545.6705 = 15.9697 Σ(x₂ - x̄₂)² = Σx₂² - (Σx₂)²/n₂ = 478.9779 - (84.25)²/15 = 478.9779 - 473.2042 = 5.7737 s_p² = [15.9697 + 5.7737]/(12 + 15 - 2) = 21.7434/25 = 0.8697 s_p = √0.8697 = 0.93 t = [(6.74 - 5.62) - 1] / [0.93 × √(1/12 + 1/15)] = 0.12 / [0.93 × 0.36] = 0.12/0.333 = 0.33 v) Critical region for left-tailed test: t < -t_(0.05, 25) i.e. t < -1.708 vi) Conclusion: Since computed t = 0.33 falls in the acceptance region, we accept H₀. The mean rubber percentage of Aberrants is at least 1 percent more than off types.
🔑 Definition — Pooled Variance (s_p²): When two populations have equal but unknown variances, the best estimate combines information from both samples: s_p² = [(n₁-1)s₁² + (n₂-1)s₂²]/(n₁+n₂-2)
T-Distribution in the Case of Paired Observations
The lecture introduces paired observations, where the two samples are not independent because observations come in pairs that are naturally related. Natural pairing occurs when measurements are taken on the same unit at two different times, such as "before" and "after" measurements on the same individual.
For paired data, we compute the difference (d) between the two observations of each pair. The test statistic for testing whether the mean difference (μ_d) equals zero is:
t = (d̄ - μ_d) / (s_d/√n) = d̄ / (s_d/√n) when testing μ_d = 0
Where d̄ is the mean of the differences, s_d is the standard deviation of the differences, and n is the number of pairs.
Example: Ten young recruits underwent strenuous physical training. Their weights were recorded before and after training: Recruits 1-10: Before (125,195,160,171,140,201,170,176,195,139) and After (136,201,158,184,145,195,175,190,190,145) Using α = 0.05, determine if the program affects average weight. Assume normal distribution.
The test statistic is t = d̄/(s_d/√n), where d = weight after - weight before for each recruit.
⭐ Key Takeaways
The most critical concepts from this lecture are: the t-distribution is used for inference about means when σ² is unknown and n < 30, requiring normal population assumption. For comparing two independent means with unknown but equal variances, the pooled variance estimate combines both sample variances. The confidence interval for μ₁-μ₂ uses the t-distribution with n₁+n₂-2 degrees of freedom. Hypothesis testing follows the same logic but compares computed t to critical values. For paired observations, compute differences within each pair and test using the sample of differences with n-1 degrees of freedom. The key difference between independent and paired samples is that pairing reduces variability by controlling for individual differences, making it a more powerful test when applicable.
🧠 Quick Revision Questions
- What are the three conditions that require using the t-distribution instead of the normal distribution for inference about a population mean?
- In Example-1 (heights of animals), why was the conclusion "do not reject H₀" reached when the sample mean (67.8) was different from the hypothesized mean (66)?
- What is the formula for the pooled variance s_p², and when is it appropriate to use it?
- In the record company example, why did the confidence interval (-1.010, -0.188) lead to the conclusion that there is a significant difference between pop and semi-classical songs?
- What is the fundamental difference between independent samples and paired samples, and how does this affect the degrees of freedom for the t-test?
📘 Lecture 41 — Hypothesis-Testing Regarding Two Population Means in the Case of Paired Observations (t-distribution) • The Chi-square Distribution • Hypothesis Testing and Interval Estimation Regarding a Population Variance (based on Chi-square Distribution)
📖 Overview: This lecture continues the discussion of hypothesis-testing for two population means using paired observations, where natural or designed pairing eliminates unwanted variation. It then introduces the chi-square distribution, its properties, and its application in interval estimation and hypothesis-testing regarding a single population variance.
🗂️ Topics Covered
The lecture covers the paired difference t-test procedure with detailed examples, including computation of differences, test statistics, and confidence intervals. It then formally defines the chi-square distribution, lists its key properties (shape, mean, variance, moments), and demonstrates how to use chi-square tables for constructing confidence intervals and conducting hypothesis tests for population variance under normality assumptions.
📝 Lecture Summary
Hypothesis-Testing regarding Two Population Means in the Case of Paired Observations (t-distribution)
In many situations, pairing occurs naturally (e.g., before/after measurements on the same subject) or by design (e.g., pairing plots by soil type to eliminate extraneous effects). By taking observations in pairs, we remove undesirable sources of variation. The procedure treats the differences between paired observations as a random sample from a normal population with mean μd = μ1 – μ2 and unknown standard deviation σd, then performs a one-sample t-test on these differences. This is called a paired difference t-test or paired t-test.
🔑 Definition — Paired t-test: A hypothesis test that compares two population means by analyzing the differences between paired observations, treating these differences as a single sample.
📐 Formula: t = (d̄ – 0) / (sd / √n) = d̄ / (sd / √n) → The test statistic follows a t-distribution with n – 1 degrees of freedom.
📌 Example: Ten recruits had weights recorded before and after training. Data: Recruit 1: before 125, after 136 (d=11); Recruit 2: 195, 201 (d=6); Recruit 3: 160, 158 (d=-2); Recruit 4: 171, 184 (d=13); Recruit 5: 140, 145 (d=5); Recruit 6: 201, 195 (d=-6); Recruit 7: 170, 175 (d=5); Recruit 8: 176, 190 (d=14); Recruit 9: 195, 190 (d=-5); Recruit 10: 139, 145 (d=6). Σd = 47, Σd² = 673, n = 10. d̄ = 47/10 = 4.7. sd² = [673 – (47)²/10] / 9 = [673 – 220.9] / 9 = 452.1/9 = 50.23, so sd = √50.23 = 7.09. t = 4.7 / (7.09/√10) = (4.7 × 3.16) / 7.09 = 14.852 / 7.09 = 2.09. Critical region: |t| ≥ t0.025(9) = 2.262. Since 2.09 < 2.262, accept H0: μd = 0. Conclusion: Data do not provide sufficient evidence that the programme affects average weight.
Hypothesis-Testing Procedure Regarding Two Populations Means in the Case of Paired Observations
When observations from two samples are paired (naturally or by design), compute the difference d = x1 – x2 for each pair. The sample mean of differences is d̄ = Σd / n, and the sample standard deviation is sd = √[Σ(d – d̄)² / (n – 1)]. Under the assumptions that (1) differences form a random sample and (2) differences are normally distributed, the test statistic t = (d̄ – 0) / (sd/√n) follows a t-distribution with ν = n – 1 degrees of freedom. Testing H0: μ1 = μ2 is equivalent to testing H0: μd = 0.
📌 Example: Two varieties of wheat planted in 10 localities. Variety I: 45, 32, 58, 57, 60, 38, 47, 51, 42, 38. Variety II: 47, 34, 60, 59, 63, 44, 49, 53, 46, 41. Differences (I – II): -2, -2, -2, -2, -3, -6, -2, -2, -4, -3. Σd = -28, Σd² = 94, n = 10. d̄ = -28/10 = -2.8. sd² = [94 – (-28)²/10] / 9 = [94 – 784/10] / 9 = [94 – 78.4] / 9 = 15.6/9 = 1.7333, sd = √1.7333 = 1.32. t = -2.8 / (1.32/√10) = (-2.8 × 3.1623) / 1.32 = -8.85 / 1.32 = -6.71. Critical region (one-tailed, α=0.05): t < t0.05(9) = -1.833. Since -6.71 < -1.833, reject H0. Conclusion: Mean yield of variety-1 is less than variety-2. 90% confidence interval for μd: d̄ ± t0.05,9 × sd/√n = -2.8 ± 1.833 × (1.32/3.1623) = -2.8 ± 1.833 × 0.417 = -2.8 ± 0.765 → (-3.565, -2.035). 💡 Why this matters: Pairing by design (e.g., same locality for both varieties) eliminates extraneous factors like soil fertility, giving a more accurate comparison of the fertilizers themselves.
The Chi-square (χ²) Distribution
The chi-square distribution is a continuous distribution ranging from 0 to +∞ with one parameter ν (degrees of freedom). Its probability density function is f(x) = [1 / (2^(ν/2) Γ(ν/2))] × x^((ν/2)–1) × e^(–x/2), for 0 < x < ∞.
🔑 Definition — Chi-square distribution: A family of continuous probability distributions used primarily in statistical inference about population variances.
Properties of the Chi-Square Distribution:
- It is a continuous distribution ranging from 0 to +∞.
- The shape is determined by ν (degrees of freedom) — positively skewed, with skewness decreasing as ν increases.
- The curve tends to the normal distribution as ν approaches infinity.
- Mean = ν, Variance = 2ν.
- Moments about the origin: μ'₁ = ν, μ'₂ = ν(ν+2), μ'₃ = ν(ν+2)(ν+4), μ'₄ = ν(ν+2)(ν+4)(ν+6). Moment ratios: β₁ = 8/ν, β₂ = 3 + 12/ν.
Interval Estimation Regarding Population Variance (Based on Chi-square Distribution)
If X̄ and S² are the mean and variance of a random sample of size n from a normal population with variance σ², then the statistic χ² = Σ(Xi – X̄)² / σ² = nS² / σ² = (n-1)s² / σ² follows a chi-square distribution with (n – 1) degrees of freedom. The 100(1–α)% confidence interval for σ² is:
📐 Formula: Σ(Xi – X̄)² / χ²α/2, (n-1) < σ² < Σ(Xi – X̄)² / χ²1-α/2, (n-1)
📌 Example: Sample of n=8 students' marks: 9, 14, 10, 12, 7, 13, 11, 12. X̄ = (9+14+10+12+7+13+11+12)/8 = 88/8 = 11. Σ(Xi – X̄)² = (9-11)² + (14-11)² + (10-11)² + (12-11)² + (7-11)² + (13-11)² + (11-11)² + (12-11)² = 4+9+1+1+16+4+0+1 = 36. For 90% confidence (α=0.10), from chi-square table with 7 df: χ²0.05(7) = 14.07, χ²0.95(7) = 2.17. 90% CI for σ²: 36/14.07 < σ² < 36/2.17 → 2.56 < σ² < 16.61. Taking square roots: 1.6 < σ < 4.1. 💡 Why this matters: The confidence interval for variance is very wide with small samples, showing that σ cannot be estimated with much precision for n < 30.
Hypothesis Testing Regarding Population Variance (Based on Chi-square Distribution)
To test H0: σ² = σ²0 against H1: σ² > σ²0 (or other alternatives), compute χ² = nS² / σ²0. Under H0, this follows a chi-square distribution with (n–1) degrees of freedom, assuming normality.
📌 Example: Test H0: σ² = 25 vs H1: σ² > 25, with n=16, S²=31.5, α=0.05. χ² = (16 × 31.5) / 25 = 504/25 = 20.16. Critical region: χ² > χ²0.05(15) = 25.00. Since 20.16 < 25.00, accept H0. Conclusion: Reasonable evidence that σ² = 25.
⭐ Key Takeaways
The paired t-test treats differences as a single sample, testing H0: μd = 0 against various alternatives. The chi-square distribution is positively skewed, with mean = ν and variance = 2ν; its shape depends only on degrees of freedom. For inference on population variance (σ²) from a normal population, use χ² = (n-1)s²/σ² with (n-1) df. Confidence intervals for σ² are computed using chi-square critical values, and hypothesis tests compare the observed chi-square value to the upper or lower percentage points from the chi-square table. With small samples, variance estimation has wide confidence intervals and limited precision.
🧠 Quick Revision Questions
- What are the two assumptions required for the paired difference t-test?
- How do you compute the test statistic for testing H0: μd = 0?
- What is the mean and variance of a chi-square distribution with ν degrees of freedom?
- Write the formula for a 90% confidence interval for population variance σ².
- In hypothesis testing for variance, what critical region would you use for a one-tailed test where H1: σ² > σ²0 at α = 0.05?
📘 Lecture 42 — The F-Distribution
📖 Overview: This lecture introduces the F-distribution, its mathematical definition and properties, and demonstrates its use in statistical inference for comparing variances of two normal populations. It covers hypothesis testing and confidence interval estimation for the ratio of two population variances, building on earlier chi-square based tests for a single variance.
🗂️ Topics Covered
The lecture covers the F-distribution's mathematical definition and properties, followed by its application in constructing confidence intervals for the variance ratio of two normal populations. Hypothesis testing for equality of variances using the F-test is demonstrated with worked examples, including a test for greater variability between locations versus times in plankton data and a test for a specific variance ratio (1.25) for method comparision.
📝 Lecture Summary
The F-Distribution
The mathematical equation of the F-distribution is: $$f(x) = \frac{\Gamma[(v_1 + v_2)/2] (v_1/v_2)^{v_1/2} x^{(v_1/2)-1}}{\Gamma(v_1/2) \Gamma(v_2/2)[1 + (v_1 x / v_2)]^{(v_1+v_2)/2}}, \quad 0 < x < \infty$$
This distribution has two parameters, $v_1$ and $v_2$, which are the degrees of freedom of the F-distribution. It is usually abbreviated as $F(v_1, v_2)$, where $v_1$ is numerator degrees of freedom and $v_2$ is denominator degrees of freedom.
PROPERTIES OF F-DISTRIBUTION
- The F-distribution is a continuous distribution ranging from zero to plus infinity.
- The curve of the F-distribution is positively skewed. As the degrees of freedom $v_1$ and $v_2$ become large, the F-distribution approaches the normal distribution.
- For $v_2 > 2$, the mean of the F-distribution is $\frac{v_2}{v_2 - 2}$, which is greater than 1.
- For $v_2 > 4$, the variance of the F-distribution is $\sigma^2 = \frac{2v_2^2(v_1 + v_2 - 2)}{v_1(v_2 - 2)^2 (v_2 - 4)}$.
- The F-distribution for $v_1 > 2, v_2 > 2$ is unimodal, with the mode at $\frac{v_2(v_1 - 2)}{v_1(v_2 + 2)}$, which is always less than 1.
- If $F$ has an F-distribution with $v_1$ and $v_2$ degrees of freedom, then the reciprocal has an F-distribution with $v_2$ and $v_1$ degrees of freedom.
Tables of the F-distribution are provided for 5%, 2½%, and 1% right-tail areas. Separate tables exist for each significance level, with columns representing numerator degrees of freedom ($v_1$) and rows representing denominator degrees of freedom ($v_2$).
💡 Why this matters: The reciprocal property is crucial for obtaining lower-tail critical values from tables that only give upper-tail values—simply take the reciprocal of the corresponding value with degrees of freedom swapped.
Hypothesis Testing and Interval Estimation for Comparing Two Population Variances
CONFIDENCE INTERVAL FOR THE VARIANCE RATIO $\sigma_1^2 / \sigma_2^2$
Let two independent random samples of size $n_1$ and $n_2$ be taken from two normal populations with variances $\sigma_1^2$ and $\sigma_2^2$, and let $s_1^2$ and $s_2^2$ be the unbiased estimators of $\sigma_1^2$ and $\sigma_2^2$.
Then, the quantity $\frac{s_1^2 / \sigma_1^2}{s_2^2 / \sigma_2^2}$ has an F-distribution with $(n_1 - 1, n_2 - 1)$ degrees of freedom.
The confidence interval for $\sigma_1^2 / \sigma_2^2$ is given by: $$\left[ \frac{s_1^2}{s_2^2} \cdot \frac{1}{F_{\alpha/2}(n_1 - 1, n_2 - 1)}, \quad \frac{s_1^2}{s_2^2} \cdot F_{\alpha/2}(n_2 - 1, n_1 - 1) \right]$$
We can also find a confidence interval for $\sigma_1 / \sigma_2$ by taking the square root of the endpoints.
🔑 Definition — F-distribution for variance ratio: If $s_1^2$ and $s_2^2$ are unbiased sample variances from two independent normal populations, then $\frac{s_1^2 / \sigma_1^2}{s_2^2 / \sigma_2^2} \sim F(n_1 - 1, n_2 - 1)$.
📌 Example: A random sample of 12 salt-water fish had standard deviation $s_1 = 2.3$ inches. A sample of 10 fresh-water fish had $s_2 = 1.5$ inches. Find a 90% confidence interval for $\sigma_1^2 / \sigma_2^2$.
Solution: $s_1^2 = (2.3)^2 = 5.29$, $s_2^2 = (1.5)^2 = 2.25$ $n_1 - 1 = 11$, $n_2 - 1 = 9$ For 90% CI, $\alpha = 0.10$, so $\alpha/2 = 0.05$ $F_{0.05}(11, 9) = 3.1$ (obtained by interpolation: 3.23 for (8,9) and 3.07 for (12,9), mean of these with (10,9) = 3.15, mean with (11,9) = 3.11 ≈ 3.1) $F_{0.05}(9, 11) = 2.9$
90% CI = $\left[ \frac{5.29}{2.25} \cdot \frac{1}{3.1}, \frac{5.29}{2.25} \cdot 2.9 \right] = [0.76, 6.81]$
Taking square root, 90% CI for $\sigma_1 / \sigma_2$ is $(0.87, 2.61)$.
HYPOTHESIS TESTING FOR EQUALITY OF TWO VARIANCES
The test statistic for $H_0: \sigma_1^2 = \sigma_2^2$ is $F = \frac{s_1^2}{s_2^2}$ (with $s_1^2$ being the larger variance, typically placed in the numerator for a one-tailed test).
📌 Example: Series I (same place, 10 hauls): 80, 96, 102, 77, 97, 110, 99, 88, 103, 108. Series II (different places, 7 hauls): 74, 122, 92, 81, 104, 92, 92. Test at $\alpha = 0.05$ whether variability between places exceeds variability between times.
Solution: Step 1: $H_0: \sigma_1^2 \ge \sigma_2^2$ (time variability ≥ place variability); $H_A: \sigma_1^2 < \sigma_2^2$ (greater variability between places) Step 2: $\alpha = 0.05$ Step 3: Test statistic $F = \frac{s_2^2}{s_1^2}$ with $(n_2 - 1, n_1 - 1)$ degrees of freedom Step 4: Computations: $\sum X_1 = 960$, $\sum X_1^2 = 93276$, $n_1 = 10$ $s_1^2 = \frac{1}{9}[93276 - (960)^2/10] = \frac{1}{9}[93276 - 92160] = \frac{1116}{9} = 124$ $\sum X_2 = 657$, $\sum X_2^2 = 63129$, $n_2 = 7$ $s_2^2 = \frac{1}{6}[63129 - (657)^2/7] = \frac{1}{6}[63129 - 61664.14] = \frac{1464.86}{6} = 244.14$ $F = \frac{244.14}{124} = 1.97$ Step 5: Critical region (right-tailed): $F > F_{0.05}(6, 9) = 3.37$ Step 6: Since $1.97 < 3.37$, do not reject $H_0$. There is insufficient evidence of greater variability between different places.
TESTING FOR A SPECIFIC VARIANCE RATIO
If $H_0: \sigma_1^2 / \sigma_2^2 = k$, the test statistic is: $$F = \frac{s_1^2}{k \cdot s_2^2}$$ which has an F-distribution with $(n_1 - 1, n_2 - 1)$ degrees of freedom.
📌 Example: Method I variability should not exceed 125% of Method II variability. Sample: $n_1 = n_2 = 21$, $\sum (X_1 - \bar{X}_1)^2 = 720$, $\sum (X_2 - \bar{X}_2)^2 = 340$.
$H_0: \sigma_1^2 \le 1.25\sigma_2^2$ vs $H_1: \sigma_1^2 > 1.25\sigma_2^2$ $s_1^2 = 720/20 = 36$, $s_2^2 = 340/20 = 17$ $F = \frac{36}{1.25 \times 17} = \frac{36}{21.25} = 1.694$ Critical value: $F_{0.05}(20, 20) = 2.12$ (from table) Since $1.694 < 2.12$, do not reject $H_0$; Method I can be recommended.
⭐ Key Takeaways
The F-distribution is a continuous, positively skewed distribution used to compare two population variances by forming the ratio of their sample variances. Confidence intervals for the variance ratio require F-values from tables at $\alpha/2$, using interpolation if needed for missing degrees of freedom. In hypothesis testing, the ratio of the larger sample variance to the smaller one is the test statistic, and the alternative hypothesis determines whether to use a one-tailed or two-tailed test. When testing for a specific ratio $k$, the test statistic becomes $s_1^2/(k \cdot s_2^2)$, still following an F-distribution. Always verify the normality assumption before applying these procedures.
🧠 Quick Revision Questions
- What are the two parameters of the F-distribution called, and how do they relate to sample sizes?
- What property relates $F_{1-\alpha}(v_1, v_2)$ to $F_\alpha(v_2, v_1)$?
- In constructing a 90% confidence interval for $\sigma_1^2/\sigma_2^2$, which F-values are needed, and with what degrees of freedom?
- In the plankton example, why was the test statistic calculated as $s_2^2/s_1^2$ rather than $s_1^2/s_2^2$?
- How does the test statistic change when testing $H_0: \sigma_1^2/\sigma_2^2 = 1.25$ compared to testing $H_0: \sigma_1^2 = \sigma_2^2$?
📘 Lecture 43 — Analysis of Variance & Experimental Design
📖 Overview: This lecture introduces Analysis of Variance (ANOVA), a statistical procedure for testing the equality of several population means simultaneously, which avoids the inefficiency of conducting multiple two-sample t-tests. It also covers the fundamental concepts of Experimental Design, specifically the Completely Randomized (CR) Design and the Randomized Complete Block (RCB) Design, providing a step-by-step example of performing ANOVA for a CR design.
🗂️ Topics Covered
The lecture begins by explaining why multiple two-sample t-tests are inappropriate for comparing more than two means and introduces ANOVA as a solution. It defines experimental design and its components, then distinguishes between systematic and randomized designs. The Completely Randomized (CR) Design is explained in detail, including its definition, assumptions, and the construction and interpretation of the ANOVA table. The lecture concludes by introducing the Randomized Complete Block (RCB) Design and presenting an example for analysis.
📝 Lecture Summary
Analysis of Variance
Earlier, we compared two-population means using a two-sample t-test. However, comparing more than two population means simultaneously requires a simpler procedure. For k populations, there are k(k-1)/2 possible pairwise comparisons. For example, comparing 4 means requires 6 separate tests, and comparing 10 means requires 45 tests. This is tedious and time-consuming. The Analysis of Variance (ANOVA) , introduced by Sir R.A. Fisher, is a procedure that enables us to test the hypothesis of equality of several population means (H0: μ1 = μ2 = μ3 = ... = μk against HA: not all the means are equal) simultaneously.
Experimental Design
An experimental design is a plan used to collect data relevant to a problem in a way that provides a basis for valid and objective inference. The plan typically includes the selection of treatments, the specification of the experimental layout, and the assignment of treatments to experimental units.
There are two types of designs: Systematic and Randomized. This course focuses on randomized designs, for which analysis is carried out through Analysis of Variance. Two basic randomized designs are the Completely Randomized (CR) Design and the Randomized Complete Block (RCB) Design.
The Completely Randomized Design (CR Design)
A Completely Randomized (CR) design is the simplest type of basic design where treatments are assigned to experimental units completely at random, without any restrictions. This design is applicable when the entire experimental material is homogeneous (i.e., all experimental units are similar).
Example: An experiment was conducted to compare the yields of three varieties of potatoes (A, B, C). Each variety was assigned at random to equal-size plots, four times. The yields were as follows:
| Variety | A | B | C |
|---|---|---|---|
| 23 | 18 | 16 | |
| 26 | 28 | 25 | |
| 20 | 17 | 12 | |
| 17 | 21 | 14 |
Solution (Hypothesis-Testing Procedure): i) H0: μA = μB = μC ; HA: Not all three means are equal. ii) Level of Significance: α = 0.05 iii) Test Statistic: F = MSTreatments / MSError, which follows an F-distribution with ν1 = k-1 and ν2 = n-k.
Computation of the ANOVA Table: The ANOVA table for CR Design has columns for Source of Variation, d.f., Sum of Squares, Mean Square, and F.
- Sources of Variation:
- Total: The overall variation in all data values.
- Between treatments (SST): Variability between the means of the different treatments (e.g., different potato varieties).
- Within treatments (Error) (SSE): Variability within the data of the same treatment. This is also called error variation.
- Formulae:
- Correction Factor (C.F.):
C.F. = T..² / n - Total Sum of Squares (TSS):
TSS = ΣᵢΣⱼ Xᵢⱼ² - C.F. - Treatment Sum of Squares (SST):
SST = Σⱼ (T.ⱼ² / r) - C.F. - Error Sum of Squares (SSE):
SSE = TSS - SST - Degrees of Freedom: Total (n-1) = Treatment (k-1) + Error (n-k)
- Correction Factor (C.F.):
- Calculations:
- ΣᵢΣⱼ Xᵢⱼ² = 4953
- T.. = 237
- Σ T.ⱼ² = 18941
- C.F. = (237)² / 12 = 4680.75
- TSS = 4953 - 4680.75 = 272.25
- SST = (18941 / 4) - 4680.75 = 4735.25 - 4680.75 = 54.50
- SSE = 272.25 - 54.50 = 217.75
- MST = SST / (k-1) = 54.50 / 2 = 27.25
- MSE = SSE / (n-k) = 217.75 / 9 = 24.19
- Computed F = MST / MSE = 27.25 / 24.19 = 1.13
The completed ANOVA Table is:
| Source of Variation | d.f. | Sum of Squares | Mean Square | Computed F |
|---|---|---|---|---|
| Between treatments | 2 | 54.50 | 27.25 | 1.13 |
| Error | 9 | 217.75 | 24.19 | -- |
| Total | 11 | 272.25 | -- | -- |
v) Critical Region: For a right-tailed test: F > Fα (k-1, n-k). Here, F > F0.05 (2,9) = 4.26 vi) Conclusion: Since the computed F (1.13) does not fall in the critical region, we accept H0. There is no significant difference among the yielding capabilities of the three potato varieties.
💡 Why this matters: The ANOVA technique is valid under these assumptions:
- The k populations are normally distributed.
- All k populations have equal variances (homoscedasticity).
- The k samples are drawn randomly and independently.
The Randomized Complete Block Design (RCB Design)
A Randomized Complete Block (RCB) Design is used when the experimental material is not homogeneous overall. The material is divided into groups or blocks such that units within a block are relatively homogeneous. Each block contains a complete set of treatments, and treatments are allocated at random within each block. This design brings variability under control.
Example (for next lecture): In a feeding experiment, four types of rations (A, B, C, D) were given to animals in five groups (I, II, III, IV, V). The results (gain in weight in pounds) were:
| Groups | A | B | C | D |
|---|---|---|---|---|
| I | 32.3 | 33.3 | 30.8 | 29.3 |
| II | 34.0 | 33.0 | 34.3 | 26.0 |
| III | 34.3 | 36.3 | 35.3 | 29.8 |
| IV | 35.0 | 36.8 | 32.3 | 28.0 |
| V | 36.5 | 34.5 | 35.8 | 28.8 |
⭐ Key Takeaways
- Analysis of Variance (ANOVA) is the appropriate procedure for testing the equality of three or more population means, avoiding the inefficiency and inflated error rate of multiple two-sample t-tests.
- The Completely Randomized (CR) Design requires homogeneous experimental units and uses One-Way ANOVA to partition the total variation into variation between treatments (SST) and variation within treatments (Error, SSE) .
- The F-statistic is computed as
MST/MSE. A larger F value indicates greater evidence against the null hypothesis of equal means. - The ANOVA table is a structured way to organize the sums of squares, degrees of freedom, and mean squares needed to calculate the F-statistic. The total sum of squares equals the sum of treatment and error sums of squares.
- The Randomized Complete Block (RCB) Design is used when experimental units are not homogeneous; it groups them into blocks to control for extraneous variability and uses Two-Way ANOVA for analysis.
🧠 Quick Revision Questions
- What is the main disadvantage of using multiple two-sample t-tests to compare more than two population means, and how does Analysis of Variance (ANOVA) solve this problem?
- What are the key assumptions underlying the validity of the ANOVA technique for the Completely Randomized Design?
- In the ANOVA table for a CR design, what does the "Error" or "Within treatments" source of variation represent, and why is it important for the F-test?
- How is the test statistic F computed in a one-way ANOVA, and what does a large computed F-value suggest about the population means?
- In what practical scenario would a researcher choose a Randomized Complete Block (RCB) Design over a Completely Randomized (CR) Design?