Tutorials › Multivariate Statistics (Graduate) › Radial Diagnostics for Elliptical Model Fit

Elliptical and Skew Distributions · Tutorial 693 of 975

Radial Diagnostics for Elliptical Model Fit

Construct radial probability plots, interpret radial discrepancies, and calibrate goodness-of-fit checks when model parameters are estimated.

Intermediate 10 min read

What You'll Learn

  • Define squared Mahalanobis distance and radius for a fitted elliptical model
  • Derive the radial reference distributions for Gaussian and multivariate t models
  • Construct radial Q–Q and probability plots using plotting positions
  • Interpret radial departures without treating them as proof of model failure
  • Explain why fitting location and scatter changes goodness-of-fit calibration
  • Set up a parametric bootstrap that repeats the full estimation procedure

Why Check the Radial Distribution?

An elliptical model describes more than the direction and shape of its contours. It also specifies how probability is distributed from the center outward. A fitted model can have plausible-looking ellipsoidal contours while assigning too little probability to large radii, or too much probability near the center. Comparing observed Mahalanobis radii with the model’s radial distribution gives a focused diagnostic for this aspect of fit.

The comparison is useful but not a complete assessment of an elliptical model. It checks the distribution of distances from the fitted center relative to the fitted scatter matrix. It does not, by itself, check whether directions are distributed as the model requires. The distinction between radial and directional behavior is important when interpreting any probability plot or goodness-of-fit statistic.

Definition: For a location vector \(\mu\) and a positive-definite scatter matrix \(\Sigma\), the squared Mahalanobis distance of \(x\) from \(\mu\) is \(q(x)=(x-\mu)^\mathsf{T}\Sigma^{-1}(x-\mu)\); its Mahalanobis radius is \(r(x)=\sqrt{q(x)}\). For observations \(X_1,\ldots,X_n\), fitted versions use estimates \(\hat{\mu}\) and \(\hat{\Sigma}\): \(\hat{q}_i=(X_i-\hat{\mu})^\mathsf{T}\hat{\Sigma}^{-1}(X_i-\hat{\mu})\), and \(\hat{r}_i=\sqrt{\hat{q}_i}\). The scatter matrix must be invertible for these quantities to be defined.

The Model’s Radial Reference Distribution

For an elliptical random vector with a stochastic radial representation \(X=\mu+RAU\), suppose \(A\) is nonsingular, \(U\) is a random unit vector, and \(R\geq 0\) is independent of \(U\). Write \(\Sigma=AA^\mathsf{T}\). In this representation, the squared Mahalanobis distance from the model center is \(R^2\). Thus the model supplies a reference distribution for squared distances, not just a reference shape for the scatter.

Theorem: If \(X=\mu+RAU\), with \(A\) nonsingular, \(U^\mathsf{T}U=1\), and \(\Sigma=AA^\mathsf{T}\), then \(Q=(X-\mu)^\mathsf{T}\Sigma^{-1}(X-\mu)=R^2\). Consequently, the radial distribution of \(X\) determines the distribution of \(Q\).

Proof. Since \(\Sigma^{-1}=A^{-\mathsf{T}}A^{-1}\),

$$ \begin{aligned} Q &=(RAU)^\mathsf{T}A^{-\mathsf{T}}A^{-1}(RAU)\\ &=R^2U^\mathsf{T}A^\mathsf{T}A^{-\mathsf{T}}A^{-1}AU\\ &=R^2U^\mathsf{T}U\\ &=R^2. \end{aligned} $$

The equality uses only nonsingularity of \(A\) and the unit length of \(U\). In particular, it does not require a moment condition such as a finite covariance. \(\square\)

For a multivariate normal model, \(Q\) has a chi-squared distribution with \(p\) degrees of freedom, where \(p\) is the vector dimension. For a multivariate \(t\) model with \(\nu\) degrees of freedom, location \(\mu\), and scatter \(\Sigma\), \(Q/p\) has an \(F\) distribution with \(p\) and \(\nu\) degrees of freedom. The scatter parameter in the \(t\) model is not generally its covariance matrix; using the correct scatter parameter is essential to the reference distribution.

