Tutorials › Bioavailability and Bioequivalence › Influential Subjects in Crossover ANOVA

Log-Scale Analysis and ANOVA · Tutorial 199 of 399

Influential Subjects in Crossover ANOVA

You will learn to quantify how much each participant changes a fitted crossover treatment contrast and to interpret that change as a diagnostic rather than a reason for automatic exclusion.

Intermediate 12 min read

What You'll Learn

  • Define a subject-level treatment contrast and its residual in a balanced two-period crossover.
  • Derive how deleting one subject changes the mean treatment contrast.
  • Compare a subject’s residual size with the effect of deleting that subject.
  • Use a consistent model refit to assess influence in more complex crossover data.
  • Interpret deletion sensitivity without treating it as an automatic exclusion rule.

Why Subject-Level Influence Matters

In a crossover study, each participant receives multiple formulations, so the treatment comparison is informed by within-participant data. A participant may have unusually high log exposure in both periods yet contribute little to the treatment contrast. Conversely, a participant whose treatment-minus-reference difference is far from the others can noticeably shift that contrast. These are different diagnostic questions: how unusual is the participant’s model residual, and how much does the fitted treatment estimate change when that participant is omitted?

Influence analysis answers the second question directly. It checks the sensitivity of a specified model’s treatment estimate to individual subjects; it does not establish that an observation is erroneous or that the subject should be excluded. The model, treatment contrast, and analysis population must remain clearly defined throughout the assessment.

Subject-Level Contrasts and Residuals

Let \(y_{ij}\) denote the log-transformed exposure for subject \(i\) in period \(j\), with treatment and period recorded for each observation. A typical two-period crossover model includes treatment, period, and sequence effects, along with a subject effect and residual error. Its interpretation depends on the design and covariance assumptions: for example, the treatment contrast is interpreted under the specified additive model, and subjects are assumed independent of one another. The residual distribution and covariance structure must be adequate for the fitted model and its standard errors.

For a complete, balanced two-treatment, two-period crossover, define \(d_i\) as subject \(i\)’s log exposure on treatment minus that subject’s log exposure on reference. With equal representation of the two treatment sequences, the average of these signed differences estimates the treatment contrast under the additive model. The period contribution has opposite signs in the two sequences and cancels in the balanced average. If sequences are not equally represented, periods are missing, or the design is more complex, this simple average need not be the fitted treatment estimate; use the specified crossover model instead.

Definition: In a balanced, complete two-period crossover, the subject-level treatment contrast is \(d_i=y_{iT}-y_{iR}\), where \(y_{iT}\) and \(y_{iR}\) are subject \(i\)’s log outcomes under treatment and reference. The fitted treatment contrast is \(\hat{\theta}=\bar{d}\), and the subject-level contrast residual is \(e_i=d_i-\hat{\theta}\). A leave-one-subject-out estimate, \(\hat{\theta}_{(-i)}\), is the treatment estimate after removing subject \(i\) and refitting the same analysis.

The contrast residual \(e_i\) is directly relevant to the treatment comparison: it says how far subject \(i\)’s treatment-minus-reference difference lies from the fitted average. This is not necessarily the same as an individual observation’s residual from the full model. For instance, the two period observations for a subject may both be high because of a subject-level shift, while their difference is close to the average treatment contrast.

In a more general mixed model, let \(\hat{\boldsymbol{\beta}}\) be the fitted fixed-effect coefficients and let \(c\) specify the treatment contrast. Then the reported contrast is \(c^\mathsf{T}\hat{\boldsymbol{\beta}}\). Subject-level response residuals can be inspected as a vector, with scaling informed by the fitted covariance model; the treatment contrast residual is not a substitute for that fuller diagnostic. Most importantly for influence, remove one subject’s entire set of observations and refit the same model, then compare the resulting \(c^\mathsf{T}\hat{\boldsymbol{\beta}}_{(-i)}\) with the full-data estimate.

Why Deleting One Subject Changes the Estimate

In the balanced example, deleting a subject changes the average of the remaining \(n-1\) contrasts. The following identity makes the connection between residual and influence precise:

$$ \hat{\theta}_{(-i)} =\frac{\sum_{k\ne i}d_k}{n-1} =\frac{n\hat{\theta}-d_i}{n-1} $$
$$ \hat{\theta}_{(-i)}-\hat{\theta} =\frac{\hat{\theta}-d_i}{n-1} =-\frac{e_i}{n-1} $$

