Beruflich Dokumente
Kultur Dokumente
Description
Levene's test is used to assess Variance homogeneity, which is a precondition for parametric
tests such as the t-test and ANOVA.
The test can be used with two or more samples. With two samples, it provides the test of
variance homogeneity for the t-test. With more samples, it provides the test for ANOVA.
If the significance from this test is less than 0.05, then variances are significantly different and
parametric tests cannot be used (and a non-parametric test will probably have to be used).
Discussion
Levene's test works by testing the null hypothesis that the variances of the group are the same.
The output probability is the probability that at least one of the samples in the test has a
significantly different variance. If this is greater than a selected percentage (usually 5%) then it
is considered too great to be able to usefully apply parametric tests.
SPSS easily provides the Levene's test statistic for parametric tests that need it.
////////////////////////////
Trimmed means work best with heavy-tailed distributions like the Cauchy distribution.
For skewed distributions, or if you aren’t sure about the underlying shape of the distribution,
the median may be your best choice.
For symmetric and moderately tailed distributions, use the mean.
Levene’s test is built into most statistical software. For example, the Independent Samples T Test in
SPSS generates a “Levene’s Test for Equality of Variances” column as part of the output. The result from the
test is reported as a p-value, which you can compare to your alpha level for the test. If the p-value is larger
than the alpha level, then you can say that the null hypothesis stands — that the variances are equal; if the p-
value is smaller than the alpha level, then the implication is that the variances are unequal.
//////////////////////////////
Null Hypothesis
The null hypothesis for Levene's test is thatthe groups we're comparing all have
similar population variances.If this is true, we'll probably find slightly different
variances in our samples from these populations. However, very different sample
variances suggests that the population variances weren't equal after all. In this case
we'll reject the null hypothesis of equal population variances.
One approach to these data is comparing body fat percentages over the 3 groups
(placebo, thyroid, cortisol) for each week separately.* We can use an ANOVA for each
of the 4 body fat measurements. Since we've unequal sample sizes, we need to make
sure that each supplement group has the same variance on each of the 4
measurements first.
As we see, our ANOVA is based on sample sizes of 40, 20 and 20 for all 4 dependent
variables. Because they're not (roughly) equal, we do need the homogeneity of variance
assumption but it's not met by 2 variables.
In this case, we'll report some alternative results (Welch and Games-Howell) but these
are beyond the scope of this tutorial.
We therefore compute the absolute differences between all scores and their (group)
mean. The means of the absolute differences should be roughly equal over groups.
So technically, Levene's test is an ANOVA on the absolute differences. In other words:
we run an ANOVA (on absolute differences) to find out if we can run an ANOVA (on our
actual data).
If that just sounds too weird, then try running the syntax below. It does exactly what I
just explained.
Result
As we see, these ANOVA results are identical to Levene's test in the previous
output. I hope this clarifies why we report it as an ANOVA as well.
/////////////////////////