Worked Example: A Gaussian Radial Q–Q Plot

Suppose \(p=2\), and a Gaussian model’s \(\mu\) and \(\Sigma\) are known rather than estimated. The five observed squared Mahalanobis distances, sorted from smallest to largest, are \(0.40, 1.20, 2.10, 3.80, 6.00\). Under the model, \(Q\sim\chi^2_2\). Use plotting positions \(u_i=(i-0.5)/n\) to find the corresponding reference quantiles.

The plotting positions are \(0.10, 0.30, 0.50, 0.70, 0.90\). For two degrees of freedom, the chi-squared cumulative distribution function is \(H(q)=1-\exp(-q/2)\), so its quantile is \(H^{-1}(u)=-2\log(1-u)\). The reference quantiles are therefore

$$ \begin{array}{c|ccccc} u_i & 0.10 & 0.30 & 0.50 & 0.70 & 0.90\\ \hline H^{-1}(u_i) & 0.211 & 0.713 & 1.386 & 2.408 & 4.605 \end{array} $$

Plot the observed values against these reference quantiles. The first four observed distances are above their corresponding reference values, and the largest is \(6.00\) rather than \(4.605\). The upper end of this small sample is therefore larger than the Gaussian reference suggests. With only five observations, this is a diagnostic signal, not a reliable conclusion by itself.

Worked Example: Using the Student t Radial Distribution

Consider a fitted bivariate \(t\) model with \(\nu=5\). Its squared Mahalanobis distance satisfies \(Q/2\sim F_{2,5}\). For this particular \(F\) distribution,

$$ P(F_{2,5}\leq x)=1-\left(\frac{5}{5+2x}\right)^{5/2}. $$

If \(u\) is a cumulative probability, solving this equation gives the reference quantile for \(Q=2F_{2,5}\):

$$ q(u)=5\left((1-u)^{-2/5}-1\right). $$

For plotting positions \(0.10,0.30,0.50,0.70,0.90\), these quantiles are approximately \(0.215,0.767,1.598,3.094,7.559\). Suppose the ordered observed squared distances are \(0.50,1.00,2.00,4.50,12.00\). The final value, \(12.00\), exceeds the corresponding reference quantile, \(7.559\), substantially. The model already allows heavier tails than a Gaussian model, but this observation remains unusually far out relative to that \(t\) reference. The comparison must use the \(t\) radial distribution: substituting chi-squared quantiles would diagnose the wrong model.

Constructing and Reading Probability Plots

A radial Q–Q plot places ordered observed squared distances \(\hat{q}_{(i)}\) on one axis and theoretical quantiles \(H^{-1}(u_i)\) on the other, where \(H\) is the model cumulative distribution function of \(Q\). Either axis may be chosen for the observed values, but the choice should be stated and kept consistent. Under a good match, points should follow an approximately straight, increasing pattern. If the plot uses the same scale on both axes, that pattern should be near the identity line.

A radial probability plot instead compares the empirical cumulative distribution of observed squared distances with \(H\). These two displays encode the same basic comparison in different coordinates. In either display, curvature can indicate a systematic mismatch: for example, the largest observations may rise more sharply than the theoretical quantiles, suggesting a heavier observed radial tail. A shift across much of the plot can reflect a scale mismatch, though fitting the scatter may partly absorb such a discrepancy.

For continuous \(H\), a useful theoretical result explains why the reference quantiles are appropriate when model parameters are known. If \(Q_1,\ldots,Q_n\) are independent with continuous cumulative distribution function \(H\), then \(H(Q_i)\) are independent uniform random variables on \((0,1)\). Their ordered values tend to line up with the uniform quantiles used in a probability plot.

