Bartlett's test

Statistical test used to test homoscedasticity

In statistics, Bartlett's test, named after Maurice Stevenson Bartlett,[1] is used to test homoscedasticity, that is, if multiple samples are from populations with equal variances.[2] Some statistical tests, such as the analysis of variance, assume that variances are equal across groups or samples, which can be checked with Bartlett's test.

In a Bartlett test, we construct the null and alternative hypothesis. For this purpose several test procedures have been devised. The test procedure due to M.S.E (Mean Square Error/Estimator) Bartlett test is represented here. This test procedure is based on the statistic whose sampling distribution is approximately a Chi-Square distribution with (k − 1) degrees of freedom, where k is the number of random samples, which may vary in size and are each drawn from independent normal distributions. Bartlett's test is sensitive to departures from normality. That is, if the samples come from non-normal distributions, then Bartlett's test may simply be testing for non-normality. Levene's test and the Brown–Forsythe test are alternatives to the Bartlett test that are less sensitive to departures from normality.[3]

Specification

Bartlett's test is used to test the null hypothesis, H0 that all k population variances are equal against the alternative that at least two are different.

If there are k samples with sizes n i {\displaystyle n_{i}} and sample variances S i 2 {\displaystyle S_{i}^{2}} then Bartlett's test statistic is

χ 2 = ( N k ) ln ( S p 2 ) i = 1 k ( n i 1 ) ln ( S i 2 ) 1 + 1 3 ( k 1 ) ( i = 1 k ( 1 n i 1 ) 1 N k ) {\displaystyle \chi ^{2}={\frac {(N-k)\ln(S_{p}^{2})-\sum _{i=1}^{k}(n_{i}-1)\ln(S_{i}^{2})}{1+{\frac {1}{3(k-1)}}\left(\sum _{i=1}^{k}({\frac {1}{n_{i}-1}})-{\frac {1}{N-k}}\right)}}}

where N = i = 1 k n i {\displaystyle N=\sum _{i=1}^{k}n_{i}} and S p 2 = 1 N k i ( n i 1 ) S i 2 {\displaystyle S_{p}^{2}={\frac {1}{N-k}}\sum _{i}(n_{i}-1)S_{i}^{2}} is the pooled estimate for the variance.

The test statistic has approximately a χ k 1 2 {\displaystyle \chi _{k-1}^{2}} distribution. Thus, the null hypothesis is rejected if χ 2 > χ k 1 , α 2 {\displaystyle \chi ^{2}>\chi _{k-1,\alpha }^{2}} (where χ k 1 , α 2 {\displaystyle \chi _{k-1,\alpha }^{2}} is the upper tail critical value for the χ k 1 2 {\displaystyle \chi _{k-1}^{2}} distribution).

Bartlett's test is a modification of the corresponding likelihood ratio test designed to make the approximation to the χ k 1 2 {\displaystyle \chi _{k-1}^{2}} distribution better (Bartlett, 1937).

Notes

The test statistics may be written in some sources with logarithms of base 10 as:[4]

χ 2 = 2.3026 ( N k ) log 10 ( S p 2 ) i = 1 k ( n i 1 ) log 10 ( S i 2 ) 1 + 1 3 ( k 1 ) ( i = 1 k ( 1 n i 1 ) 1 N k ) {\displaystyle \chi ^{2}=2.3026{\frac {(N-k)\log _{10}(S_{p}^{2})-\sum _{i=1}^{k}(n_{i}-1)\log _{10}(S_{i}^{2})}{1+{\frac {1}{3(k-1)}}\left(\sum _{i=1}^{k}({\frac {1}{n_{i}-1}})-{\frac {1}{N-k}}\right)}}}

See also

References

  1. ^ Bartlett, M. S. (1937). "Properties of sufficiency and statistical tests". Proceedings of the Royal Statistical Society, Series A 160, 268–282 JSTOR 96803
  2. ^ (see Snedecor, George W. and Cochran, William G. (1989), Statistical Methods, Eighth Edition, Iowa State University Press. ISBN 978-0-8138-1561-9
  3. ^ NIST/SEMATECH e-Handbook of Statistical Methods. Available online, URL: http://www.itl.nist.gov/div898/handbook/eda/section3/eda357.htm Archived 4 May 2020 at the Wayback Machine. Retrieved 31 December 2013.
  4. ^ F., Gunst, Richard; L., Hess, James (1 January 2003). Statistical design and analysis of experiments : with applications to engineering and science. Wiley. p. 98. ISBN 0471372161. OCLC 856653529.{{cite book}}: CS1 maint: multiple names: authors list (link)

External links

  • NIST page on Bartlett's test
  • v
  • t
  • e
Statistics
Descriptive statistics
Continuous data
Center
Dispersion
Shape
Count data
Summary tables
Dependence
Graphics
Study design
Survey methodology
Controlled experiments
Adaptive designs
Observational studies
Statistical theory
Frequentist inference
Point estimation
Interval estimation
Testing hypotheses
Parametric tests
Specific tests
  • Z-test (normal)
  • Student's t-test
  • F-test
Goodness of fit
Rank statistics
Bayesian inference
Correlation
Regression analysis
Linear regression
Non-standard predictors
Generalized linear model
Partition of variance
Categorical
Multivariate
Time-series
General
Specific tests
Time domain
Frequency domain
Survival
Survival function
Hazard function
Test
Biostatistics
Engineering statistics
Social statistics
Spatial statistics
  • Category
  • icon Mathematics portal
  • Commons
  • WikiProject