Tutorials › Multivariate Statistics (Graduate) › Wilks Lambda as a Determinant Ratio

MANOVA Criteria and Distributions · Tutorial 336 of 975

Wilks Lambda as a Determinant Ratio

See why Wilks’ lambda is a product of root contributions and how that product responds when hypothesis roots increase.

Advanced 10 min read

What You'll Learn

  • Define Wilks’ lambda from the MANOVA hypothesis and error sum-of-squares-and-cross-products matrices.
  • Derive the determinant-ratio and generalized-root product forms.
  • Check the determinant identity in diagonal and noncommuting matrix examples.
  • Interpret zero roots and the bounds on Wilks’ lambda.
  • Prove how increasing a root, or increasing the hypothesis matrix in positive-semidefinite order, affects the criterion.

Why a Determinant Ratio?

In MANOVA, a hypothesis concerns a collection of responses, so its effect is not summarized by a single scalar sum of squares. The hypothesis sum-of-squares-and-cross-products matrix \(H\) records variation attributed to the tested effect, while the error sum-of-squares-and-cross-products matrix \(E\) records residual variation. Wilks’ lambda compares the generalized volumes represented by these matrices. Its determinant form also makes the connection to the generalized roots exact.

The central identity is that the determinant ratio \(|E|/|E+H|\) equals a product of contributions from the MANOVA roots. A root near zero contributes a factor near one; a large root contributes a factor near zero. Thus the product decreases as any one root increases, with all other roots held fixed.

Definition and Conditions

Let there be \(p\) responses. Assume \(H\) is a symmetric positive-semidefinite \(p\times p\) hypothesis matrix and \(E\) is a symmetric positive-definite \(p\times p\) error matrix. Positive definiteness of \(E\) ensures that its determinant is positive and the generalized eigenvalue problem is well defined without restricting attention to a lower-dimensional subspace. Write \(|A|\) for the determinant of a square matrix \(A\).

Definition: The Wilks lambda criterion is \(\Lambda=|E|/|E+H|\). The MANOVA roots \(\lambda_1,\ldots,\lambda_p\) are the generalized eigenvalues satisfying \(|H-\lambda E|=0\), counted with algebraic multiplicity. Under the stated assumptions, all these roots are real and nonnegative.

To see why the roots have these properties, let \(E^{-1/2}\) denote the symmetric positive-definite inverse square root of \(E\), and define \(A=E^{-1/2}HE^{-1/2}\). This matrix is symmetric positive semidefinite: for every vector \(x\), \(x^\mathsf{T}Ax=(E^{-1/2}x)^\mathsf{T}H(E^{-1/2}x)\geq 0\). The generalized eigenvalues of \((H,E)\) are the ordinary eigenvalues of \(A\), so they are real and nonnegative. This symmetric representation is useful even when \(E^{-1}H\) itself is not symmetric.

From the Determinant Ratio to the Root Product

The determinant ratio and root product are two expressions for the same quantity. The proof uses the determinant’s multiplicative property and the eigenvalues of the symmetric matrix \(A\).

Theorem: If \(H\) is symmetric positive semidefinite and \(E\) is symmetric positive definite, then \(\Lambda=|E|/|E+H|=\prod_{i=1}^{p}(1+\lambda_i)^{-1}\). Consequently \(0<\Lambda\leq 1\), and \(\Lambda=1\) exactly when \(H=0\).

Proof. Factor \(E+H\) by a congruence involving \(E^{1/2}\):

$$ E+H=E^{1/2}\bigl(I+E^{-1/2}HE^{-1/2}\bigr)E^{1/2} =E^{1/2}(I+A)E^{1/2}. $$

Taking determinants and using \(|BCD|=|B||C||D|\) gives \(|E+H|=|E^{1/2}||I+A||E^{1/2}|=|E||I+A|\), since \(|E^{1/2}|^2=|E|\). Therefore \(\Lambda=1/|I+A|\). The eigenvalues of \(A\) are \(\lambda_1,\ldots,\lambda_p\), so the eigenvalues of \(I+A\) are \(1+\lambda_1,\ldots,1+\lambda_p\). The determinant is the product of the eigenvalues, giving

$$ \Lambda=\frac{1}{|I+A|} =\frac{1}{\prod_{i=1}^{p}(1+\lambda_i)} =\prod_{i=1}^{p}(1+\lambda_i)^{-1}. $$

