Test for Homogeneity
Here the homogeneity (equality) of the population variances from k groups
is tested.
The hypothesis testing problem evaluates the null hypothesis
 from k groups
is tested.
The hypothesis testing problem evaluates the null hypothesis
 
Let 
 be
the data from the i-th group,
and let
 be
the data from the i-th group,
and let  be the sample median of the i-th group.
In the test procedure
we set
 be the sample median of the i-th group.
In the test procedure
we set 
 for the Hartley's test,
whereas, we have to set
 for the Hartley's test,
whereas, we have to set 
 when the Levine's test is considered.
Then the test procedure uses the sample mean
 when the Levine's test is considered.
Then the test procedure uses the sample mean
 and the sample variance
and the sample variance
 within group for every factor level
within group for every factor level 
 .
.
The data from  groups are arranged
in multiple columns each of whom represents a factor level.
Or,
Here a single measurement column (specified above) is grouped by another column (specified here)
indicating factor levels.
 groups are arranged
in multiple columns each of whom represents a factor level.
Or,
Here a single measurement column (specified above) is grouped by another column (specified here)
indicating factor levels.
- The Hartley's test requires the normality assumption and
the same sample size 
 (but the test can be performed even if the sample sizes are not equal).
The test statistic is built on the maximum F-ratio (but the test can be performed even if the sample sizes are not equal).
The test statistic is built on the maximum F-ratio of the largest of the largest to the smallest to the smallest of
k sample variances. of
k sample variances.
- The Levine's test does not require the same sample size, and works reasonably even if the normality assumption does not hold. The Levine's test uses the test statistic constructed for analysis of variance in essence.
The above summary statistics are used to calculate the test statistic
and the p-value
.
By rejecting  we can find evidence of heterogeneous variances
(that is, we can support the alternative hypothesis
 we can find evidence of heterogeneous variances
(that is, we can support the alternative hypothesis  that the
population variances are not equal).
 that the
population variances are not equal).
© TTU Mathematics