Theorem: If \(Q\) has a continuous, strictly increasing cumulative distribution function \(H\), then \(U=H(Q)\) is uniform on \((0,1)\). If \(Q_1,\ldots,Q_n\) are independent with this distribution, the expected \(i\)th ordered transformed value is \(E[H(Q_{(i)})]=i/(n+1)\).

Proof. For \(0<u<1\), strict increase of \(H\) gives

$$ P(H(Q)\leq u)=P(Q\leq H^{-1}(u))=H(H^{-1}(u))=u. $$

Thus \(H(Q)\) is uniform, and independence is preserved when the same function is applied separately to independent observations. The \(i\)th order statistic \(U_{(i)}\) from \(n\) independent uniforms has density

$$ f_{U_{(i)}}(u)=\frac{n!}{(i-1)!(n-i)!}u^{i-1}(1-u)^{n-i},\qquad 0<u<1. $$

Integrating \(u\) against this density, or evaluating the corresponding beta integral, gives \(E[U_{(i)}]=i/(n+1)\). Since \(U_{(i)}=H(Q_{(i)})\), the stated result follows. \(\square\)

The expected order-statistic positions \(i/(n+1)\) are a principled choice for a probability plot. Another common choice is \((i-0.5)/n\), which is a practical approximation, especially for small samples. Neither choice makes the plotted points independent: order statistics are dependent, so visual deviations should not be treated as independent tests at each point.

What Changes When Location and Scatter Are Estimated?

The reference distribution above applies to distances from the true model center and scatter. In practice, the same observations are often used to estimate \(\mu\) and \(\Sigma\), then to calculate their fitted distances. The resulting \(\hat{q}_i\) are dependent and are not generally independent draws from the model’s \(Q\) distribution. Estimation pulls the fitted distances toward the estimated center and adapts the scatter to the sample, changing the distribution of the diagnostic.

A simple multivariate normal calculation makes this effect concrete. If the sample covariance is computed with divisor \(n\), and \(\bar{X}\) is the sample mean, define \(S=n^{-1}\sum_{i=1}^n(X_i-\bar{X})(X_i-\bar{X})^\mathsf{T}\). When \(S\) is invertible, the fitted squared distances obey

$$ \sum_{i=1}^n (X_i-\bar{X})^\mathsf{T}S^{-1}(X_i-\bar{X}) =\operatorname{tr}\left(S^{-1}\sum_{i=1}^n(X_i-\bar{X})(X_i-\bar{X})^\mathsf{T}\right) =np. $$

This exact constraint is incompatible with treating the fitted distances as independent chi-squared observations, whose sum is not fixed at \(np\). If the covariance uses divisor \(n-1\), the corresponding sum of fitted distances is \((n-1)p\). Other estimators and elliptical families impose different dependence and calibration effects.

Worked Example: A Fitted Covariance Constrains the Radii

Take four bivariate observations \((1,0),(-1,0),(0,1),(0,-1)\). Their sample mean is \(\bar{X}=(0,0)\). With divisor \(n=4\), their sample covariance is

$$ S=\frac14 \begin{pmatrix} 2&0\\ 0&2 \end{pmatrix} = \begin{pmatrix} 1/2&0\\ 0&1/2 \end{pmatrix}, \qquad S^{-1}= \begin{pmatrix} 2&0\\ 0&2 \end{pmatrix}. $$

Each observation has squared fitted distance \(2\). For example, for \((1,0)\), the calculation is \((1,0)S^{-1}(1,0)^\mathsf{T}=2\); the other three give the same value. The distances sum to \(8=np=4\cdot2\), as required by the identity above. They cannot be interpreted as four independent draws from \(\chi^2_2\). This example illustrates why fitting parameters changes the reference behavior, even before considering the small sample size.

Goodness-of-Fit Checks and Calibration

