Levene’s Test for the Equality of Two Variances

Levene’s Test for the Equality of Two Variances
Purpose: To test if two population variances are equal.
Assumptions:
- If two populations are normal → F-test
- If two populations are not normal → Levene’s Test
We use this test the equality of variances for two or more groups.
- The Levene’s Test is preferred over the F-test because it may not be appropriate to assume that the two population populations are normal.
- The F-test is not robust because it uses means (appropriate for normal populations). The Levene’s Test is robust because it uses medians (appropriate for non-normal populations).
Hypotheses:
Ho:σ12=σ22 “The two populations have equal variances.”
Ha:σ12=σ22 “The two populations do not have equal variances.”
Steps to Conduct Levene's Test
- Find the sample medians X~i for each group.
- Subtract the associated median for the data for each sample.
- Take the absolute values from all the differences. Then solve for the means of the absolute values for each sample.
- Perform a two-tailed pooled t-test to compare the means.
- Find the p-value based on the t-test statistic and df = n1 + n2 − 2.
- Draw your conclusion.

Example: Levene’s Test for the Equality of Two Variances
We wish to compare variances of women and men. We cannot assume that the populations are normal. Conduct a Levene's with a 10% significance level.
- The median for women is 105.5.
- The median for men is 69.5.
- There are 34 women and 26 men in the respective samples.

Using the pooled/equal variances t-test method:
xˉ1 =37.35, xˉ2=46.19
s1=24.31 , s2=28.55
n1=34 , n2=26
Plug sp into the t formula:
Degrees of freedom:
df=n1+n2−2 =34+26−2=58
Find the range of p-values. (Use the closest available df provided in the table.)

Pooled variance (t=-1.29, df=58 →50) *More conservative to round down the df.*
- From t-table, 0.2< p-value <0.3
Draw your conclusion. Based on the Levene's T-test, is there evidence that the variances are different?
p-value >0.10 → Fail to reject Ho.
- At the 10% level of significance, we do not have enough evidence to reject Ho.
- There is no evidence that the variances are not equal.
Minitab for 2-sample pooled t-test:

- p-value = 0.201
- The p-value is large>0.1→ Fail to reject Ho
- There is no evidence that the variances are not equal.
Portions of information contained in this publication/book are printed with permission of Minitab, LLC. All such material remains the exclusive property and copyright of Minitab, LLC. All rights reserved.
Minitab for Levene's Test for Two Variances:

- p-value = 0.201 (same p-value as the 2-sample t-test!)
- The p-value is large>0.1→ Fail to reject Ho
- There is no evidence that the variances are not equal.
Portions of information contained in this publication/book are printed with permission of Minitab, LLC. All such material remains the exclusive property and copyright of Minitab, LLC. All rights reserved.