<< nan_anova Hypothesis Tests nan_signrank >>

NaN Toolbox >> NaN Toolbox > Hypothesis Tests > nan_barttest

nan_barttest

Bartlett test for homogeneity of variances

Calling Sequence

[pval, chisq, df] = nan_barttest (x1,x2,...,xn)

Parameters

pval:

p-value

Description

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 @var{chisq}) is returned in pval.

Authors


<< nan_anova Hypothesis Tests nan_signrank >>