A formal check can summarize the discrepancy between the empirical distribution of squared distances and the model radial distribution. For example, the Kolmogorov–Smirnov statistic is the largest absolute difference between the empirical cumulative distribution function and the proposed cumulative distribution function. When parameters are known and the distances are independent draws from a continuous \(H\), the usual one-sample reference distribution applies. When location, scatter, or radial parameters are estimated from the same vectors, that known-parameter calibration generally does not apply.

A practical approach is a parametric bootstrap that repeats the whole fitting and checking procedure. It is an approximation to the null distribution, not a universal exact correction. The simulated data must be generated from the fitted model, and every step that affected the observed statistic must be repeated in each replicate.

1
Fit the null model.
Estimate location, scatter, and any radial parameters using the same method used for the observed data.
2
Compute the observed statistic.
Calculate the fitted squared distances and a chosen discrepancy measure, such as the maximum difference between the empirical and model radial distribution functions.
3
Simulate and refit.
For each bootstrap replicate, simulate a full data set from the fitted null model, re-estimate its parameters, and recompute its squared distances and discrepancy statistic.
4
Compare discrepancies.
Use the simulated statistics to estimate how often a discrepancy at least as large as the observed one occurs under the fitted model. This comparison accounts approximately for the fitting procedure.

Worked Example: Why the Bootstrap Must Refit

Suppose a researcher fits a bivariate \(t\) model, estimating its location, scatter, and degrees of freedom, and obtains a radial discrepancy statistic \(T_{\mathrm{obs}}\). To calibrate this statistic, the researcher generates \(B=999\) data sets from the fitted \(t\) model. In each generated data set, the researcher must re-estimate all three parameters before calculating its statistic \(T_b\). If 37 of the 999 bootstrap statistics are at least \(T_{\mathrm{obs}}\), the usual plus-one estimate of the upper-tail probability is

$$ \hat{p}=\frac{1+37}{999+1}=0.038. $$

The plus one avoids reporting a zero estimate when no simulated statistic exceeds the observed value. If the researcher instead held the original estimates fixed when computing every \(T_b\), the simulations would omit the variability and dependence induced by refitting. The resulting calibration would not represent the stated fitted-model diagnostic. The estimate \(0.038\) is a Monte Carlo approximation, and its precision also depends on the number of replicates.

Common Pitfall and Scope of the Diagnostic

Wrong reasoning: “The fitted Mahalanobis distances are supposed to follow the model’s radial distribution, so I can apply a known-parameter goodness-of-fit test directly to them.” This ignores that the distances use parameters estimated from those same observations. In many common fits the distances are dependent, and their distribution is altered by estimation.

Correction: distinguish a theoretical radial reference from the sampling distribution of fitted distances. Use the reference distribution to construct an informative plot, but calibrate a formal statistic with a method appropriate to the estimation procedure, such as a parametric bootstrap that refits every replicate. Also check whether the radial model’s assumptions are plausible: a radial plot alone cannot establish that directions are distributed correctly or that the full elliptical model fits.

Key takeaway: Mahalanobis squared distances reduce an elliptical model’s radial behavior to a univariate reference distribution. Their plots reveal radial mismatches, but parameter estimation changes their dependence and calibration; formal goodness-of-fit conclusions must account for the fitting procedure.

Check Your Understanding

Use the definitions and results above to answer these questions.

  1. Under a multivariate normal model in dimension \(p\), what is the reference distribution of the squared Mahalanobis distance when the true location and scatter are known?
  2. Why does a fitted radial Q–Q plot not by itself check whether the directional part of an elliptical model is appropriate?
  3. For a multivariate \(t\) model with \(p=3\) and \(\nu=8\), what distribution does \(Q/3\) have?
  4. Why can the standard known-parameter Kolmogorov–Smirnov calibration fail when location and scatter are estimated from the same sample?
  5. In a parametric bootstrap for a fitted radial goodness-of-fit statistic, which steps must be repeated for each simulated data set?
Clinical Biostats