Tutorials › Nonlinear Mixed-Effects Models (NLME) › Reading Eta Distributions and EBE Plots Under Shrinkage

Shrinkage and Individual Predictions · Tutorial 516 of 797

Reading Eta Distributions and EBE Plots Under Shrinkage

Learn to read EBE distributions in light of shrinkage, separating patterns in conditional estimates from evidence about the latent random-effect distribution.

Advanced 10 min read

What You'll Learn

  • Distinguish the latent eta distribution from the empirical distribution of EBEs.
  • Derive how limited individual information compresses EBEs toward the population mean.
  • Interpret the width and shape of EBE histograms and Q–Q plots cautiously.
  • Recognize why centered or narrow EBE plots do not establish a well-fitting random-effect distribution.
  • Identify diagnostics and model-based alternatives for assessing random-effect distributional assumptions.

Why an EBE Plot Is Not a Direct Picture of the Eta Distribution

In an NLME model, the random effects describe population variability in individual parameters. An empirical Bayes estimate (EBE) is an individual-specific estimate of a random effect, conditional on that individual's data and the fitted population model. These are related quantities, but they are not interchangeable. In particular, an EBE plot is not simply a histogram of the latent random effects.

The distinction matters when interpreting apparent spread, skewness, tails, or clusters. With limited individual information, EBEs are pulled toward the population mean. A narrow plot can therefore reflect substantial shrinkage rather than genuinely small between-individual variability. The introductory material on conditional distributions and eta shrinkage establishes the conditional-estimation framework; here the focus is how that framework changes what EBE distributions look like.

Definition: Let \(\eta_i\) be the latent random-effect vector for individual \(i\), with population distribution commonly specified as \(\eta_i\sim N(0,\Omega)\). An EBE, denoted \(\hat{\eta}_i\), is an estimate of \(\eta_i\) conditional on individual \(i\)'s observations and the fitted model parameters. It may be a conditional mean or a conditional mode; the two need not agree in a nonlinear model. The latent distribution describes variation across individuals in the model, whereas the empirical EBE distribution describes the conditional estimates produced for the particular data set.

For a scalar random effect, a common descriptive eta-shrinkage summary is \(1-s_{\hat{\eta}}/\sqrt{\hat{\omega}^2}\), where \(s_{\hat{\eta}}\) is the sample standard deviation of the EBEs and \(\hat{\omega}^2\) is the fitted population variance. This summary compares EBE spread with fitted latent spread. It is not a direct estimate of the fraction of each individual's effect that is known, and in finite samples it can be unstable. Its interpretation also depends on using the same random-effect scale and parameterization in both quantities.

How Shrinkage Compresses a Distribution

A Gaussian random-intercept model gives a transparent derivation. Suppose the data for individual \(i\) are \(y_{ij}=\mu+\eta_i+\epsilon_{ij}\), for \(j=1,\ldots,m\), with \(\eta_i\sim N(0,\omega^2)\), independent \(\epsilon_{ij}\sim N(0,\sigma^2)\), and independence across individuals. Here \(\mu,\omega^2,\sigma^2\) are treated as known. These assumptions make the conditional distribution exactly Gaussian. Define the individual mean residual \(r_i=\bar y_i-\mu\). Then \(r_i\mid\eta_i\sim N(\eta_i,\sigma^2/m)\).

The conditional density of \(\eta_i\) is proportional to its prior density times the likelihood of \(r_i\). Collecting the terms involving \(\eta_i\) in the exponent gives:

$$ -\frac{1}{2}\left(\frac{\eta_i^2}{\omega^2}+ \frac{(r_i-\eta_i)^2}{\sigma^2/m}\right) = -\frac{1}{2}\left[ \left(\frac{1}{\omega^2}+\frac{m}{\sigma^2}\right) \left(\eta_i-\frac{\omega^2}{\omega^2+\sigma^2/m}r_i\right)^2 \right]+\text{constant}. $$

Thus the conditional mean and mode coincide, and the EBE is \(\hat{\eta}_i=\lambda r_i\), where \(\lambda=\omega^2/(\omega^2+\sigma^2/m)\). Since \(0<\lambda<1\), each observed residual mean is contracted toward zero. The posterior variance is \(\omega^2(1-\lambda)\). Across hypothetical repeated data sets generated under this model, the variance of the conditional means is \(\omega^2-\omega^2(1-\lambda)=\lambda\omega^2\), which is smaller than the latent variance. This makes explicit why an EBE distribution can be narrower even when the random-effects distribution is correctly specified.

