Tutorials › Population Pharmacokinetics › How Sampling Information Controls Eta Shrinkage

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

How Sampling Information Controls Eta Shrinkage

Learn to connect sampling information and model variability to the amount individual eta estimates are pulled toward zero.

Intermediate 11 min read

What You'll Learn

  • Define variance-based eta shrinkage from the spread of empirical Bayes estimates.
  • Derive the Gaussian posterior mean and variance for an individual random effect.
  • Relate within-subject information to the attenuation of an empirical Bayes estimate.
  • Calculate how sample size, residual error, and random-effect variance change shrinkage.
  • Distinguish shrinkage from an individual estimate’s posterior uncertainty.
  • Recognize assumptions and diagnostics that limit the information-based interpretation.

Why Sampling Information Changes Eta Estimates

An empirical Bayes estimate (EBE) combines information from an individual’s observations with the population distribution of a random effect. When the observations provide little information about that individual, the EBE is pulled toward the population mean, conventionally zero for an eta. With more informative observations, the individual’s data can exert greater influence.

This tutorial makes that relationship explicit in a simple Gaussian model. It shows how within-subject sampling, residual error, and random-effect variability affect the expected spread of EBEs. The formulas are useful for understanding the mechanism; real pharmacokinetic models may be nonlinear, have multiple correlated random effects, and use more complex residual models.

Definition: For a scalar random effect \(\eta\) with population variance \(\omega^2\), variance-based eta shrinkage is commonly summarized as \(1-\operatorname{SD}(\hat{\eta})/\omega\), where \(\hat{\eta}\) denotes the EBEs across subjects and \(\omega=\sqrt{\omega^2}\). In a finite fitted data set, the across-subject standard deviation is estimated from the EBEs. The measure describes how much less variable those estimates are than the population random effects are expected to be; it is not an individual-specific probability or a direct measure of prediction error.

The formula’s interpretation depends on the comparison being meaningful: the EBEs and the random effects must use the same scale, and \(\omega^2\) must be positive. In the model below, the random effect has mean zero. The formula therefore compares the spread of estimates centered toward zero with the population spread before observing an individual’s data.

A Gaussian Information Model

Suppose the individual’s data can be summarized by an information-equivalent observation \(z\), with \(\eta\sim N(0,\omega^2)\) and \(z\mid\eta\sim N(\eta,1/J)\). Here \(J>0\) is the within-subject information about \(\eta\). A larger \(J\) means lower observation uncertainty about the random effect. This model assumes a normal population distribution, a normal observation error independent of \(\eta\), and a correctly specified value of \(J\).

For a locally linear PK model with independent residual errors of variance \(\sigma^2\), one way to obtain this information is \(J=\sum_j g_j^2/\sigma^2\), where \(g_j\) is the sensitivity of the expected observation at sample \(j\) to \(\eta\). Thus, more samples can increase \(J\), while greater residual variance decreases it. The sensitivity matters too: a sample taken where the prediction barely changes with \(\eta\) contributes little information.

1
Combine prior and data.
The prior density contributes a term proportional to \(\exp[-\eta^2/(2\omega^2)]\); the likelihood contributes a term proportional to \(\exp[-J(z-\eta)^2/2]\).
2
Collect quadratic terms.
The exponent’s quadratic coefficient is \(\omega^{-2}+J\), so the conditional variance is the reciprocal of this precision.
3
Find the conditional mean.
Completing the square gives a posterior mean equal to the data summary \(z\) multiplied by the fraction of total precision supplied by the data.

In detail, the terms involving \(\eta\) in the negative twice-log posterior are \(\eta^2/\omega^2+J(z-\eta)^2\). Expanding the second term gives a coefficient of \(\eta^2\) equal to \(\omega^{-2}+J\), and a linear term \(-2Jz\eta\). Completing the square therefore yields:

$$ \hat{\eta}=E(\eta\mid z)=a z,\qquad a=\frac{\omega^2J}{1+\omega^2J},\qquad \operatorname{Var}(\eta\mid z)=\frac{1}{\omega^{-2}+J} =\frac{\omega^2}{1+\omega^2J}. $$

The factor \(a\) is between zero and one. It is the attenuation of this individual’s data summary toward zero: low information makes \(a\) small, while high information makes \(a\) approach one. In this Gaussian model the posterior mean is also the posterior mode, so either definition of the EBE gives the same estimate.

