Multivariate analysis of variance 2026-10-14
Multivariate analysis of variance compares mean vectors of several groups while accounting for correlations between their response variables. In the one-way normal model, independent observations share a positive-definite covariance matrix. Put and . Under equal means, these matrices have independent Wishart distributions with degrees of freedom and , respectively. This follows by separating the Gaussian data into orthogonal within-group and between-group projections. The Wilks lambda statistic tests equality of the means using both matrices, rather than independently testing each coordinate.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 30 3 d Solution Created 2026-10-03 Updated 2026-10-14
Multivariate analysis of variance tests differences between group mean vectors when each experimental unit has several correlated responses. For independent -dimensional observations in groups, use a common positive-definite covariance matrix and the multivariate normal model . The null hypothesis is equality of all means.
Write , group means , and the size-weighted grand mean . The within-group and between-group scatter matrices areExpanding deviations about the group means yields total scatter , with zero cross terms. Under the null, orthogonal normal projections give independent Wishart distributions and .
With nonsingular , the Wilks lambda statistic iswhere the nonnegative are eigenvalues of . Maximizing the common covariance under the two mean models gives the likelihood ratio , so small indicates large group separation relative to within-group spread. For fixed and large group sizes, the Wilks theorem gives under the null; a finite-sample reference distribution can also be used.
The lower-right sketch shows two elongated groups whose centroid difference lies nearly across, rather than along, their long axes. Their correlation makes this multivariate separation much clearer than either marginal mean shift alone. Nonsingular linear rescaling changes and by congruence, leaving the determinant ratio unchanged. MANOVA measures mean separation against the full within-group covariance geometry. Its interpretation requires independent observations and an adequate common-covariance model; separate coordinatewise tests discard that geometry and raise multiple-testing issues.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 43 2 ii Solution Created 2026-10-03 Updated 2026-10-14
Let , and . Define the within-group and between-group scatter matrices byThe within-group and between-group scatter decomposition gives total scatter : in each group the residuals about sum to zero, so all cross terms vanish. Under unrestricted group means, the maximum-likelihood estimators are and . Under the common-mean null hypothesis, they are and .
For either fitted scatter matrix , substitution into the log-likelihood givessince . Thus the maximized likelihood ratio isA generalized likelihood-ratio test rejects for small , equivalentlyThe cutoff is chosen for the desired significance level. The determinant ratio itself is the Wilks lambda statistic. The derivation assumes is positive-definite, which for continuous normal samples requires enough within-group degrees of freedom, ; singular does not support this ordinary determinant-based test without a modified model.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 46 4 i Solution Created 2026-10-03 Updated 2026-10-14
Multivariate analysis of variance extends analysis of variance to vector responses. For example, a treatment may affect several correlated physiological measurements jointly. Separate univariate tests do not use the correlation geometry and require adjustment if they are interpreted as one multiple-testing procedure. A joint test asks whether group mean vectors differ in any direction.
In a one-way model, take independent , , , with a common positive-definite covariance. Put , and let and be group and overall sample means. The within-group and between-group scatter matrices areExpanding around each group mean makes the cross terms vanish, giving total scatter . To test , use the Wilks lambda statisticwhere solve the generalized eigenvalue problem and is nonsingular. Under the alternative, maximize the normal likelihood at the group means and covariance ; under the null, use the overall mean and covariance . Their likelihood ratio is , so small rejects equal means. Under the null, orthogonal projections of the Gaussian data give independent and , supplying its null calibration. Here is nonsingular almost surely when . Merely having more total observations than responses is not enough if group fitting consumes too many statistical degrees of freedom.
The test is invariant under a nonsingular linear change of response coordinates: both determinants acquire the same factor . The directions associated with large identify mean separation relative to residual variability. With one response it becomes the ordinary ANOVA F-test. With two groups, writing and , the version using Hotelling's T-squared statistic iswith . This formula demonstrates explicitly how the covariance weights a group difference.
The sketch shows hypothetical groups with strongly positively correlated responses and mean separation along their low-variance contrast. Marginal comparisons can look weak even when the joint comparison is informative. The ellipses represent individual-response covariance, not confidence regions for the means. Independence of observations, approximate multivariate normality and common covariance are substantive assumptions; outliers and unequal covariance can invalidate the usual calibration. Follow-up contrasts can identify the affected responses or groups, with appropriate multiplicity control. MANOVA uses shared covariance to test a multivariate mean difference, rather than testing unrelated coordinates in isolation.
