Navigation

Operators and Keywords

Function List:

C++ API

: [pval, chisq, df] = bartlett_test (x1, …)

Perform a Bartlett test for the homogeneity of variances in the data vectors x1, x2, …, xk, where k > 1.

Under the null of equal variances, the test statistic chisq approximately follows a chi-square distribution with df degrees of freedom.

The p-value (1 minus the CDF of this distribution at chisq) is returned in pval.

If no output argument is given, the p-value is displayed.

Package: octave