Why Assess Influence at the Subject Level?
A longitudinal biomarker model uses multiple observations from each person, and those observations are generally correlated. A subject may therefore affect an estimated treatment trend or variance component through the pattern of their entire trajectory, even if no single measurement appears extreme. Subject-level influence asks a practical question: how much would the fitted model change if one subject’s complete record were omitted?
This is a sensitivity analysis, not a rule for removing data. A subject can be influential without being erroneous, and an unusual residual does not necessarily imply substantial influence on the fitted parameters. Residual diagnostics for linear mixed models examine discrepancies between observed and model-implied data; deletion diagnostics instead measure how sensitive the fit is to particular subjects.
Write the Gaussian mixed model as \(y_i\sim N(X_i\beta,V_i(\theta))\), independently across subjects \(i=1,\ldots,m\). Here \(y_i\) is the vector of biomarker observations for subject \(i\), \(X_i\) is that subject’s fixed-effect design matrix, \(\beta\) is the vector of fixed effects, and \(V_i(\theta)\) is the within-subject covariance matrix governed by covariance parameters \(\theta\). The full data have \(N=\sum_i n_i\) observations. For a deletion fit, remove \(y_i\) and \(X_i\), and refit the parameters under the same estimation method and model structure.
The comparison should focus on quantities relevant to the scientific question: a treatment-by-time contrast, a baseline effect, a random-intercept variance, or a derived quantity such as an intraclass correlation. Report both the original and deleted estimates, and interpret their difference in the original units. A raw change cannot be called large or small without considering the estimate’s scale, standard error, or scientific relevance.
What to Compare After Each Deletion
Let \(\hat\beta\) and \(\hat\theta\) denote full-data estimates, and let \(\hat\beta_{(-i)}\) and \(\hat\theta_{(-i)}\) denote estimates after deleting subject \(i\). A direct fixed-effect change is
For a coefficient with full-data standard error \(SE(\hat\beta_j)\), a useful scale-free comparison is \(\Delta_{\beta_j,i}/SE(\hat\beta_j)\). This is a descriptive diagnostic, not a test statistic with a universal cutoff or a p-value. Also compare standard errors: a deletion can leave a coefficient nearly unchanged while substantially changing its estimated precision.
Variance components are often easier to compare on their original scale and, when positive, on a relative or logarithmic scale. If a random-intercept variance changes from \(\hat\tau^2\) to \(\hat\tau^2_{(-i)}\), report the absolute change and possibly the percentage change. When a component is near zero, a percentage can be unstable or misleading; report the estimates directly and interpret the boundary carefully.
Worked Example: A Treatment-Trend Coefficient
Suppose a hypothetical biomarker study has 24 subjects measured repeatedly over time. The model includes treatment, time in months, and a treatment-by-time interaction. The full-data interaction estimate is \(-0.42\) biomarker units per month, with standard error \(0.18\). After deleting subject 7 and refitting the same model, the interaction estimate is \(-0.31\), with standard error \(0.19\).
The estimated change is
Relative to the full-data standard error, the change is \(0.11/0.18=0.611\). Thus deletion moves the estimated treatment-trend difference by about 0.61 full-data standard errors toward zero. The model still estimates a negative interaction, but its magnitude is smaller. This calculation alone does not establish that subject 7 is erroneous or that the full-data result is unreliable; it identifies a sensitivity worth examining and reporting.
Deletion Reasoning Under ML and REML
The route to an approximate deletion calculation depends on the estimation method. Under maximum likelihood (ML), independent subject contributions yield an additive log likelihood. Under restricted maximum likelihood (REML), the restricted criterion accounts for estimation of the fixed effects using the full design and covariance structure. The simple ML deletion-score identity must not be transferred to REML.
For ML, write the log likelihood as \(\ell(\psi)=\sum_{i=1}^m\ell_i(\psi)\), where \(\psi\) collects the ML parameters and each \(\ell_i\) is a subject’s marginal log-likelihood contribution. At an interior full-data ML estimate \(\hat\psi\), the total score is zero: \(\sum_i U_i(\hat\psi)=0\), where \(U_i=\partial\ell_i/\partial\psi\). The score in the data with subject \(i\) deleted, evaluated at the full-data estimate, is then \(-U_i(\hat\psi)\). This identity relies on additive subject contributions and an interior ML solution.
Let \(J_{(-i)}\) be the negative derivative of the deleted-data score with respect to \(\psi\), evaluated at \(\hat\psi\). A first-order Taylor expansion of that score around \(\hat\psi\) gives the approximation
This is a screening approximation, not a substitute for refitting. It can be poor when deletion is substantial, the likelihood is strongly nonlinear, or the estimate is near a boundary. It also does not apply as written to REML: restricted likelihood does not estimate \(\beta\) by maximizing the restricted criterion, and its criterion does not generally split into independent subject-specific terms.
For clarity, define the full-data REML projection matrix
For covariance parameter \(\theta_a\), let \(V_a=\partial V/\partial\theta_a\). The REML score component is
The reduced-data score \(s_{R,(-i)}\) has the same form but uses \(y_{(-i)}\), \(V_{(-i)}\), \(X_{(-i)}\), and the resulting \(P_{(-i)}\). Deleting a subject changes all of these quantities, including the fixed-effect adjustment inside \(P_{(-i)}\). In particular, \(s_{R,(-i)}(\hat\theta)\) is not generally \(-s_{R,i}(\hat\theta)\).
If the reduced REML solution is interior and the negative score derivative \(J_{R,(-i)}=-\partial s_{R,(-i)}/\partial\theta'\), evaluated at \(\hat\theta\), is nonsingular, the local approximation follows by expanding the reduced score:
The corresponding fixed-effect approximation must use the reduced GLS equation, evaluated at the reduced covariance estimate, rather than treating \(\beta\) as a parameter maximized by REML. In practice, exact reduced-data REML refits are usually preferable when feasible. These equations explain how a local REML approximation can be constructed while accounting for the changed design and covariance structure.
Worked Deletion Calculations
Worked Example: Approximate ML Deletion Change
Consider a hypothetical interior ML fit with two parameters: a treatment-trend coefficient \(\beta_1\), in biomarker units per month, and \(\lambda=\log(\tau^2)\), the log random-intercept variance. At the full-data estimate, the score contribution from subject 5 is \(U_5=(8,-2)'\). Suppose the negative derivative of the deleted-data score is approximately
Because this is an interior ML fit with an additive subject-level marginal likelihood, the deleted-data score at the full estimate is approximately \(-U_5=(-8,2)'\). The first-order parameter change is
The approximation predicts that deleting subject 5 lowers the treatment-trend coefficient by \(0.0800\) biomarker units per month and raises the log variance by \(0.0800\). Since \(\lambda\) is a log variance, the corresponding approximate variance multiplier is \(\exp(0.0800)\approx1.083\), or an increase of about 8.3%. The score and information values here are hypothetical, and the calculation is only a local screen; an actual conclusion requires the deleted-data refit.
Worked Example: Change in a Random-Intercept Variance
Suppose a hypothetical random-intercept model for repeated biomarker measurements estimates a random-intercept variance of \(0.36\) and a residual variance of \(0.64\) in the full data. After deleting subject 12 and refitting, the corresponding estimates are \(0.25\) and \(0.64\). Both variances are in squared biomarker units.
The absolute change in the random-intercept variance is \(0.25-0.36=-0.11\) squared biomarker units. Relative to the full-data estimate, the change is
For this random-intercept model, the intraclass correlation is the random-intercept variance divided by the total variance. In the full data it is \(0.36/(0.36+0.64)=0.360\). After deletion it is \(0.25/(0.25+0.64)=0.281\), to three significant figures. The estimated correlation therefore falls by \(0.0791\). This is evidence that the estimated between-subject heterogeneity is sensitive to subject 12; it is not by itself evidence that the subject’s measurements should be removed.
Worked Example: REML Deletion and the GLS Equations
For a transparent hypothetical calculation, consider four subjects with one biomarker measurement each at times \(x=(0,1,2,3)'\), and outcomes \(y=(1,2,2,5)'\). Use the fixed-effect design with an intercept and linear time trend, and suppose the covariance at the calculation point is \(V=I\). This simple Gaussian case illustrates the REML fixed-effect calculation; it is not a repeated-measures variance-component example.
The full-data least-squares fit, which is GLS when \(V=I\), has \(\bar{x}=1.5\), \(\bar{y}=2.5\), \(S_{xx}=5\), and \(S_{xy}=6\). Thus the slope is \(6/5=1.2\), and the intercept is \(2.5-(1.2)(1.5)=0.7\). The fitted values are \(0.7,1.9,3.1,4.3\), so the residual sum of squares is
Delete subject 4, with \(x=3\) and \(y=5\). The remaining means are \(\bar{x}=1\) and \(\bar{y}=5/3\). The reduced sums are \(S_{xx}=2\) and \(S_{xy}=1\), giving a reduced GLS slope of \(1/2=0.500\) and intercept \(5/3-0.500=1.167\). This also follows directly from the reduced normal equations \((X_{(-4)}'X_{(-4)})\hat\beta_{(-4)}=X_{(-4)}'y_{(-4)}\).
For this model with \(N=4\) observations and \(p=2\) fixed effects, the REML estimate of the scalar residual variance is the residual sum of squares divided by \(N-p\): \(1.80/(4-2)=0.900\). After deletion, the reduced residuals are \(-1/6,1/3,-1/6\), with sum of squares \(1/6\); the reduced REML variance estimate is \((1/6)/(3-2)=0.167\). Both the fixed-effect estimate and the REML criterion depend on the reduced design and residual projection. This example illustrates why the ML shortcut of negating one subject’s score cannot stand in for a REML deletion calculation.
Diagnostics, Alternatives, and Limitations
A useful influence review begins with the model fit, not a mechanical deletion threshold. Refit after removing each subject, or at least each subject flagged by a sensible preliminary screen. Check that the same fixed-effect coding, time scale, covariance structure, and estimation method are used in every comparison. Record convergence warnings and the estimates and standard errors of the quantities of interest. If a deletion fit fails or changes the estimable parameter set, report that limitation rather than treating a missing estimate as zero.
Interpret influence alongside the subject’s observed trajectory and residual diagnostics. A coherent but extreme trajectory may be scientifically important; a data-entry error calls for correction based on the source record, not deletion merely because it changes a coefficient. Conversely, a subject with modest residuals can still have high influence if their observation pattern or covariate values provide unusual leverage. Influence is about the fitted model’s sensitivity, not a judgment of the subject.
Compared with deleting individual observations, deleting a complete subject respects the independent-subject sampling structure and avoids retaining only selected pieces of a person’s trajectory. A one-case-at-a-time refit is also more interpretable than a single global fit statistic: it shows which estimates move and in what direction. Approximate score or Hessian diagnostics can reduce computation for ML screening, but exact refits remain the clearest check. For REML, use reduced-data REML criteria and GLS equations; do not use the ML additive-score identity.
Deletion diagnostics have limitations. A single-subject deletion may miss joint influence from a group of subjects, and conclusions can depend on the chosen model and target parameter. Large changes can reflect weak information or covariance misspecification as well as an unusual subject. If several deletions substantially change a conclusion, describe the sensitivity and consider scientifically justified model checks. Do not choose a preferred model or exclude subjects solely to obtain a desired result.
Check Your Understanding
Answer each question, then compare with the solutions below.
- A full-data slope is \(0.60\) biomarker units per month with standard error \(0.20\). Deleting one subject gives \(0.45\). Calculate the change in the slope and express it in full-data standard errors.
- A random-intercept variance changes from \(0.50\) to \(0.40\) after a deletion, while the residual variance is \(0.50\) in both fits. Calculate the percentage variance change and both intraclass correlations.
- Why does the ML identity for the deleted-data score not generally hold for REML?
- A subject has a large residual but deletion barely changes the treatment effect or variance estimates. Is the subject necessarily influential? Explain.
Solutions. (1) The change is \(0.45-0.60=-0.15\) biomarker units per month, or \(-0.15/0.20=-0.750\) full-data standard errors. (2) The percentage change is \((0.40-0.50)/0.50\times100\%=-20.0\%\). The full-data intraclass correlation is \(0.50/(0.50+0.50)=0.500\); after deletion it is \(0.40/(0.40+0.50)=0.444\). (3) REML adjusts for fixed-effect estimation using the design and covariance; deleting a subject changes that adjustment and the reduced REML criterion is not generally a sum of independent subject contributions. (4) No. The residual may be unusual, but influence concerns changes in fitted quantities under deletion. A large residual with negligible deletion changes is not necessarily influential for the stated estimates.