This function extends
bartlett.test to a multivariate
response setting. It performs the Bartlett test of homogeneity of
variances for each of a set of response variables, and prints a
A data frame or matrix of numeric response variables in a multivariate linear model.
a vector or factor object giving the group for the corresponding elements of the rows of
other arguments, passed to
Bartlett's test is the univariate version of Box's M test for equality of covariance matrices. This function provides a univariate follow-up test to Box's M test to give one simple assessment of which response variables contribute to significant differences in variances among groups.
An object of classes "anova" and "data.frame", with one observation for each
response variable in
Bartlett, M. S. (1937). Properties of sufficiency and statistical tests. Proceedings of the Royal Society of London Series A, 160, 268-282.
boxM for Box's M test for all responses.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.