← View in Interactive Graph

3.2 two sample Hypothesis Testing for Variance (F - test)

🧠 Purpose

The F-test is used to compare the variances of two independent samples to determine if they come from populations with equal variances.

Common applications: - Testing homogeneity of variance - Validating assumptions before using parametric tests (e.g. t-tests)

📐 Hypotheses


🧮 Test Statistic

The F-statistic is calculated as:

F = \frac{s_1^2}{s_2^2}

Where: - s_1^2: variance of the first sample (larger variance usually goes in the numerator) - s_2^2: variance of the second sample

⚠️ Always put the larger sample variance in the numerator to ensure F \geq 1


🎯 Distribution

df_1 = n_1 - 1, \quad df_2 = n_2 - 1

📋 Example

Sample A: s_1^2 = 25, n_1 = 16
Sample B: s_2^2 = 10, n_2 = 21

Step 1: Compute F

F = \frac{25}{10} = 2.5

Step 2: Degrees of Freedom

Step 3: Conclusion

Compare F = 2.5 with the critical value from the F-distribution table for df_1 = 15, df_2 = 20, and your significance level (e.g., \alpha = 0.05).

If F exceeds the critical value, reject H_0 — variances are significantly different.

From F - distribution table, we got F_{crit}= 3.50,F =2.5,

\therefore F <F_{crit} , we felt to reject H_0



Tags: #math #statistics

Hypothesis_Testing_and_PValues