Every factor is positive and at most one, so \(0<\Lambda\leq1\). The product equals one if and only if each \(\lambda_i=0\), which for a positive-semidefinite \(A\) is equivalent to \(A=0\), and hence to \(H=0\). \(\square\)

If \(H\) has rank \(q<p\), then exactly \(p-q\) roots are zero. Those roots contribute factors of one, so only the nonzero roots change the product. The determinant expression still uses all \(p\) response dimensions.

Worked Determinant Calculations

Worked Example: Diagonal Matrices and Two Nonzero Roots

Suppose \(E=\operatorname{diag}(4,9,1)\) and \(H=\operatorname{diag}(4,9,0)\). Find Wilks’ lambda from the determinant ratio and from the roots.

The determinant of \(E\) is \(4\cdot9\cdot1=36\). Also, \(E+H=\operatorname{diag}(8,18,1)\), so \(|E+H|=8\cdot18\cdot1=144\). Thus \(\Lambda=36/144=1/4\).

For diagonal \(H\) and \(E\), the generalized roots are the diagonal entries of \(E^{-1}H\). Here \(E^{-1}H=\operatorname{diag}(1,1,0)\), so the roots are \(1,1,0\). The product form gives \((1+1)^{-1}(1+1)^{-1}(1+0)^{-1}=1/4\), agreeing with the determinant calculation.

Worked Example: Roots When the Matrices Do Not Share Diagonal Axes

Let \(E=\begin{pmatrix}1&0\\0&2\end{pmatrix}\) and \(H=\begin{pmatrix}2&1\\1&2\end{pmatrix}\). The matrices are not both diagonal in the displayed coordinates. Compute the roots and verify the determinant ratio.

The generalized roots are the eigenvalues of \(E^{-1}H\), which is \(\begin{pmatrix}2&1\\1/2&1\end{pmatrix}\). Its characteristic polynomial is \(\lambda^2-3\lambda+3/2\), since its trace is \(3\) and its determinant is \(3/2\). Solving the quadratic gives \(\lambda_1=(3+\sqrt{3})/2\) and \(\lambda_2=(3-\sqrt{3})/2\). Both are positive.

The determinant ratio is \(|E|/|E+H|\). Here \(|E|=2\), while \(E+H=\begin{pmatrix}3&1\\1&4\end{pmatrix}\) has determinant \(3\cdot4-1\cdot1=11\). Therefore \(\Lambda=2/11\).

For the root product, \(\lambda_1+\lambda_2=3\) and \(\lambda_1\lambda_2=3/2\). Hence \((1+\lambda_1)(1+\lambda_2)=1+(\lambda_1+\lambda_2)+\lambda_1\lambda_2=1+3+3/2=11/2\). Taking the reciprocal gives \(\Lambda=2/11\), as required.

How Increasing Roots Changes Wilks’ Lambda

The product formula gives a direct interpretation of a root’s contribution. Holding all other roots fixed, increasing \(\lambda_j\) increases the denominator factor \(1+\lambda_j\), and therefore decreases \(\Lambda\). More precisely, for nonnegative roots,

$$ \frac{\partial\Lambda}{\partial\lambda_j} =-\frac{\Lambda}{1+\lambda_j}<0, \qquad \frac{\partial\log\Lambda}{\partial\lambda_j} =-\frac{1}{1+\lambda_j}<0. $$

The log-scale derivative describes the proportional response: a small increase \(d\lambda_j\) changes \(\log\Lambda\) by approximately \(-d\lambda_j/(1+\lambda_j)\). Thus a fixed small increase has a smaller proportional effect when the root is already large. This does not make a large root unimportant; its factor \((1+\lambda_j)^{-1}\) is already small.

Worked Example: Comparing the Effect of Root Increases

Consider two roots \((1,0)\). Wilks’ lambda is \((1+1)^{-1}(1+0)^{-1}=1/2\). Increase the first root from \(1\) to \(3\), leaving the second at zero. The new value is \(1/4\), a decrease of \(1/4\).

Now increase the first root from \(3\) to \(5\). The value changes from \(1/4\) to \(1/6\), a decrease of \(1/4-1/6=1/12\). Both increases in the root are two units, but the absolute decrease in \(\Lambda\) is smaller in the second comparison. The derivative calculation explains this pattern: with the other root fixed at zero, the derivative is \(-1/(1+\lambda_1)^2\), whose magnitude decreases as \(\lambda_1\) increases.

