What's New System Requirements Contact Sales: Arthur-Industrial-Systems@outlook.com
Home › Library › Hypothesis tests › Levene's and Bartlett's tests

Levene's and Bartlett's tests

Testing whether several groups have equal variances, with a robust option for non-normal data.

Several methods assume groups have equal variances. Two tests check this for any number of groups.

Bartlett's test

Bartlett's test is the best choice when the data are truly normal, but like the F-test it is sensitive to non-normality and can flag a shape difference as a spread difference.

Levene's test

Levene's test runs an ANOVA on the absolute distances of each value from its group center. The Brown-Forsythe variant uses distances from the group median, which makes it robust to skewed and heavy-tailed data. It is the usual default.

What to do with the result

  • No evidence of unequal variances: standard ANOVA or a pooled t-test is reasonable.
  • Unequal variances: use Welch's ANOVA or Welch's t-test. Also ask why spreads differ. A machine with twice the spread of the others may be the real finding.

A caution

A non-significant result does not prove the variances are equal, especially with small groups.

In RS-1

Stat > Equal Variances shows Bartlett's and Levene's tests with confidence intervals for each group's sigma.

See also

References

  1. Brown, M. B., and Forsythe, A. B. "Robust Tests for the Equality of Variances." Journal of the American Statistical Association 69, 1974.