From Information to Expected Eta Shrinkage

The EBE spread across subjects is not simply the spread of the posterior distribution within one subject. To connect it to \(J\), consider repeated subjects generated under the same model. Marginally, \(z=\eta+e\), where \(e\sim N(0,1/J)\) is independent of \(\eta\). Therefore, \(\operatorname{Var}(z)=\omega^2+1/J\). Since \(\hat{\eta}=az\), the across-subject variance of the EBEs is:

$$ \operatorname{Var}(\hat{\eta}) =a^2\left(\omega^2+\frac{1}{J}\right) =\omega^2\frac{\omega^2J}{1+\omega^2J} =\omega^2a. $$

The second equality follows by substituting \(a=\omega^2J/(1+\omega^2J)\) and simplifying. Dividing the EBE standard deviation by \(\omega\) gives \(\sqrt{a}\). Thus the model’s expected variance-based shrinkage is:

$$ 1-\frac{\operatorname{SD}(\hat{\eta})}{\omega} =1-\sqrt{\frac{\omega^2J}{1+\omega^2J}}. $$

This is an expected relationship under the stated model, not a guarantee about the observed EBE standard deviation in every finite sample. Finite cohorts fluctuate, and estimated population parameters add uncertainty. The expression nevertheless shows the direction of the main effects: increasing \(J\) reduces expected shrinkage, while increasing \(\omega^2\) at fixed \(J\) also reduces it.

Worked Example: More Samples Increase Information

Consider a hypothetical one-eta model with \(\omega^2=0.25\). Suppose each independent observation has sensitivity \(g=1\) and residual variance \(\sigma^2=1\), so each contributes \(g^2/\sigma^2=1\) unit of information. Compare four observations with sixteen, and use \(z=0.30\) as the same illustrative data summary for calculating the individual EBE.

With four observations, \(J=4\). The data weight is \(a=(0.25)(4)/[1+(0.25)(4)]=1/2\). The EBE is \(\hat{\eta}=az=(0.5)(0.30)=0.150\). Across repeated subjects, the EBE variance is \(\omega^2a=(0.25)(0.5)=0.125\), so its standard deviation is \(\sqrt{0.125}=0.3536\). Expected shrinkage is \(1-0.3536/0.5=0.2929\), or about 29.3%.

With sixteen observations, \(J=16\). Now \(a=(0.25)(16)/[1+(0.25)(16)]=0.800\), giving \(\hat{\eta}=(0.800)(0.30)=0.240\). The across-subject EBE standard deviation is \(\sqrt{(0.25)(0.800)}=0.4472\). Expected shrinkage is \(1-0.4472/0.5=0.1056\), or about 10.6%. Under the model, the larger sample supplies more information and the EBE is less attenuated. The shared \(z\) is held fixed only to isolate the calculation; actual data summaries will generally differ between sampling designs.

Worked Example: Greater Residual Error Reduces Information

Suppose a hypothetical study takes four observations, each with sensitivity \(g=1\), and the population random-effect variance is \(\omega^2=0.25\). Compare residual variances \(\sigma^2=0.5\) and \(\sigma^2=2\). Use \(z=0.30\) in each calculation to isolate the effect of residual variance.

When \(\sigma^2=0.5\), \(J=4(1^2/0.5)=8\). Thus \(a=(0.25)(8)/[1+(0.25)(8)]=2/3\), and the EBE is \((2/3)(0.30)=0.200\). The EBE standard deviation across subjects is \(\sqrt{(0.25)(2/3)}=0.4082\), so expected shrinkage is \(1-0.4082/0.5=0.1835\), or 18.4%.

When \(\sigma^2=2\), \(J=4(1^2/2)=2\). Then \(a=(0.25)(2)/[1+(0.25)(2)]=1/3\), and the EBE is \((1/3)(0.30)=0.100\). The across-subject EBE standard deviation is \(\sqrt{(0.25)(1/3)}=0.2887\), giving expected shrinkage \(1-0.2887/0.5=0.4226\), or 42.3%. With the same number and sensitivity of observations, the higher residual variance provides less information and increases expected shrinkage.

Worked Example: Greater Random-Effect Variability Reduces Relative Shrinkage

Now hold within-subject information fixed at \(J=4\), and compare two hypothetical population variances using \(z=0.30\). This comparison changes the prior spread of \(\eta\), not the sampling design.

