Levene’s Test

From GM-RKB
(Redirected from Levene's test)
Jump to navigation Jump to search

A Levene’s Test is a statistical testing of the null hypothesis that states the population variances are equal.



References

2016

  • (Wikipedia, 2016) ⇒ http://www.wikiwand.com/en/Levene%27s_test Retrieved 2016-07-30
    • In statistics, Levene's test is an inferential statistic used to assess the equality of variances for a variable calculated for two or more groups. Some common statistical procedures assume that variances of the populations from which different samples are drawn are equal. Levene's test assesses this assumption. It tests the null hypothesis that the population variances are equal (called homogeneity of variance or homoscedasticity). If the resulting p-value of Levene's test is less than some significance level (typically 0.05), the obtained differences in sample variances are unlikely to have occurred based on random sampling from a population with equal variances. Thus, the null hypothesis of equal variances is rejected and it is concluded that there is a difference between the variances in the population.

      Some of the procedures typically assuming homoscedasticity, for which one can use Levene's tests, include analysis of variance and t-tests.

      Levene's test is often used before a comparison of means. When Levene's test shows significance, one should switch to more generalized tests that is free from homoscedasticity assumptions (sometimes even non-parametric tests).

      Levene's test may also be used as a main test for answering a stand-alone question of whether two sub-samples in a given population have equal or different variances.

Definition
The test statistic, W, is defined as follows:
[math]\displaystyle{ W = \frac{(N-k)}{(k-1)} \frac{\sum_{i=1}^k N_i (Z_{i\cdot}-Z_{\cdot\cdot})^2} {\sum_{i=1}^k \sum_{j=1}^{N_i} (Z_{ij}-Z_{i\cdot})^2}, }[/math]
where
  • [math]\displaystyle{ W }[/math] is the result of the test,
  • [math]\displaystyle{ k }[/math] is the number of different groups to which the sampled cases belong,
  • [math]\displaystyle{ N }[/math] is the total number of cases in all groups,
  • [math]\displaystyle{ N_i }[/math] is the number of cases in the [math]\displaystyle{ i }[/math]th group,
  • [math]\displaystyle{ Y_{ij} }[/math] is the value of the measured variable for the[math]\displaystyle{ j }[/math]th case from the [math]\displaystyle{ i }[/math]th group,
  • [math]\displaystyle{ Z_{ij} = \begin{cases} |Y_{ij} - \bar{Y}_{i\cdot}|, & \bar{Y}_{i\cdot} \text{ is a mean of the } i\text{-th group}, \\ |Y_{ij} - \tilde{Y}_{i\cdot}|, & \tilde{Y}_{i\cdot} \text{ is a median of the } i\text{-th group}. \end{cases} }[/math]