Tutorials › Nonlinear Mixed-Effects Models (NLME) › Estimating Variance Components From Replicated Profiles

Study Design and Optimal Sampling for NLME · Tutorial 767 of 797

Estimating Variance Components From Replicated Profiles

Learn to derive and use Fisher information to assess how replicated profiles estimate between-subject and residual variance components.

Advanced 13 min read

What You'll Learn

  • State the balanced Gaussian random-intercept model and the assumptions required for its information calculations.
  • Derive the Fisher information matrix for the between-subject and residual variances.
  • Calculate joint-estimation precision bounds for both variance components.
  • Explain why one observation per subject cannot separate the two variances.
  • Compare information-based precision with moment estimators and identify conditions that weaken the calculation.

Why Replication Matters for Variance Components

A repeated profile contains two sources of variation: subjects may differ systematically from one another, and observations may fluctuate within a subject. A design can estimate these sources separately only if it contains enough repeated measurements to distinguish a subject-level shift from observation-level noise. Fisher information makes this distinction quantitative: it describes the local precision available for estimating each variance component under a specified model and design.

Here the focus is a balanced Gaussian random-intercept model. The calculation is deliberately specific: it shows how the number of independent subjects and the number of observations per subject contribute to precision for the between-subject variance and the residual variance. It does not, by itself, establish that the model is adequate for a nonlinear pharmacokinetic profile.

Model and assumptions: For \(n\) independent subjects, each measured \(m\) times, let \(Y_{ij}=\mu+b_i+\epsilon_{ij}\), where \(i=1,\ldots,n\) and \(j=1,\ldots,m\). Assume \(b_i\sim N(0,\tau^2)\), \(\epsilon_{ij}\sim N(0,\sigma^2)\), and that all random effects and residuals are mutually independent. The mean \(\mu\) is common across observations; the design is balanced; and the variance components are interior values with \(\tau^2>0\) and \(\sigma^2>0\). The target parameters are the between-subject variance \(\tau^2\) and residual variance \(\sigma^2\).

The marginal covariance matrix for one subject's \(m\)-vector is \(V=\tau^2\mathbf{1}\mathbf{1}^{T}+\sigma^2 I_m\). Thus two distinct observations from the same subject have covariance \(\tau^2\), while each observation has variance \(\tau^2+\sigma^2\). Observations from different subjects are independent. This covariance structure is the key link between replication and variance-component information.

Fisher Information for the Two Variances

For a multivariate normal observation with mean \(\mu\mathbf{1}\) and covariance \(V\), the expected Fisher information for covariance parameters \(\theta_a,\theta_b\) is \(\frac{1}{2}\operatorname{tr}(V^{-1}V_aV^{-1}V_b)\), where \(V_a=\partial V/\partial\theta_a\). The covariance parameters here are \(\theta_1=\tau^2\) and \(\theta_2=\sigma^2\). The mean parameter is orthogonal to these covariance parameters in expected Fisher information for this Gaussian model, so estimating the common mean does not add a mean-covariance cross term to this matrix.

The calculation is easiest by separating each subject's profile into its average direction and its within-subject contrasts. Along the average direction, \(V\) has eigenvalue \(\sigma^2+m\tau^2\); each of the \(m-1\) contrast directions has eigenvalue \(\sigma^2\). Write \(A=\sigma^2+m\tau^2\). The eigenvalues show directly that the average contains information about both variance components, while the contrasts contain information about the residual variance.

Fisher information: For all \(n\) independent subjects, the expected information matrix for \((\tau^2,\sigma^2)\) is
$$ \mathcal{I}(\tau^2,\sigma^2) = \frac{n}{2} \begin{pmatrix} \frac{m^2}{A^2} & \frac{m}{A^2} \\ \frac{m}{A^2} & \frac{1}{A^2}+\frac{m-1}{\sigma^4} \end{pmatrix}, \qquad A=\sigma^2+m\tau^2. $$

The terms involving \(A\) arise from the one average direction per subject; the term involving \(m-1\) arises from the within-subject contrasts. The off-diagonal entry is nonzero: the subject average depends on both \(\tau^2\) and \(\sigma^2\), so the two variance estimates are not generally independent.

Derivation of the Joint Precision Bound

For an unbiased estimator under regularity conditions, the Cramér–Rao inequality says its covariance matrix is at least the inverse Fisher information matrix in the positive-semidefinite sense. For a regular maximum-likelihood estimator in a sufficiently informative sample, the inverse information also describes its approximate asymptotic covariance. These are local, model-based results, not guarantees of finite-sample performance.

The determinant calculation shows when the two parameters can be distinguished. Put \(s=\sigma^2\), so \(s^2=\sigma^4\). For one subject, the determinant of the information matrix is

