e-Statistics

Test for Homogeneity

Here the homogeneity (equality) of the population variances $ \sigma_1^2, \sigma_2^2, \ldots, \sigma_k^2$ from k groups is tested. The hypothesis testing problem evaluates the null hypothesis

$\displaystyle H_0: \sigma_1^2 = \sigma_2^2 = \cdots = \sigma_k^2
$

Here we introduce two test procedures—Hartley's maximum F-ratio test and Levine's test, and choose in the following procedure.

Let $ X_{i1}, X_{i2}, \ldots, X_{in_i}$ be the data from the i-th group, and let $ m_i$ be the sample median of the i-th group. In the test procedure we set $ Z_{ij} = X_{ij}$ for the Hartley's test, whereas, we have to set $ Z_{ij} = \vert X_{ij} - m_i\vert$ when the Levine's test is considered. Then the test procedure uses the sample mean $ \displaystyle
\bar{Z}_{i\cdot} = \frac{1}{n_i} \sum_{j=1}^{n_i} Z_{ij}$ and the sample variance $ \displaystyle
s_i^2 = \frac{1}{n_i-1} \sum_{j=1}^{n_i} (Z_{ij} - \bar{Z}_{i\cdot})^2$ within group for every factor level $ i = 1,\ldots,k$.

The data from $ k$ 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 above summary statistics are used to calculate the test statistic and the p-value . By rejecting $ H_0$ we can find evidence of heterogeneous variances (that is, we can support the alternative hypothesis $ H_A$ that the population variances are not equal).


© TTU Mathematics