The Bartlett test calculator gives the Bartlett statistic, the p-value and the pooled standard deviation for three groups, to check whether their variances can be treated as equal.
How the calculation works
- Enter the size and the standard deviation of each of the three groups.
- The calculator pools the variances and builds the corrected statistic.
- It gives the statistic, the p-value on 2 degrees of freedom, the pooled standard deviation and the ratio of the extreme standard deviations.
Example
Groups of 12, 15 and 10 with standard deviations of 4.2, 5.1 and 3.8 have a pooled variance of 4.499². The Bartlett statistic is 0.998 with 2 degrees of freedom, so the p-value is 0.6071. The ratio of the largest to the smallest standard deviation is 1.34.
Why it matters
The calculator helps students, researchers and quality engineers to check the equal variance assumption before an ANOVA or a pooled t-test, using only the summary statistics of the groups.
Good to know
A common rule of thumb says that the assumption is fine when the largest standard deviation is less than twice the smallest, and the calculator shows this ratio. The Bartlett test is the most powerful test of equal variances when the data are truly normal, but it is fragile otherwise, so look at a histogram or a normal plot first. With very large samples, even a small and harmless difference becomes significant, so combine the p-value with the ratio and with the effect on your conclusions. For two groups only, the F test of two variances is the usual choice. The calculator handles three groups, and the formula extends to more groups by adding terms.
Related tools
The Welch ANOVA calculator compares means when variances differ, the ANOVA calculator assumes equal variances, the chi-square distribution calculator gives the p-values and the control chart limits calculator monitors a process.