From Observed Roots to a Calibrated Test
A MANOVA calculation does not end when the hypothesis and error sums-of-squares-and-cross-products matrices have been reduced to their roots. Those roots summarize the separation attributed to the hypothesis relative to residual variation; a criterion such as Wilks’ lambda or Pillai’s trace then compresses the root spectrum to one number. To assess that number, one needs a reference distribution and its degrees of freedom.
This tutorial works through that calibration. The F transformations below are approximations in the general multivariate case, not a claim that every criterion has an exact F null distribution. The exact reductions in special cases are distinct. Throughout, let \(p\) be the response dimension, \(h\) the rank of the tested hypothesis, \(v\) the error degrees of freedom, and \(\lambda_1,\ldots,\lambda_s\) the MANOVA roots, counted with multiplicity and including any zero roots, where \(s=\min(p,h)\). Under the usual nonsingular error-matrix setup, these roots are nonnegative.
Reference F Calibrations
For the common F approximations below, define \(s=\min(p,h)\), \(r=\max(p,h)\), \(m=(|p-h|-1)/2\), and \(n=(v-p-1)/2\). The formulas require positive reference degrees of freedom; for Wilks’ Rao approximation, the displayed \(t\) must also be defined and positive. These transformations are used with the observed criteria to obtain an F statistic and its reference degrees of freedom.
Pillai: \(F=\dfrac{2n+s+1}{2m+s+1}\dfrac{V}{s-V}\), with \(d_1=s(2m+s+1)\) and \(d_2=s(2n+s+1)\).
Hotelling–Lawley: \(F=\dfrac{2n+s+1}{s(2m+s+1)}T\), with \(d_1=s(2m+s+1)\) and \(d_2=s(2n+s+1)\).
Wilks (Rao approximation): Set \(t=\sqrt{\dfrac{p^2h^2-4}{p^2+h^2-5}}\), \(d_1=ph\), and \(d_2=t\left(v-\dfrac{p-h+1}{2}\right)-\dfrac{ph-2}{2}\). Then \(F=\dfrac{1-\Lambda^{1/t}}{\Lambda^{1/t}}\dfrac{d_2}{d_1}\).
Roy (upper-bound F calibration): Set \(d_1=r\), \(d_2=v-r+1\), and \(F=\dfrac{d_2}{d_1}\dfrac{\theta}{1+\theta}\).
The formulas are not interchangeable: each uses its own criterion and, in general, its own degrees of freedom. In particular, do not infer a reference distribution from the numerical size of a criterion alone. Once a transformation gives \(F_{\mathrm{obs}}\) with degrees of freedom \(d_1,d_2\), the approximate p-value is the upper-tail probability \(P(F_{d_1,d_2}\geq F_{\mathrm{obs}})\).
Turning an F Statistic into a p-Value
The F tail can be written using the regularized incomplete beta function \(I_x(a,b)\). This provides a precise expression for the p-value and is also a useful check on numerical software.
\(P(F\geq f)=I_x(d_2/2,d_1/2)\), where \(x=\dfrac{d_2}{d_2+d_1f}\).
Proof. The standard F-to-beta transformation says that \(U=d_1F/(d_1F+d_2)\) has a beta distribution with parameters \(d_1/2,d_2/2\). The event \(F\geq f\) is equivalent, since the transformation is increasing, to \(U\geq u\), where \(u=d_1f/(d_1f+d_2)\). Therefore its probability is \(1-I_u(d_1/2,d_2/2)\). The beta symmetry identity \(1-I_u(a,b)=I_{1-u}(b,a)\) gives the result because \(1-u=d_2/(d_2+d_1f)=x\). \(\square\)
The beta expression is an exact way to evaluate the tail of the chosen F reference distribution. It does not make the MANOVA calibration itself exact: when the F transformation is approximate, the resulting MANOVA p-value remains approximate.
Worked Calibration From One Root Spectrum
Worked Example: Four Criteria for Two Observed Roots
Suppose \(p=3\), \(h=2\), \(v=40\), and the observed roots are \(0.8\) and \(0.2\). Calculate all four criteria, their stated F calibrations, and p-values in beta-function form.
First calculate the criteria. Wilks’ lambda is \(\Lambda=(1.8)^{-1}(1.2)^{-1}=1/2.16=25/54\). Pillai’s trace is \(V=0.8/1.8+0.2/1.2=4/9+1/6=11/18\). The Hotelling–Lawley trace is \(T=0.8+0.2=1\), and Roy’s largest root is \(\theta=0.8=4/5\).
Pillai calibration. Here \(s=2\), \(m=0\), and \(n=(40-3-1)/2=18\). Thus \(d_1=2(0+2+1)=6\) and \(d_2=2(36+2+1)=78\). The multiplier is \(39/3=13\), so \(F=13(11/18)/(2-11/18)=13(11/25)=143/25=5.72\). The p-value is \(I_{78/(78+6(143/25))}(39,3)=I_{325/468}(39,3)\).
Hotelling–Lawley calibration. The same degrees of freedom apply. The multiplier on \(T\) is \(39/[2(3)]=6.5\), so \(F=6.5\), with \(d_1=6,d_2=78\). Its p-value is \(I_{78/(78+6(6.5))}(39,3)=I_{2/3}(39,3)\).
Wilks calibration. Here \(t=\sqrt{(3^2 2^2-4)/(3^2+2^2-5)}=\sqrt{32/8}=2\), \(d_1=ph=6\), and \(d_2=2[40-(3-2+1)/2]-(6-2)/2=78-2=76\). Since \(\Lambda^{1/t}=\sqrt{25/54}=5/(3\sqrt{6})\), the calibrated statistic is \(F=(1-5/(3\sqrt{6}))/(5/(3\sqrt{6}))\times 76/6\), approximately \(5.95\). Its p-value is \(I_{76/(76+6F)}(38,3)\), using this calculated \(F\).
Roy calibration. Here \(r=3\), so \(d_1=3\) and \(d_2=40-3+1=38\). Therefore \(F=(38/3)(4/5)/(1+4/5)=152/27\), approximately \(5.63\). The p-value is \(I_{38/(38+3(152/27))}(19,3/2)=I_{171/247}(19,3/2)\).
The expressions in terms of \(I_x(a,b)\) are the p-values for the respective reference F distributions. They can be evaluated numerically with a beta-CDF routine. Their different degrees of freedom matter: comparing only the four F numbers would not compare their tail probabilities correctly.
Worked Tail Calculations and Numerical Checks
For \(F_{4,40}\), the beta-tail expression simplifies because the beta parameters in the upper-tail form are \(20\) and \(2\). Specifically, \(I_z(20,2)=z^{20}(21-20z)\), where \(z=40/(40+4f)\). This closed form makes a useful check on reported probabilities.
Worked Example: Tail Probability for an F Statistic of 4.40
Suppose a calibration has produced \(F_{\mathrm{obs}}=4.40\) with \(d_1=4,d_2=40\). The beta argument is \(z=40/(40+4(4.40))=40/57.6=25/36\). Therefore the upper-tail probability is \(I_{25/36}(20,2)=(25/36)^{20}[21-20(25/36)]\). The bracket is \(21-500/36=256/36=64/9\), so the p-value is \((25/36)^{20}(64/9)\approx 0.00484\).
Worked Example: Tail Probability for an F Statistic of 5.00
With the same \(F_{4,40}\) reference distribution and \(F_{\mathrm{obs}}=5.00\), \(z=40/(40+4(5))=40/60=2/3\). Thus \(P(F_{4,40}\geq 5)=I_{2/3}(20,2)=(2/3)^{20}[21-20(2/3)]\). The bracket is \(21-40/3=23/3\), giving \((2/3)^{20}(23/3)\approx 0.00231\).
What Calibration Does—and Does Not—Say
Calibration translates a criterion into a statistic that can be compared with a reference distribution. It does not change the data, the hypothesis, or the meaning of the original criterion. Nor does a small approximate p-value prove that the null hypothesis is false; it quantifies how extreme the calculated statistic would be under the stated reference distribution and calibration.
A useful check is that increasing any one root while holding the others fixed decreases Wilks’ lambda and does not decrease the other three criteria. For Wilks’ lambda, each factor \((1+\lambda_i)^{-1}\) decreases. Each summand \(\lambda_i/(1+\lambda_i)\) in Pillai’s trace increases because its derivative is \(1/(1+\lambda_i)^2>0\). The Hotelling–Lawley trace increases by the same root increment, and the maximum root cannot decrease when a root increases. This verifies the direction of evidence in the criteria, though their calibrated p-values need not coincide.
Write \(p,h,v\), determine \(s=\min(p,h)\), and list the observed roots.
Use the root spectrum to find \(\Lambda,V,T,\theta\), retaining enough digits to limit rounding error.
Compute the criterion-specific F statistic and both reference degrees of freedom.
Use the stated F reference distribution or the incomplete-beta expression, and identify the result as approximate when the calibration is approximate.
Check Your Understanding
Use the formulas and checks above to answer these questions.
- For roots \(0.5\) and \(0.25\), calculate Wilks’ lambda, Pillai’s trace, the Hotelling–Lawley trace, and Roy’s largest root.
- Why do the same observed roots not generally lead to the same F degrees of freedom for all four criteria?
- For \(F_{\mathrm{obs}}=3\) with \(d_1=2,d_2=18\), write the upper-tail p-value as a regularized incomplete beta function.
- Explain why using an F approximation does not make the resulting MANOVA p-value exact.
- For \(F_{4,40}\), show how the beta argument changes when the observed F value increases from \(4.40\) to \(5.00\), and state the corresponding direction of change in the upper-tail probability.