$$ \frac{1}{4}\left[ \frac{m^2}{A^2}\left(\frac{1}{A^2}+\frac{m-1}{s^2}\right) -\frac{m^2}{A^4} \right] = \frac{m^2(m-1)}{4A^2s^2}. $$

For \(n\) subjects the determinant is multiplied by \(n^2\). It is positive exactly when \(m>1\), given positive variances. Inverting the matrix gives the diagonal entries of the joint-estimation precision bound:

$$ \operatorname{Var}(\widehat{\tau^2}) \ \gtrsim\ \frac{2\left[\sigma^4+(m-1)A^2\right]} {n m^2(m-1)}, \qquad \operatorname{Var}(\widehat{\sigma^2}) \ \gtrsim\ \frac{2\sigma^4}{n(m-1)}. $$

The symbol \(\gtrsim\) indicates an information lower bound for unbiased estimation, or an approximate asymptotic variance for a regular efficient estimator. The corresponding standard errors have units of variance, such as concentration squared—not concentration. These expressions account for estimating both components jointly; treating one component as known would give a different and usually smaller bound.

Worked Example: Precision With 40 Subjects and Four Samples Each

Suppose a hypothetical study has \(n=40\) subjects and \(m=4\) observations per subject. For planning calculations, take \(\tau^2=0.36\) and \(\sigma^2=0.64\), in squared concentration units. These are assumed values, not results from a real study. Then \(A=0.64+4(0.36)=2.08\).

The approximate variance bound for the estimated between-subject variance is

Substitution: \(2[0.64^2+3(2.08)^2]/[40(4^2)(3)]\).

Arithmetic: \(2[0.4096+3(4.3264)]/1920=26.7776/1920=0.01395\). The corresponding standard error is \(\sqrt{0.01395}=0.1181\) squared concentration units.

For the residual variance, the bound is \(2(0.64^2)/[40(4-1)]=0.8192/120=0.006827\), giving an approximate standard error of \(\sqrt{0.006827}=0.08262\) squared concentration units. Both values quantify expected sampling uncertainty under the assumed model; they are not confidence intervals and do not account for model misspecification.

What Changes When the Design Changes?

For fixed \(m\) and parameter values, the information matrix is proportional to \(n\), so the variance bounds are proportional to \(1/n\), and the standard errors decrease in proportion to \(1/\sqrt{n}\). Increasing \(m\) adds within-subject contrasts, improving information about \(\sigma^2\), and changes the subject-average variance, which informs \(\tau^2\). The effects on the two components are not interchangeable: a new subject contributes a new independent subject-level deviation, whereas another observation on an existing subject does not.

Worked Example: Comparing Two Allocations With the Same Observation Count

Consider two hypothetical balanced designs with 120 total observations. Design A has \(n=30,m=4\); Design B has \(n=60,m=2\). Assume \(\tau^2=0.25\) and \(\sigma^2=0.75\), in squared concentration units. Both designs have at least two observations per subject and independent subjects, so the information matrix is nonsingular.

For Design A, \(A=0.75+4(0.25)=1.75\). Its between-subject variance bound is \(2[0.75^2+3(1.75^2)]/[30(16)(3)]=2[0.5625+9.1875]/1440=19.5/1440=0.01354\). The standard error is \(\sqrt{0.01354}=0.1164\) squared concentration units. The residual variance bound is \(2(0.75^2)/[30(3)]=1.125/90=0.01250\), with standard error \(0.1118\).

For Design B, \(A=0.75+2(0.25)=1.25\). Its between-subject variance bound is \(2[0.5625+1(1.25^2)]/[60(4)(1)]=4.25/240=0.01771\), with standard error \(0.1331\). Its residual variance bound is \(2(0.5625)/[60(1)]=0.01875\), with standard error \(0.1369\).

Under these assumed values and this model, Design A has smaller information-based standard errors for both variance components. The calculation compares these two specified designs only; it does not imply that one allocation is universally preferable under other parameter values, costs, schedules, or scientific objectives.

Connection to Replicated-Profile Moment Estimates

The information calculation has a useful counterpart in simple moment estimators. Let \(\bar{Y}_i\) be subject \(i\)'s average, and let \(S_B^2\) be the sample variance of the \(n\) subject averages. The average has variance \(\tau^2+\sigma^2/m\). The pooled within-subject sum of squares estimates residual variation independently of the subject averages under the normal model. Consequently, the moment estimates are the pooled within-subject variance for \(\sigma^2\), and \(S_B^2-\widehat{\sigma^2}/m\) for \(\tau^2\).

The subtraction explains both the strength and the weakness of replication-based variance estimation: the observed spread of subject averages combines between-subject variation with residual noise averaged across \(m\) observations. Under the model, the exact sampling variance of the between-subject moment estimate is

