Menu
numiqo
Statistics made easy

Statistics made easy

8th revised edition (March 2026) - many illustrative examples - only €8.99

Free sample

Levene Test

Author: Dr. Hannah Volk-Jesussek
Updated:

What is the Levene Test?

Many statistical testing procedures require equal variance in the samples. How can we check whether the variances are homogeneous, i.e. whether there is equality of variance? This is where the Levene test helps. The Levene test checks whether several groups have the same variance in the population.

Levene's test is therefore used to test the null hypothesis that the populations from which the groups were sampled have the same variance. Even if the population variances are equal, the sample variances will usually differ somewhat because of random sampling.

Levene-Test

If the p-value for the Levene test is greater than .05, there is not enough evidence to conclude that the population variances differ. If the p-value is less than .05, there is evidence that at least one population variance differs. A non-significant result does not prove that the variances are exactly equal.

  • H0: The population variances are equal across groups.
  • H1: At least one population variance differs.

It is important to note that the mean values of the individual groups have no influence on the result; they may differ. A major advantage of Levene's test is that it is more robust to departures from normality than some other variance tests. The original test uses deviations from each group mean. A common variant, often called the Brown-Forsythe test, uses deviations from each group median and is generally more robust when distributions are skewed or contain outliers.

Variability can also be compared graphically with a grouped box plot. Such a plot is useful as a visual check, but it does not replace the formal test.

Assumptions for the Levene test

The Levene test has two basic assumptions:

First, the observations must be independent, meaning that the values in one group are not influenced by or related to the values in another group or to repeated measurements from the same individuals.

Second, the variable being tested should be measured on a metric scale, so that meaningful distances between values exist.

When these assumptions are met, Levene's test assesses whether the data provide evidence that the group variances differ.

Levene Test Example

In this fictitious example, you conducted a survey among students to find out how many cups of coffee they drink per week. Now you want to know whether the variances of the three fields of study are the same and calculate a Levene test for this.

Math History Psychology
21 18 17
23 22 16
17 19 23
11 26 7
9 13 26
27 24 9
22 23 25
12 17 21
20 21 14
4 15 20

To calculate the Levene test, simply copy the upper table into the table in the Statistics Calculator and then click on Hypothesis tests. Now you just need to select the three variables Math, History, and Psychology and an ANOVA will be calculated. Here you will also find a calculated Levene test.

As a result you get two tables and a box plot. The first table describes the variables descriptively and you can read the standard deviation of each variable.

Levene-Test Variance

The box plot helps you compare the spread of the three groups visually.

Levene-Test Boxplot

After the box plot you will now get the table with the Levene test statistics. In this table, the p-value is the most important value. If it is above 0.05, the test has not found sufficient evidence that the population variances differ.

Levene-Test Example

Therefore you can easily calculate a Levene test for equality of variances. If the p-value is less than 0.05, the available data provide evidence of unequal population variances. For comparisons of means, a method that does not assume equal variances, such as Welch's t-test or Welch's ANOVA, may then be appropriate.

Interpreting the Levene Test

The degree of freedom df1 is obtained by calculating the number of groups minus 1, the degree of freedom df2 is obtained by calculating the number of cases minus the number of groups. In this example the significance of 0.153 is greater than the defined significance level of 5%.

Interpreting-Levene-Test

The null hypothesis is therefore not rejected. The result does not provide sufficient evidence that the population variances differ, but it does not prove that they are exactly equal.


Statistics made easy

  • many illustrative examples
  • ideal for exams and theses
  • statistics made easy on 464 pages
  • 8th revised edition (March 2026)

Only €8.99

Free sample
numiqo

"Super simple written"

"It could not be simpler"

"So many helpful examples"

Cite numiqo: numiqo Team (2026). numiqo: Online Statistics Calculator. numiqo e.U. Graz, Austria. URL https://numiqo.com