Used to compare the variability (spread) of two populations.
It checks whether the two population variances are equal or significantly different.
Typical use:
• To test the assumption of equal variances before applying a pooled t-test.
• To check if two machines, processes, or samples have similar consistency.
Let
σ12=variance of population 1,σ22=variance of population 2
Then:
H0:σ12=σ22
Alternative hypothesis depends on the problem:
H1:σ12=σ22(two-tailed)
H1:σ12>σ22(right-tailed)
H1:σ12<σ22(left-tailed)
When μ is unknown, xˉ is used as an estimate.
When sample size is small (n<30):
s2=n−11i=1∑n(xi−μ)2
When sample is large:
s2=n1i=1∑n(xi−μ)2
The test statistic is:
| Small Sample | Large Sample |
|---|
| μ is known | σ2(n−1)s2∼χn2 | σ2ns2∼χn2 |
| μ is unknown | σ2(n−1)s2∼χn−12 | σ2ns2∼χn−12 |