$$ \operatorname{Var}(\widehat{\tau^2}_{\mathrm{mom}}) = \frac{2(\tau^2+\sigma^2/m)^2}{n-1} + \frac{2\sigma^4}{n(m-1)m^2}. $$

The first term is uncertainty in the sample variance of subject averages; the second is uncertainty in the estimated residual variance used in the subtraction. For large \(n\), this agrees to first order with the inverse-information bound above. The pooled within-subject estimator has variance \(2\sigma^4/[n(m-1)]\), matching its information bound under this model.

Worked Example: Why a Single Measurement Per Subject Is Not Enough

Suppose a hypothetical design measures one observation per subject, so \(m=1\), and assumes the same random-intercept model. Each observation then has marginal distribution \(Y_{i1}\sim N(\mu,\tau^2+\sigma^2)\). The data identify the sum of the two variances, not their separate values.

In the information formula, \(m-1=0\), and the determinant becomes \(n^2m^2(m-1)/(4A^2\sigma^4)=0\). The information matrix is singular, so it has no inverse and gives no finite joint precision bound for both components. Increasing the number of such subjects improves estimation of the sum \(\tau^2+\sigma^2\), but cannot resolve how much comes from between-subject differences and how much from residual variation.

A repeat measurement within at least some subjects creates within-subject contrasts. In the balanced design considered here, \(m>1\) makes the two components locally identifiable. In a more complex design, the relevant requirement is enough replicated structure to distinguish the covariance contributions; merely having many observations in total is not sufficient.

Diagnostics, Alternatives, and Limitations

These bounds are most useful as a model-based check on whether a proposed replication pattern contains information for the intended variance components. They should be interpreted alongside checks of the model assumptions and, when possible, simulation from the full planned analysis.

  • Check replication and independence. If there are no repeated observations within subjects, the two components are confounded. If subjects are clustered or otherwise dependent, the independent-subject information calculation overstates the effective information.
  • Check the covariance pattern. Serial residual correlation, time-varying residual variance, or random slopes change the covariance matrix and hence the information. Applying this random-intercept formula unchanged can give misleading precision.
  • Check the Gaussian and interior-parameter conditions. Strong skewness, a variance near zero, or small numbers of subjects can make asymptotic approximations unreliable. Variance estimates can also hit the zero boundary, where ordinary interior-point approximations do not apply.
  • Separate model-based precision from actual performance. Fisher information uses the assumed parameter values and model. A poor parameter guess or structural misspecification can make the resulting precision assessment unrepresentative.

Moment estimators are transparent and show directly how within-subject and between-subject variation enter, but subtraction can produce a negative estimate of \(\tau^2\) in a finite sample even though a variance cannot be negative. Constrained likelihood estimation avoids reporting an inadmissible negative variance, while restricted maximum likelihood (REML) accounts for estimation of fixed effects when estimating covariance parameters. Neither alternative removes the need for a sound covariance model. Parametric simulation can assess finite-sample bias, boundary estimates, and interval coverage for a proposed analysis; unlike the local Fisher calculation, it can reproduce the actual estimator and constraints, but its conclusions still depend on the simulated model.

A common mistake is to interpret the number of observations as the only determinant of variance-component precision. For example, 120 observations from 30 subjects with four replicates each do not contain the same covariance information as 120 observations from 120 subjects with one measurement each. The correction is to represent both \(n\) and \(m\) in the covariance model and inspect the full information matrix: replication within subjects supplies contrasts, while independent subjects supply independent realizations of the random effect.

Key takeaway: In a balanced Gaussian random-intercept model, both variance components can be separated only with within-subject replication. Fisher information quantifies the distinct contributions of subject averages and within-subject contrasts, but its precision bounds are conditional on the assumed model and parameter values.

Check Your Understanding

Answer each question using the model and assumptions stated above. Brief solutions follow.

  1. What feature of a replicated profile provides information specifically about residual variance?
  2. Why is the Fisher information matrix singular when \(m=1\), even if \(n\) is large?
  3. With \(m\) and the variance values fixed, what happens to the approximate standard errors when \(n\) is multiplied by four?
  4. Give one reason the displayed precision bounds may be unreliable for an actual analysis.

Solutions. (1) The \(m-1\) within-subject contrasts contribute residual-variance information. (2) Each subject has only one marginal variance, \(\tau^2+\sigma^2\), so the separate components cannot be identified. (3) The information is multiplied by four, so variance bounds are divided by four and standard errors are divided by two. (4) For example, serial residual correlation changes the covariance structure and invalidates the displayed information calculation; small samples or a variance near zero can also weaken the asymptotic approximation.