Monotonicity When the Hypothesis Matrix Increases

A matrix version of the same idea is useful when comparing two hypotheses with the same error matrix. For symmetric matrices, write \(H_2\succeq H_1\) when \(H_2-H_1\) is positive semidefinite. This means the increment adds nonnegative quadratic-form variation in every direction.

Theorem: Fix a symmetric positive-definite \(E\), and let \(H_1,H_2\) be symmetric positive semidefinite matrices with \(H_2\succeq H_1\). Then \(\Lambda(H_2)\leq\Lambda(H_1)\). If \(H_2-H_1\neq0\), the inequality is strict.

Proof. Put \(D=H_2-H_1\succeq0\), \(A=E^{-1/2}H_1E^{-1/2}\), and \(C=E^{-1/2}DE^{-1/2}\succeq0\). The determinant-ratio identity already proved gives \(\Lambda(H_1)=1/|I+A|\) and \(\Lambda(H_2)=1/|I+A+C|\).

Factor the second determinant as

$$ |I+A+C| =|I+A|\, \left|I+(I+A)^{-1/2}C(I+A)^{-1/2}\right|. $$

Indeed, the matrix inside the determinant is obtained by multiplying \(I+A+C\) on both sides by \((I+A)^{-1/2}\), and the two outside determinant factors contribute \(1/|I+A|\). The matrix \(K=(I+A)^{-1/2}C(I+A)^{-1/2}\) is positive semidefinite. Its eigenvalues \(\kappa_i\) are nonnegative, so \(|I+K|=\prod_i(1+\kappa_i)\geq1\). It follows that \(|I+A+C|\geq|I+A|\), and taking reciprocals yields \(\Lambda(H_2)\leq\Lambda(H_1)\). If \(D\neq0\), then \(C\neq0\) because congruence by the invertible matrix \(E^{-1/2}\) cannot map a nonzero matrix to zero. Thus \(K\neq0\), at least one \(\kappa_i>0\), and \(|I+K|>1\); the inequality is strict. \(\square\)

Interpretation and Common Pitfall

Wilks’ lambda is a dimensionless determinant ratio comparing the error matrix with the error-plus-hypothesis matrix. Under the stated conditions it lies in \((0,1]\). A value near one means the product of root contributions is near one; a smaller value means that one or more roots have made the product smaller. This is a statement about the criterion’s algebraic response, not by itself a significance conclusion: interpreting a value as evidence in a test requires an appropriate null distribution or calibration.

  • Pitfall: treating the roots as diagonal entries. In general, the roots are not the diagonal entries of \(H\), \(E\), or \(E^{-1}H\). They are generalized eigenvalues. The second worked example shows how to find them even when the displayed matrices are not diagonal.
  • Pitfall: reversing the ratio. The convention here is \(|E|/|E+H|\), not its reciprocal. Since \(H\succeq0\), the denominator determinant is at least the numerator determinant, consistent with \(0<\Lambda\leq1\).
  • Pitfall: assuming every root must be positive. If \(H\) is rank deficient, some roots are zero. Such roots contribute one to the product and do not change \(\Lambda\).
Key takeaway: With positive-definite \(E\) and positive-semidefinite \(H\), Wilks’ lambda is exactly \(\prod_i(1+\lambda_i)^{-1}\). Increasing any root decreases the criterion, and adding a nonzero positive-semidefinite increment to \(H\) decreases it strictly.

Check Your Understanding

Use the determinant ratio and root product together when possible.

  1. Why does positive definiteness of \(E\) ensure that the generalized roots are real and nonnegative?
  2. If the roots are \(2,0,0\), what is Wilks’ lambda, and which roots affect its value?
  3. For fixed values of all other roots, explain why \(\Lambda\) decreases when one root increases.
  4. Suppose \(H_2-H_1\) is positive semidefinite and nonzero while \(E\) is fixed. What inequality relates \(\Lambda(H_2)\) and \(\Lambda(H_1)\), and why is it strict?
  5. Why is it generally incorrect to read the MANOVA roots directly from the diagonal entries of \(H\) or \(E^{-1}H\)?
Clinical Biostats