Class Bartlett


  • public class Bartlett
    extends HypothesisTest
    Bartlett's test is used to test if k samples are from populations with equal variances, hence homoscedasticity. Some statistical tests, for example ANOVA, assume that variances are equal across groups or samples. A homoscedasticity test, such as the Bartlett test, can be used to verify that assumption. 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. The Levene and BrownForsythe tests are alternatives to the Bartlett test that are less sensitive to departures from normality.

    The R equivalent function is bartlett.test.

    See Also: