Tutorials › Population Pharmacokinetics › Defining Eta Shrinkage From Empirical Bayes Estimates

Diagnostics: Goodness of Fit and Shrinkage · Tutorial 351 of 599

Defining Eta Shrinkage From Empirical Bayes Estimates

Learn to calculate and interpret eta shrinkage as the reduction in empirical Bayes estimate variability relative to a random effect’s population standard deviation.

Intermediate 10 min read

What You'll Learn

  • Define eta shrinkage using the standard-deviation ratio for one random effect.
  • Distinguish the population standard deviation from the sample spread of empirical Bayes estimates.
  • Calculate shrinkage from hypothetical EBE values, showing the sample-SD arithmetic.
  • Interpret retained variability and shrinkage percentages without confusing them.
  • Recognize why finite-sample estimates can produce zero or negative shrinkage.

Why Compare Eta Estimates With Population Variability?

A population pharmacokinetic model describes how subjects may differ from one another, while an empirical Bayes estimate (EBE) summarizes what the data for a particular subject suggest about that subject’s random effect. These are not the same object: the model specifies a population distribution, whereas the EBEs are subject-specific estimates informed by both that distribution and the subject’s observations. Eta shrinkage gives a compact description of how much less variable the EBEs are than the random effects are expected to be in the population.

This comparison is useful when interpreting subject-level diagnostics. If EBEs have little spread, that may reflect limited information in the individual observations and the model’s pull toward the population distribution. It does not, by itself, establish that the population model is correct, or that every subject’s estimate has been pulled by the same amount.

Definition: For one random effect \(\eta\) with population standard deviation \(\omega\), let \(\hat{\eta}_i\) be the EBE for subject \(i\), for \(i=1,\ldots,n\). Let \(s_{\hat{\eta}}\) be the sample standard deviation of those EBEs, calculated across subjects. The SD-based eta shrinkage is $$ \text{eta shrinkage}=1-\frac{s_{\hat{\eta}}}{\omega}. $$ As a percentage, multiply this value by \(100\%\). The ratio \(s_{\hat{\eta}}/\omega\) is the fraction of population standard deviation retained in the EBE distribution.

For a normally distributed random effect, the usual single-effect model is \(\eta_i\sim N(0,\omega^2)\), so \(\omega\) is the population standard deviation and \(\omega^2\) is the population variance. The quantity \(\omega\) must be on the same scale as the EBEs. For example, if \(\eta\) is a dimensionless random effect on a log scale, both \(\omega\) and \(s_{\hat{\eta}}\) are on that scale.

The SD-based definition compares standard deviations, not variances. It uses the sample standard deviation across the EBEs, which is centered on their sample mean. For values \(\hat{\eta}_1,\ldots,\hat{\eta}_n\), that standard deviation is $$ s_{\hat{\eta}}=\sqrt{\frac{\sum_{i=1}^{n}(\hat{\eta}_i-\bar{\hat{\eta}})^2}{n-1}}, $$ where \(\bar{\hat{\eta}}\) is the mean of the EBEs. In a fitted model, \(\omega\) is ordinarily a model-estimated population standard deviation; the numerical examples below take it as given so that the definition and arithmetic are clear.

How to Read the Definition

The definition can be justified directly by separating the comparison into two parts. First, \(s_{\hat{\eta}}/\omega\) compares the observed EBE spread with the model’s population spread. This is the fraction of the population standard deviation retained in the EBE distribution. Second, shrinkage is defined as the fraction not retained, so subtracting that ratio from one gives \(1-s_{\hat{\eta}}/\omega\). Multiplication by \(100\%\) expresses the result as a percentage.

Thus, if \(s_{\hat{\eta}}\) equals \(\omega\), the EBE spread equals the population standard deviation and this definition gives zero shrinkage. If \(s_{\hat{\eta}}\) is smaller than \(\omega\), shrinkage is positive. A smaller EBE spread corresponds to a larger shrinkage value. These statements describe the aggregate spread across subjects; they do not give the amount of shrinkage for a particular subject.

The normal random-effects assumption supplies a familiar interpretation for \(\omega\): it is the standard deviation of the modeled population distribution of \(\eta\). The arithmetic definition itself is a comparison of two standard deviations. To interpret it as a meaningful diagnostic, however, the EBE values and \(\omega\) should refer to the same random effect, parameterization, and model scale, and the subjects should be the relevant set for the comparison.

Worked Example: Calculating Shrinkage From Five EBEs

Suppose a hypothetical model has \(\eta_i\sim N(0,\omega^2)\) with \(\omega=0.20\). For five hypothetical subjects, the EBEs are \(-0.16,-0.08,0,0.08,0.16\). Calculate the SD-based eta shrinkage.

The EBE mean is zero because the values sum to zero. Their squared deviations from that mean sum to \(0.16^2+0.08^2+0^2+0.08^2+0.16^2=0.064\). With \(n=5\), the sample variance divides this sum by \(n-1=4\): $$ s_{\hat{\eta}}=\sqrt{\frac{0.064}{4}} =\sqrt{0.016} =0.1264911. $$

The retained fraction is \(0.1264911/0.20=0.6324555\), or \(63.2456\%\). Using the unrounded standard deviation, shrinkage is $$ 1-\frac{\sqrt{0.064/4}}{0.20} =1-0.6324555 =0.3675445, $$ which is approximately \(36.8\%\). The EBE distribution retains about \(63.2\%\) of the population standard deviation; the remaining \(36.8\%\) is the SD-based shrinkage. In particular, the retained percentage rounded to one decimal place is \(63.2\%\), not \(63.3\%\).

Worked Calculations and Interpretation

A careful calculation keeps the EBE standard deviation at full precision until the final reporting step. Rounding it first and then calculating a percentage can change the last reported digit. Each example should also state whether it reports the retained fraction or shrinkage: these quantities sum to one, so their percentages sum to \(100\%\).

Worked Example: Small EBE Spread and High Shrinkage

In a hypothetical analysis, suppose \(\omega=0.20\), and four subjects have EBEs \(-0.03,-0.01,0.01,0.03\). Find the shrinkage.

The EBE mean is zero. The sum of squared deviations is \(0.03^2+0.01^2+0.01^2+0.03^2=0.0020\). With \(n-1=3\), $$ s_{\hat{\eta}}=\sqrt{\frac{0.0020}{3}}=0.0258199. $$

The retained fraction is \(0.0258199/0.20=0.1290995\), or approximately \(12.9\%\). Therefore, $$ \text{eta shrinkage}=1-0.1290995=0.8709005, $$ or approximately \(87.1\%\). The EBEs have a much smaller spread than the population distribution in this example. The calculation alone does not identify why; the information in the observations, model structure, and other features of the analysis would need consideration.

Worked Example: When the Calculated Shrinkage Is Negative

For a third hypothetical calculation, let \(\omega=0.20\) and let three EBEs be \(-0.30,0,0.30\). This example illustrates the arithmetic when the EBE sample spread exceeds the population standard deviation.

The EBE mean is zero, and the sum of squared deviations is \(0.30^2+0^2+0.30^2=0.18\). Thus, $$ s_{\hat{\eta}}=\sqrt{\frac{0.18}{3-1}} =\sqrt{0.09} =0.30. $$

The retained fraction is \(0.30/0.20=1.5\). Consequently, $$ \text{eta shrinkage}=1-1.5=-0.50, $$ or \(-50\%\). This is not a calculation error and should not automatically be replaced by zero. In a finite sample, EBEs can have a sample standard deviation greater than the model’s population standard deviation. The result is a prompt to check the inputs and context, not proof that individual EBEs were expanded by a particular amount.

Assumptions, Diagnostics, and Alternatives

The definition requires a population standard deviation and a set of EBEs for the same random effect. The usual normal random-effects model assumes a mean-zero distribution with standard deviation \(\omega\); the calculations also assume that all compared EBEs are expressed on the scale of that random effect. If EBEs have been transformed, or if the model’s random-effect parameterization differs from the one used for the calculation, the comparison is not interpretable as stated.

Several checks help catch errors or misleading summaries:

  • Check the model quantity. If the model output gives a variance, take its square root to obtain \(\omega\) before using this SD-based definition. Comparing an EBE standard deviation directly with a variance mixes units and is incorrect.
  • Check the EBE set. Confirm that each included value belongs to the intended random effect and subject set. Missing, duplicated, or mismatched records change the sample standard deviation.
  • Check centering. The sample SD is calculated around the EBE sample mean. Do not substitute the root mean square around zero without explicitly defining a different quantity. If the EBE mean is noticeably nonzero, report or investigate that feature as well; a spread measure alone does not describe a shift in the estimates.
  • Check the reported percentage. A retained fraction of \(0.20\) means \(20\%\) retained and \(80\%\) shrinkage, not \(20\%\) shrinkage. Keep full precision until the final rounding.
  • Check extreme results. A negative value can occur when the EBE sample SD exceeds \(\omega\). Verify the calculation, then consider finite-sample variation and whether the subjects, model, and random-effect definition are appropriate for comparison.

Eta shrinkage is a descriptive summary of the EBE distribution relative to the population distribution. It is not a subject-specific uncertainty measure, a test of a model hypothesis, or a direct measure of goodness of fit. In particular, a low EBE spread does not prove that the population variability is small: it may also reflect limited individual information. Likewise, a high shrinkage value does not establish that the population model is misspecified.

The SD-based definition used here should be distinguished from summaries based on comparing variances. A variance-based measure uses a different scale of comparison and should not be substituted into this formula. Another complementary approach is to inspect subject-level estimates and diagnostic plots directly: such inspection can reveal patterns hidden by a single across-subject summary, but it does not replace a clearly defined shrinkage calculation. The appropriate summary depends on the question, and the convention should be stated when reporting results.

Key takeaway: For the SD-based definition, eta shrinkage is one minus the sample standard deviation of the EBEs divided by the population standard deviation \(\omega\). Report the retained fraction and shrinkage distinctly, use the same scale for both standard deviations, and treat the result as an aggregate description rather than a subject-level conclusion.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. A random effect has \(\omega=0.25\), and the EBE sample SD is \(0.10\). What are the retained fraction and eta shrinkage, as percentages?
  2. Why does the sample SD of the EBEs use deviations from their sample mean rather than automatically using deviations from zero?
  3. If the EBE sample SD exceeds \(\omega\), must the calculated shrinkage be changed to zero? Explain.
  4. A report gives the random-effect variance as \(0.04\) and the EBE sample SD as \(0.10\). What value of \(\omega\) belongs in the SD-based formula, and what is the shrinkage?

Solutions. (1) The retained fraction is \(0.10/0.25=0.40\), or \(40\%\); shrinkage is \(1-0.40=0.60\), or \(60\%\). (2) The standard deviation is defined around the sample mean. A nonzero EBE mean is a separate feature to examine; using deviations from zero would calculate a different spread measure. (3) No. The formula can yield a negative value, which should be checked and interpreted in context rather than automatically truncated. (4) The population standard deviation is \(\omega=\sqrt{0.04}=0.20\). Thus shrinkage is \(1-0.10/0.20=0.50\), or \(50\%\).

Clinical Biostats