The first equality follows because the full-data sum is \(n\hat{\theta}\), and removing subject \(i\) subtracts \(d_i\). Subtracting \(\hat{\theta}\) from that remaining-sample average gives the second expression. Thus, in this particular setting, a more extreme contrast residual produces a larger absolute deletion change, with the change also depending on sample size. This identity does not apply in this form to an unbalanced design or a general mixed model; there, deletion requires a model refit.

Worked Example: A Subject Shifts the Balanced Treatment Estimate

Suppose six hypothetical subjects have treatment-minus-reference log exposure differences \(0.08,\ 0.10,\ 0.06,\ 0.12,\ 0.09,\) and \(0.45\). Assume complete data, equal sequence representation, and the additive crossover model described above. The unusually large last difference is a diagnostic signal to investigate, not evidence by itself that the data are invalid.

The fitted contrast is

$$ \hat{\theta} =\frac{0.08+0.10+0.06+0.12+0.09+0.45}{6} =\frac{0.90}{6} =0.150 $$

For the sixth subject, the contrast residual is \(e_6=0.45-0.15=0.30\) log units. Omitting that subject gives

$$ \hat{\theta}_{(-6)} =\frac{0.90-0.45}{5} =\frac{0.45}{5} =0.090 $$

The fitted contrast changes by \(0.090-0.150=-0.060\) log units, which also follows from \(-e_6/(6-1)=-0.30/5=-0.060\). Exponentiating the estimates gives geometric mean treatment-to-reference ratios of \(\exp(0.150)=1.162\) with all subjects and \(\exp(0.090)=1.094\) without the sixth subject. The subject has a substantial effect on the point estimate. This comparison is a sensitivity diagnostic; it does not, on its own, determine whether the participant should be excluded.

Assessing the Change in Context

A deletion change should be read alongside the full-data estimate, its standard error, and the study’s scientific scale. One descriptive summary is the signed change in treatment contrast, \(\hat{\theta}_{(-i)}-\hat{\theta}\); its absolute value ranks the size of the shift but hides its direction. Dividing by the full-data \(SE\) expresses the shift in units of that estimate’s standard error. This ratio is a diagnostic scale, not a hypothesis test or a universal cutoff for influence.

For log outcomes, exponentiating a treatment contrast gives the corresponding treatment-to-reference geometric mean ratio. The difference between two log-scale estimates does not translate into the same additive difference between their ratios, so report the log-scale changes and, when useful, the exponentiated estimates. A shift should be interpreted in context: its size, direction, precision, and possible impact on the scientific conclusion all matter.

Worked Example: High Exposure Does Not Necessarily Mean High Contrast Influence

Consider six hypothetical subject-level log contrasts \(0.08,\ 0.10,\ 0.06,\ 0.12,\ 0.09,\) and \(0.11\). The sixth subject’s two log observations are both much higher than the other subjects’ observations, but their within-subject difference is \(0.11\). Assume a complete, balanced design and the same additive model.

The full-data treatment contrast is

$$ \hat{\theta} =\frac{0.08+0.10+0.06+0.12+0.09+0.11}{6} =\frac{0.56}{6} =0.09333 $$

Removing the sixth subject gives \(\hat{\theta}_{(-6)}=(0.56-0.11)/5=0.09000\), a change of \(0.09000-0.09333=-0.00333\) log units. The participant’s contrast residual is \(0.11-0.09333=0.01667\), so the deletion identity gives \(-0.01667/5=-0.00333\). Although the subject has a high overall exposure level, the within-subject contrast is close to the fitted contrast and the treatment estimate barely moves. A common subject-level shift is not, by itself, evidence of influence on the treatment contrast.

For a complete balanced crossover, the subject-level differences also allow a simple standard-error comparison. If they are independent and adequately modeled with a common variance, the usual standard error of their mean is \(s_d/\sqrt{n}\), where \(s_d\) is the sample standard deviation of the \(d_i\). This estimate of uncertainty complements, but does not replace, the deletion comparison. In a more complex mixed model, use the standard error from the refitted model rather than assuming the paired-difference formula still applies.

Leave-One-Subject-Out Refitting in General Models

When the data are incomplete or the crossover is not a simple balanced two-period design, use the same model specification for the full-data and deletion fits. Retain the same response scale, treatment contrast, fixed effects, and covariance structure. Remove all records for one subject, not merely one period, and refit the model. Record the new treatment estimate, its standard error, and the deletion change. If the model cannot be fitted after a deletion, report that limitation rather than silently changing the model.

Worked Example: Interpreting a Deletion Refit