In nonlinear models, conditional means or modes are generally not a single common linear contraction of the observations. The amount and direction of shrinkage can vary by individual, parameter, and region of the likelihood. Consequently, a distorted EBE shape is possible: tails may be suppressed, asymmetry may be muted or altered, and apparent clusters may become less distinct. The Gaussian derivation explains a mechanism, not a universal transformation that can be reversed by rescaling every EBE.

Worked Example: A Narrow EBE Distribution Under Limited Information

Suppose a hypothetical study is summarized by the random-intercept model above, with \(\omega^2=0.64\) (random-effect SD \(0.800\)), \(\sigma^2=1.00\), and \(m=2\) observations per individual. Assume the model conditions hold and the variance parameters are known for this calculation.

The individual mean residual has variance \(\sigma^2/m=1.00/2=0.500\). Therefore \(\lambda=0.64/(0.64+0.500)=0.5614\). The EBE is only \(56.14\%\) of the observed mean residual. For example, if one individual's mean residual is \(r_i=1.20\) concentration-scale units in this illustrative model, then \(\hat{\eta}_i=0.5614(1.20)=0.6737\) random-effect units.

The across-data-set variance of conditional means is \(\lambda\omega^2=0.5614(0.64)=0.3593\); its SD is \(\sqrt{0.3593}=0.5994\). Relative to the latent SD of \(0.800\), the expected EBE SD is smaller. The corresponding variance-based Gaussian shrinkage is \(1-\sqrt{\lambda}=1-0.7493=0.2507\), or about \(25.1\%\). An actual finite sample's EBE SD will not equal this expectation exactly. The example shows why a plot with less spread than the fitted latent distribution is not, by itself, evidence that the fitted population variance is too large.

Reading Shape, Center, and Scale

The center of an EBE distribution is often near zero when the model has a zero-centered random-effect distribution and the data provide balanced information. But this is not a test of distributional fit. EBEs are constructed using the fitted population model, including its centering and variance assumptions. A plot centered at zero may simply reflect that conditional estimates are pulled toward the assumed population center. In finite samples, the EBE mean need not be exactly zero, and an offset can also arise from sampling variability, parameter estimation, model misspecification, or the way the random effects are parameterized.

The same caution applies to apparent normality. Shrinkage can reduce extreme EBEs, making a histogram look more compact and sometimes more normal than the latent effects. Conversely, uneven information, nonlinear likelihoods, or a small sample can make the EBE distribution look irregular even when a Gaussian latent distribution is plausible. A histogram or Q–Q plot of EBEs describes those estimates; it does not isolate the latent distribution from the conditional-estimation process.

Worked Example: A Centered Plot Does Not Confirm Normality

Consider four hypothetical latent effects, measured on a dimensionless log-parameter scale, of \(-1.2,-0.8,0.8,1.2\). Suppose, for illustration, that each individual's noisy summary \(u_i\) is contracted by the same factor \(\lambda=0.25\), as in the Gaussian conditional-mean result. If the observed summaries are \(-1.6,-0.8,0.8,1.6\), the corresponding EBEs are \(-0.40,-0.20,0.20,0.40\).

Their mean is \((-0.40-0.20+0.20+0.40)/4=0\). Their population-form SD for these four plotted values is \(\sqrt{(0.16+0.04+0.04+0.16)/4}=\sqrt{0.10}=0.3162\). The EBEs are centered and tightly grouped around zero, but the center and narrowness follow directly from contraction and the symmetric summaries. Four points cannot establish that the latent effects follow a normal distribution. Even a larger, centered EBE plot would require accounting for the conditional estimation process before drawing that conclusion.

Plots remain useful as descriptive diagnostics, provided their scope is stated correctly. Inspect the EBE histogram or density for gross irregularities, and use a Q–Q plot to display departures from a normal reference among the estimates. Read these alongside the fitted \(\Omega\), the amount of individual information, and shrinkage for the specific random effect. When shrinkage is substantial, tail behavior and apparent spread in the EBE plot deserve especially little weight as evidence about the latent distribution.

