Why Repeated Continuous Outcomes Need Their Own Model
Blood pressure, symptom scores measured on a continuous scale, and biomarker concentrations are often recorded at baseline and at several visits after treatment begins. These outcomes provide a trajectory, not just a single endpoint. Measurements from one participant are generally correlated: a participant with a relatively high blood pressure at one visit may also tend to have a relatively high value at the next. Treating all measurements as independent can therefore misstate uncertainty and give misleading inferences about efficacy.
A longitudinal model separates two questions. The mean model describes how the expected outcome changes with time, baseline status, and exposure. The covariance model describes how measurements from the same participant vary together around that mean. The model estimates an exposure-response relationship conditional on its covariates; a causal interpretation additionally depends on the causal assumptions and design considered in the earlier material on causal assumptions in individual-level exposure-response.
A common starting point is a linear mean model with time represented by visit indicators, and exposure allowed to have a different association at each visit:
In this expression, \(\bar{B}\) is the mean baseline outcome in the analysis population, \(I(\cdot)\) is an indicator, and the \(K\) postbaseline visits are compared with the reference at baseline. The coefficient \(\beta_B\) adjusts for baseline outcome. At visit \(t_k\), \(\theta_k\) is the modeled change in expected outcome per unit of exposure, holding the other model terms fixed. If exposure is constant for each participant, \(E_{ij}\) can be replaced by \(E_i\). Exposure units must be stated, and centering or rescaling exposure can make coefficients easier to interpret without changing fitted contrasts.
The equation gives a mean structure, not a complete probability model. A standard model assumes that, conditional on modeled covariates, the vector of repeated outcomes has mean given by the equation and a specified covariance matrix. A multivariate normal distribution is often used for likelihood-based estimation, though a correctly specified mean and covariance can also be analyzed with methods that provide robust standard errors. The choice of covariance structure is substantive: it should represent plausible dependence without asking the data to estimate more parameters than the design can support.
Baseline Adjustment and Within-Participant Correlation
Baseline adjustment includes the baseline outcome as a predictor of postbaseline outcomes. It can improve precision because baseline is often strongly associated with later outcome, and it accounts for chance baseline imbalance between treatment or exposure groups. This is not the same as subtracting baseline from every follow-up value. A change score \(Y_{ij}-B_i\) fixes the coefficient on baseline at one in that subtraction; an adjusted model estimates the relationship using the data.
For repeated measurements, a covariance model can be stated directly for the vector \(\boldsymbol{\epsilon}_i=(\epsilon_{i1},\ldots,\epsilon_{iK})^\mathsf{T}\). For example, a random-intercept model writes \(\epsilon_{ij}=u_i+e_{ij}\), where \(u_i\) is a participant-specific deviation and \(e_{ij}\) is visit-specific error. If \(u_i\) and the \(e_{ij}\) are independent, with variances \(\tau^2\) and \(\sigma^2\), then
This implies the same correlation for every pair of visits. That may be reasonable when persistent participant differences dominate, but it may be inadequate if nearby visits are more strongly correlated than distant visits. Alternatives include an autoregressive structure, where correlation declines with time separation, or an unstructured covariance, where each visit variance and pairwise covariance is estimated separately. An unstructured model is flexible but requires many parameters and may be unstable with few participants or many visits.
Worked Example: Why Correlation Changes the Precision of a Change
Suppose a hypothetical study measures systolic blood pressure at baseline and week 8 in 40 participants. The baseline standard deviation is 12 mmHg, the week-8 standard deviation is 10 mmHg, and their within-participant correlation is 0.75. Calculate the standard error of the sample mean change, and compare it with the calculation that incorrectly treats the two visits as independent.
For one participant, the change is \(D=Y_8-Y_0\). Its variance is \[ \operatorname{Var}(D)=\operatorname{Var}(Y_8)+\operatorname{Var}(Y_0)-2\operatorname{Cov}(Y_8,Y_0). \] The covariance equals the correlation times the two standard deviations, so it is \(0.75(10)(12)=90\) mmHg squared. Thus, \[ \operatorname{Var}(D)=10^2+12^2-2(90)=100+144-180=64\ \text{mmHg}^2, \] and the standard deviation of individual changes is \(8\) mmHg.
If participants are independent, the standard error of the mean change is \[ SE(\bar{D})=\frac{8}{\sqrt{40}}=1.265\ \text{mmHg}. \] If the correlation were ignored, the estimated variance of a change would instead be \(10^2+12^2=244\), giving \(SE=\sqrt{244/40}=2.470\) mmHg. The independence calculation is not appropriate here because it omits the within-participant covariance. This example concerns precision of a change; it does not establish that a treatment caused any observed change.
Deriving the Precision Benefit of Baseline Adjustment
A simple derivation shows why a relevant baseline measurement can improve precision. Suppose a postbaseline outcome \(Y\) and baseline \(B\) have a linear relationship with slope \(\beta_B\), and the unexplained part of \(Y\) has variance \(\sigma^2\). In a bivariate normal setting, the population linear regression slope is \(\beta_B=\operatorname{Cov}(Y,B)/\operatorname{Var}(B)\). The variance remaining after linear adjustment is
where \(\rho_{YB}\) is the correlation between baseline and follow-up. The last equality follows from \(\operatorname{Cov}(Y,B)=\rho_{YB}\sqrt{\operatorname{Var}(Y)\operatorname{Var}(B)}\). Thus, when the linear relationship is useful, baseline adjustment removes predictable variation. In a fitted clinical model, the slope is estimated and the analysis must still account for the repeated measurements and study design.
Worked Example: Interpreting a Time-Specific Exposure Effect
Consider a hypothetical repeated-measures analysis of systolic blood pressure in mmHg. Exposure is a visit-specific summary, expressed in units of 10 mg·h/L. The fitted mean model includes centered baseline \(B_i-140\), visit indicators, and exposure-by-visit terms. At week 4, suppose the relevant fitted coefficients are \(\beta_0=140\) mmHg, \(\beta_B=0.70\), \(\beta_4=-4.0\) mmHg, and \(\theta_4=-1.6\) mmHg per exposure unit. Calculate predictions for two otherwise comparable participants with baseline \(150\) mmHg and week-4 exposures of 0 and 2 units.
At week 4, the model prediction is \(140+0.70(B_i-140)-4.0-1.6E_{i4}\). For exposure 0, this gives \[ 140+0.70(150-140)-4.0-1.6(0)=140+7-4=143\ \text{mmHg}. \] For exposure 2, it gives \[ 140+0.70(150-140)-4.0-1.6(2)=140+7-4-3.2=139.8\ \text{mmHg}. \] The modeled contrast is \(139.8-143=-3.2\) mmHg. Equivalently, the fitted exposure coefficient gives \(-1.6\) mmHg per 10 mg·h/L, so a difference of 20 mg·h/L corresponds to \(-1.6(2)=-3.2\) mmHg at week 4, under this model.
This is a conditional model contrast, not automatically a causal treatment effect. A causal reading requires appropriate control of confounding, valid exposure measurement, adequate overlap, and other assumptions. The covariance model affects uncertainty in the coefficient and contrast, even though it does not alter this arithmetic from the fitted mean equation.
Estimation, Diagnostics, and Alternatives
In practice, the mean and covariance parameters are commonly estimated jointly by maximum likelihood or restricted maximum likelihood for a specified repeated-measures model. A treatment or exposure contrast at a visit is a linear combination of estimated coefficients. Its standard error must use their estimated covariance; using only the standard error of one coefficient is insufficient when the contrast combines several terms. Confidence intervals describe uncertainty in the estimated model contrast under the model and sampling assumptions, not a probability that a fixed parameter lies in a particular calculated interval.
Diagnostics should be tied to the model’s two components. Plot observed and predicted outcomes by visit and exposure range to look for systematic mean-model departures, such as curvature, an omitted time pattern, or an exposure relationship that differs across visits. Examine residuals for changing spread and extreme values. Compare residual correlations by visit lag with those implied by the covariance model, and check for convergence warnings, boundary estimates, or implausibly large standard errors. A covariance model that cannot be estimated reliably may be too complex for the available data. These checks identify possible problems; they do not prove that the model is correct.
Repeated-measures ANCOVA is often a useful primary approach because it adjusts postbaseline outcomes for baseline and uses all modeled visits while representing their correlation. A change-score analysis is simpler and can be interpretable, but constrains baseline’s contribution through subtraction and may discard information if only one visit is analyzed. A random-intercept model captures persistent participant differences parsimoniously, but its constant-correlation implication can be unrealistic. An unstructured covariance is more flexible, but costs parameters and may fail in sparse designs. The best choice depends on the visit schedule, sample size, scientific question, and whether the resulting fit is stable and credible.
The earlier material on placebo and background-therapy effects in longitudinal models addresses how those components enter the expected trajectory. Here, the additional focus is continuous outcomes and the joint handling of baseline, exposure, and within-participant dependence. A central limitation remains: a well-fitting repeated-measures model does not repair biased exposure comparisons, measurement error in exposure, or an inappropriate exposure metric.
Worked Example: A Baseline-Adjusted Week-8 Contrast and Interval
In a hypothetical randomized study, a repeated-measures model estimates a week-8 treatment contrast in systolic blood pressure of \(-5.4\) mmHg, with standard error \(2.1\) mmHg. Assume the large-sample normal approximation is adequate for this illustration. Calculate a two-sided 95% confidence interval and the approximate test statistic for a zero contrast.
The interval is estimate \(\pm 1.96SE\): \[ -5.4\pm1.96(2.1)=-5.4\pm4.116, \] so the interval is \([-9.516,-1.284]\), or approximately \([-9.52,-1.28]\) mmHg. The test statistic is \[ z=\frac{-5.4-0}{2.1}=-2.571. \] The two-sided normal-approximation p-value is approximately \(0.010\). Under the model and null hypothesis of zero treatment contrast, results at least this extreme in either direction would occur about 1.0% of the time. The interval is compatible with a reduction between about 1.28 and 9.52 mmHg under the stated model; it does not mean there is a 95% probability that the fixed contrast lies in this particular interval.
The estimate is a week-8 contrast adjusted for baseline and the other terms in the fitted model. Its interpretation depends on the contrast definition and analysis assumptions; statistical evidence against zero alone does not establish clinical importance.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- For measurements at two visits with standard deviations 8 and 6 mmHg and within-participant correlation 0.50, what is the standard deviation of the within-participant difference?
- Why is adjusting for baseline in a postbaseline model not generally equivalent to analyzing change from baseline?
- A fitted visit-specific exposure coefficient is \(0.8\) units of outcome per 5 mg·h/L. What is the model contrast for a 15 mg·h/L exposure difference at that visit?
- Name one implication of a random-intercept covariance model and one reason it might be inadequate.
- Does a precisely estimated exposure coefficient by itself demonstrate a causal exposure effect? Explain briefly.
Solutions. (1) The difference variance is \(8^2+6^2-2(0.50)(8)(6)=64+36-48=52\) mmHg squared, so its standard deviation is \(\sqrt{52}=7.211\) mmHg. (2) Change analysis fixes the baseline contribution through subtraction, whereas baseline adjustment estimates its association with follow-up; the analyses can therefore estimate different quantities and have different precision. (3) The exposure difference is three 5 mg·h/L units, so the contrast is \(0.8(3)=2.4\) outcome units. (4) A random intercept implies equal covariance, and hence equal correlation under its basic assumptions, across distinct visits; this can be inadequate when correlation decreases with time separation. (5) No. Precision concerns sampling uncertainty conditional on the fitted model; causal interpretation also requires appropriate confounding control, exposure measurement, overlap, and other causal assumptions.