Suppose a hypothetical crossover dataset has a missing period for one participant, so the balanced paired-mean identity is not applicable. The prespecified mixed model is fitted to all available observations. It estimates the log treatment contrast as \(0.120\) with \(SE=0.040\). After all observations for subject 7 are removed and the same model is refitted, the estimate is \(0.075\) with \(SE=0.043\). Treat these figures as hypothetical model output.

The deletion change is

$$ \hat{\theta}_{(-7)}-\hat{\theta} =0.075-0.120 =-0.045 $$

Relative to the full-data standard error, the change is \(-0.045/0.040=-1.125\) standard errors. The full-data estimate exponentiates to \(\exp(0.120)=1.128\), while the deletion estimate exponentiates to \(\exp(0.075)=1.078\). The fit is therefore sensitive to this participant’s data on the chosen scale. The two estimates do not establish that one fit is correct and the other is not; they identify a result that merits examination of the data and model assumptions.

1
Specify the target.
State the fitted treatment contrast, outcome scale, model, and analysis population before examining subject-level influence.
2
Inspect relevant residuals.
For a balanced two-period design, examine signed treatment-minus-reference contrasts and their residuals. For more complex designs, inspect subject-level residual information in light of the fitted covariance structure.
3
Refit after deleting a whole subject.
Keep the model specification and contrast fixed, then compute the deletion estimate and its change from the full-data estimate.
4
Interpret sensitivity, not a verdict.
Consider the direction and size of the shift, its scale relative to uncertainty, and the subject’s data and study conduct. A diagnostic alone is not a deletion rule.

Diagnostics, Alternatives, and Limitations

Residual diagnostics and deletion refits answer related but distinct questions. A residual describes disagreement between the observed data and the fitted model. A deletion refit describes how sensitive a particular estimate is to one subject’s data. In the balanced paired-contrast setting, these quantities are mathematically linked by the identity above; in general mixed models, the relationship also depends on the design, covariance structure, and estimation method. Do not assume that the most extreme raw observation must have the greatest effect on the treatment estimate.

Potential warning signs include a large change in the treatment estimate after a single-subject deletion, a change in the estimate’s direction, marked changes in its standard error, or a refit that fails or behaves differently from the full-data fit. These findings prompt checks of data transcription, treatment and period labels, protocol deviations, missingness, model convergence, and the suitability of the fitted covariance assumptions. They do not identify the cause of the sensitivity automatically.

The balanced paired-difference calculation is transparent and useful when its design conditions hold. A full mixed-model refit is the appropriate comparison when the analysis includes missing periods or other structure not represented by that simple average. Neither approach replaces model-based residual assessment, and neither provides a universal threshold for declaring a subject influential. Deletion diagnostics can also be unstable in small studies: removing one participant changes both the estimate and the information available for estimating variability.

A common mistake is to label a participant influential solely because one log exposure is extreme, or to remove that participant because the deletion estimate seems more plausible. The correction is to assess the subject’s contribution to the specified treatment contrast, examine the model and data, and report sensitivity transparently. Any exclusion requires a defensible, prespecified or scientifically justified reason independent of the desired result; influence analysis alone is not that reason.

Key takeaway: Subject-level residuals identify departures from the fitted pattern, while leave-one-subject-out refits quantify sensitivity of the treatment contrast. Report both in context, preserve the specified model, and treat influence as a reason to investigate—not as an automatic reason to exclude.

Check Your Understanding

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

  1. In a balanced two-period crossover, what does \(e_i=d_i-\hat{\theta}\) measure?
  2. Six subjects have mean treatment contrast \(0.15\), and one subject’s contrast is \(0.45\). What is the mean after deleting that subject?
  3. Why can a participant with high log exposure in both periods have little influence on the treatment contrast?
  4. In a crossover model with a missing period, why should the analyst not rely automatically on the balanced paired-mean deletion formula?
  5. A deletion refit changes the treatment estimate substantially. Does that finding alone justify excluding the subject? Explain.

Solutions. (1) It measures how far that subject’s treatment-minus-reference log difference is from the fitted mean difference. (2) The full sum is \(6(0.15)=0.90\); the remaining mean is \((0.90-0.45)/5=0.090\). (3) A shared subject-level shift can raise both measurements while leaving their difference close to the fitted treatment contrast. (4) Missing data can make the fitted model estimate differ from a simple average of complete subject contrasts, so the specified model must be refitted after deletion. (5) No. It is a sensitivity signal that calls for investigation and transparent reporting, not an exclusion rule by itself.