Tools for Multivariate Analysis (Statistics Toolbox NOT Required)


Updated 15 Apr 2010

View License

MANCOVAN provides a suite of tools for testing for group, group-group interaction, covariate, covariate-covariate interaction, and group-covariate interaction effects in the context of a multivariate response and it does so without using the Statistics Toolbox. Because MANCOVAN represents such a general model, it can be used for ANOVA, ANOVAN, ANCOVA, ANCOVAN, MANOVA, MANOVAN, and MANCOVA as well without loss of power or precision. In addition to MANCOVAN, this suite of tools includes MSTEPWISE for multivariate stepwise regression, MT for t-tests among levels of a group or for the slope of the regression line associated with a covariate, a variety of functions for creating and using custom design matrices, and plenty of examples.

Cite As

William Gruner (2023). MANCOVAN (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Fixed a bug in mStepwise.m that sometimes caused p-values to be returned in sorted order, made the canonical coding of the design matrix described in mG2X.m the default, and added options for sigma-restricted and over-determined coding.

Revision 492 uses a sigma-restricted coding scheme to generate design matrices because the resulting regression coefficients are much easier to interpret. It also includes several improvements to the t-test engine, mT.m.

These tools are now compatible with GNU Octave Version 3.2.2. In addition, the way mStepwise.m removes terms has been improved and a few convenience functions have been added for finding and using model terms.

Removed the temp parent directory from the ZIP file.

This update replaces the single function, MANCOVAN, with a suite of tools that not only implement this model, but also provide multivariate stepwise regression, t-tests, customization of the design matrix, and much more.

Changed ANCOVA to ANCOVAN in the description.

Added options to test for covariate-covariate and group-covariate interactions, an option to print figures to PDF, and a debug mode that interactively displays the full and reduced design matrices associated with each test.

Removed the dependence on the Statistics Toolbox. This means that ANOVA, ANCOVA, ANOVAN, ANCOVAN, MANOVA, MANCOVA, MANOVAN, and MANCOVAN can all be performed with a single function with no dependencies other than Matlab itself.

Added an option to evaluate group-group interactions and added additional figures, verbose output, and comments. Confirmed that the values returned in pANCOVA are identical to those returned by anovan in the absence of covariates.

The Bayesian information criterion and SVD results can now be recovered as part of the output and a myriad of useful publication-quality graphics may now be generated automatically. See the help text for details.

Added an automatic dimensionality-reduction step based on the Bayesian information criterion for cases in which the number of columns of Y exceed the number of rows by a number that causes the test statistic to fail.