For \(\omega^2=0.25\), \(a=(0.25)(4)/[1+(0.25)(4)]=0.500\). The EBE is \(0.500(0.30)=0.150\), and expected shrinkage is \(1-\sqrt{0.500}=0.2929\), or 29.3%.

For \(\omega^2=1\), \(a=(1)(4)/[1+(1)(4)]=0.800\). The EBE is \(0.800(0.30)=0.240\), and expected shrinkage is \(1-\sqrt{0.800}=0.1056\), or 10.6%. With a wider population distribution, the same amount of data carries more weight relative to the prior precision. This does not mean the individual’s observations became more precise; it means the data are more influential relative to the assumed population spread.

Reading the Result and Checking Its Assumptions

The key quantity is the dimensionless product \(\omega^2J\), which compares data information with prior precision. If it is small, \(a\) is small and EBEs are strongly pulled toward zero. If it is large, \(a\) is near one and the EBE follows the individual data summary more closely. This provides a compact explanation of why sparse sampling and noisy observations often yield more eta shrinkage.

The EBE’s posterior variance answers a different question from variance-based shrinkage. For example, in the four-observation setting with \(\omega^2=0.25\) and \(J=4\), the posterior variance is \(0.25/[1+(0.25)(4)]=0.125\). That is uncertainty about \(\eta\) conditional on one subject’s data. Variance-based shrinkage instead summarizes the spread of EBEs across subjects relative to the population standard deviation. The two quantities are related in this idealized model, but they are not interchangeable in general.

In a PK model, \(J\) is affected not only by the count of samples but also by their timing, the sensitivity of predicted concentrations to the parameter, dose history, and the residual error model. Repeated samples that carry nearly redundant information may add less than their count suggests. A local linear information approximation can also be inaccurate when the PK predictions are strongly nonlinear over the plausible range of \(\eta\).

Diagnostics, Alternatives, and Limitations

A practical information-based interpretation should be checked against the fitted model and the design. Compare sampling schedules and residual assumptions with the resulting EBE spread, and examine whether observations at the available times are actually sensitive to the random effect of interest. If EBEs remain tightly clustered despite apparently informative observations, possible explanations include a larger-than-appropriate residual variance, weak parameter sensitivity, a misspecified random-effect variance, or model misspecification. Those are prompts for investigation, not proof of a particular cause.

The Gaussian derivation assumes a single normally distributed random effect, a correctly specified normal observation model, and a fixed information value. In nonlinear models, EBEs may not be exactly linear in the data; with correlated random effects, information about one effect can depend on the others; and parameter estimates used to calculate shrinkage are themselves uncertain. The observed sample standard deviation can also differ from its model expectation simply because the cohort is finite.

The formula is one useful summary, not the only way to assess individual information. Posterior standard errors or conditional variances describe uncertainty for individuals; profile-based or simulation-based assessments can be useful when a Gaussian approximation is inadequate. These alternatives answer related but distinct questions. Shrinkage itself does not establish whether the population model fits well, nor does low shrinkage guarantee that every individual estimate is accurate.

Common pitfall: “There are many samples per subject, so eta shrinkage must be low.” Sample count alone does not determine information: high residual error, weak parameter sensitivity, or uninformative sample times can leave \(J\) small. The correction is to consider the information each observation contributes under the fitted model, and to interpret the EBE spread in light of both \(\omega^2\) and that information.

Check Your Understanding

Use the Gaussian information model and show the relevant calculation for each answer.

  1. If \(\omega^2J=1\), what is \(a\), and what is the expected variance-based eta shrinkage?
  2. With \(n=5\), \(g=2\) at each sample, and \(\sigma^2=4\), calculate \(J\).
  3. At fixed \(J\), what happens to expected shrinkage when \(\omega^2\) increases?
  4. Why is an individual posterior variance not the same quantity as variance-based eta shrinkage?

Solutions. (1) \(a=1/(1+1)=0.5\); shrinkage is \(1-\sqrt{0.5}=0.2929\), or 29.3%. (2) \(J=\sum_{j=1}^{5}g^2/\sigma^2=5(2^2/4)=5\). (3) The product \(\omega^2J\) increases, so \(a\) increases and \(1-\sqrt{a}\) decreases. (4) Posterior variance describes uncertainty about one subject’s \(\eta\) conditional on that subject’s data; variance-based shrinkage compares the across-subject EBE spread with the population random-effect standard deviation.

Clinical Biostats