Worked Example: Comparing the EBE Spread With the Fitted Latent Spread

Suppose a hypothetical fit for a log-clearance random effect reports \(\hat{\omega}^2=0.49\), so the fitted latent SD is \(\sqrt{0.49}=0.700\). For 25 individuals, the sample SD of their EBEs is \(s_{\hat{\eta}}=0.420\). Assume both quantities are on the same log-clearance random-effect scale.

The descriptive SD-based shrinkage is \(1-s_{\hat{\eta}}/\sqrt{\hat{\omega}^2}=1-0.420/0.700=0.400\), or \(40.0\%\). The EBE sample SD is therefore 60% of the fitted latent SD. This comparison signals that the EBE plot may substantially understate the fitted latent variability. It does not mean that each individual's estimate has exactly 40% error, nor does it prove the normal random-effect assumption is correct or incorrect. Sampling variability in 25 EBEs and uncertainty in the fitted variance also affect the comparison.

Diagnostics, Alternatives, and Limits

A responsible reading combines plots with information about how the estimates were obtained. First, confirm which quantity is plotted: conditional mode or mean, raw eta or an individual parameter transformed from eta, and which model parameterization and scale are used. Then compare EBE spread with the fitted latent SD or covariance structure, and consult eta-shrinkage summaries for that parameter. High shrinkage warns that the plotted shape may be a poor representation of the latent effects; low shrinkage makes the estimates more data-informed but does not make an EBE plot a formal goodness-of-fit test.

When distributional adequacy is important, a main alternative is a model-based check that simulates data under the fitted model and applies the same estimation and plotting procedure to those simulated data. Comparing observed EBE patterns with the simulated EBE patterns accounts, at least under the simulation assumptions, for shrinkage and finite-sample behavior. A complementary alternative is to examine the model-implied latent distribution directly, while remembering that it is imposed or estimated as part of the model rather than observed person by person. Neither approach removes the need to assess the assumptions and the adequacy of the overall model.

Typical warning signs include a mismatch between the EBE scale and the reported \(\Omega\) scale, extreme sensitivity of the histogram to bin width, a few influential EBEs dominating the apparent tails, and strong shrinkage paired with claims about latent skewness based only on the EBE plot. These are reasons to investigate, not automatic evidence of a particular alternative distribution. EBE plots also have limits in small samples: their shape is noisy, and estimated population parameters add uncertainty not reflected by a simple histogram or Q–Q plot.

The central practical rule is to separate two questions: “What do the conditional estimates look like?” and “What latent random-effect distribution is compatible with the data and model?” The first is answered descriptively by an EBE plot. The second requires interpretation in light of shrinkage and, where warranted, model-based checks. A visually narrow or centered EBE distribution alone answers neither the question of whether the random-effect variance is appropriate nor whether the assumed distribution fits well.

Common pitfall: “The EBEs are narrowly distributed and centered at zero, so the random-effect distribution must be narrow and correctly specified.” This reasoning confuses conditional estimates with latent effects. Shrinkage itself pulls estimates toward the population center and reduces their spread. Check shrinkage and individual information, distinguish the EBE scale from the latent scale, and use model-based comparisons before making claims about latent shape.

Check Your Understanding

Answer each question using the distinction between latent random effects and conditional estimates.

  1. In the Gaussian random-intercept example, what happens to \(\lambda\) as the number of observations \(m\) per individual increases, with the other variances fixed?
  2. Why does a centered EBE histogram not establish that the latent random effects are normally distributed?
  3. A fitted latent SD is \(0.80\), while the EBE sample SD is \(0.48\). Compute the descriptive SD-based shrinkage.
  4. Name one model-based approach that can help interpret EBE shape under shrinkage.

Solutions. (1) Since \(\lambda=\omega^2/(\omega^2+\sigma^2/m)\), increasing \(m\) reduces \(\sigma^2/m\), so \(\lambda\) increases toward 1; the conditional estimates are less contracted. (2) Conditional estimates are influenced by the model's zero-centered distribution and are pulled toward its center. Centering is not a test of the latent distribution's shape. (3) \(1-0.48/0.80=1-0.60=0.40\), or \(40\%\) descriptive SD-based shrinkage. (4) Simulate data under the fitted model, re-estimate EBEs using the same procedure, and compare the simulated EBE patterns with the observed patterns.