Tutorials › Regression Analysis (Undergraduate) › The Common-Slope ANCOVA Model

Regression in Randomized Studies · Tutorial 896 of 991

The Common-Slope ANCOVA Model

See how a shared baseline slope and an adjusted treatment contrast describe outcomes in a randomized study.

Intermediate 9 min read

What You'll Learn

  • Write the common-slope ANCOVA model using a treatment indicator and a continuous baseline outcome
  • Explain what the model’s intercept, baseline slope, and treatment coefficient mean
  • Interpret the shared baseline slope without confusing it with a treatment effect
  • Calculate fitted outcomes for each treatment group at a stated baseline value
  • Explain why the treatment contrast is constant across baseline values in this model
  • Recognize assumptions and common interpretation errors in ANCOVA

Why Specify a Common-Slope Model?

In a randomized study, the outcome measured after treatment may be related to the outcome measured before treatment. A baseline measurement can therefore help describe how follow-up outcomes vary among participants. To use it in a regression model, we must specify how baseline relates to follow-up and how treatment assignment enters the model.

The common-slope ANCOVA model includes both the randomized treatment assignment and a continuous baseline outcome as predictors of a continuous follow-up outcome. “Common slope” means the model assigns the same baseline-outcome slope to both treatment groups. It does not mean the groups have the same predicted follow-up outcome: the treatment coefficient allows their fitted lines to have different heights.

Definition: Let \(Y_i\) be participant \(i\)'s follow-up outcome, \(X_i\) that participant's continuous baseline outcome, and \(T_i\) the treatment-assignment indicator, coded \(1\) for assignment to treatment and \(0\) for assignment to control. The common-slope ANCOVA model is
$$ Y_i=\beta_0+\beta_1T_i+\beta_2X_i+\varepsilon_i. $$
Here, \(\beta_0\) is the control-group intercept, \(\beta_1\) is the treatment-minus-control contrast at the same baseline value, \(\beta_2\) is the common change in mean follow-up outcome per one-unit increase in baseline outcome, and \(\varepsilon_i\) is the participant-specific error.

The corresponding conditional mean model is \(E(Y_i\mid T_i,X_i)=\beta_0+\beta_1T_i+\beta_2X_i\), when the error has conditional mean zero. For control participants, setting \(T_i=0\) gives a fitted mean of \(\beta_0+\beta_2X_i\). For treatment participants, setting \(T_i=1\) gives a fitted mean of \(\beta_0+\beta_1+\beta_2X_i\). Thus the two groups share the baseline slope \(\beta_2\), while the treatment coefficient shifts one line relative to the other.

Assumptions and What the Coefficients Say

The model is a useful description when the conditional mean of follow-up outcome is adequately represented by a straight-line relationship with baseline outcome in each group, and the two groups have the same slope. It also assumes \(E(\varepsilon_i\mid T_i,X_i)=0\): after accounting for treatment assignment and baseline outcome, errors do not have a systematic positive or negative mean. For conventional regression-based inference, observations are generally treated as independent, and the usual small-sample \(t\)-based procedures additionally rely on normally distributed errors with a common variance. The model’s coefficient interpretations themselves describe the specified conditional mean; they do not by themselves verify these assumptions.

The baseline slope is measured in follow-up-outcome units per baseline-outcome unit. It describes the modelled association between baseline and follow-up, holding treatment assignment fixed. The treatment coefficient is measured in follow-up-outcome units. It compares the model’s treatment and control conditional means at the same baseline value. In a randomized study, it is a baseline-adjusted treatment-assignment contrast; a causal interpretation also depends on the study and outcome data supporting that interpretation. Random assignment does not make an incorrect mean model correct.

One short algebraic check clarifies the phrase “common slope.” At a fixed baseline value \(x\), subtract the fitted control mean from the fitted treatment mean:

$$ (\beta_0+\beta_1+\beta_2x)-(\beta_0+\beta_2x)=\beta_1. $$

The baseline terms cancel, so the difference is the same at every \(x\) under this model. This is a property of the chosen model specification, not a finding that must hold in every real setting. A model with a treatment-by-baseline interaction allows the treatment contrast to vary with baseline; that is a different specification.

Worked Example: Reading a Fitted Model

Suppose a hypothetical randomized study records a baseline symptom score and a follow-up symptom score, both measured in points, with higher scores indicating more symptoms. A fitted common-slope model is

$$ \widehat{Y}_i=52+4.5T_i+0.60X_i. $$

The intercept estimate, 52 points, is the model’s fitted mean follow-up score for a control participant with baseline score \(0\). The baseline slope estimate, 0.60 points per baseline point, says that among participants with the same assignment, a 1-point higher baseline score corresponds to a modelled mean follow-up score 0.60 points higher. This is an association described by the model, not a claim that changing someone’s baseline score would cause their follow-up score to change.

The treatment coefficient is \(4.5\) points. At the same baseline score, the fitted treatment-group mean is 4.5 points higher than the fitted control-group mean. Since higher symptom scores indicate more symptoms, the fitted contrast is in the direction of a higher mean symptom score for the treatment group. This is a model-based contrast, not by itself evidence about statistical significance.

For a baseline score of 40 points, the control fitted mean is

$$ 52+0.60(40)=52+24=76\text{ points}. $$

The treatment fitted mean at that same baseline value is

$$ 52+4.5+0.60(40)=52+4.5+24=80.5\text{ points}. $$

The difference is \(80.5-76=4.5\) points, matching the treatment coefficient. The calculation compares modelled means at a common baseline value; it does not compare two particular participants.

Using the Model to Make Adjusted Predictions

A fitted model can be used to obtain a predicted follow-up mean for either assignment at a chosen baseline value. The baseline value must be meaningful for the study data. Each prediction is conditional on the stated value of \(X\); the model does not say that every participant at that baseline value will have exactly the predicted outcome.

Worked Example: Predictions at Two Baseline Values

Consider a second hypothetical trial of a physical-activity program. Minutes of activity per week are recorded at baseline and again at follow-up. Suppose the fitted model is

$$ \widehat{Y}_i=120+8T_i+0.75X_i, $$

where \(X_i\) and \(Y_i\) are measured in minutes per week. The model predicts the control-group mean at baseline \(X=80\) as

$$ 120+0.75(80)=120+60=180\text{ minutes per week}. $$

At the same baseline value, the predicted treatment-group mean is

$$ 120+8+0.75(80)=188\text{ minutes per week}. $$

At baseline \(X=120\), the control prediction is \(120+0.75(120)=210\) minutes per week, and the treatment prediction is \(120+8+0.75(120)=218\) minutes per week. Both predictions are 8 minutes per week apart. In this model, the treatment-assignment contrast is 8 minutes per week at either baseline value, while the shared baseline slope is 0.75 follow-up minutes per one additional baseline minute per week.

Worked Example: Interpreting a Negative Baseline Slope

In a third hypothetical randomized study, the baseline and follow-up outcomes are test scores measured in points, with higher scores indicating better performance. Suppose the fitted model is

$$ \widehat{Y}_i=30-3T_i+1.10X_i. $$

For a participant with a baseline score of 50 points, the fitted control mean is

$$ 30+1.10(50)=30+55=85\text{ points}. $$

The fitted treatment mean at the same baseline score is

$$ 30-3+1.10(50)=30-3+55=82\text{ points}. $$

The treatment-minus-control contrast is \(82-85=-3\) points, so the fitted treatment mean is 3 points lower than the control mean at this baseline score. The baseline slope is \(1.10\) points per baseline point: within either assigned group, a 1-point higher baseline score corresponds to a modelled follow-up mean 1.10 points higher. The positive slope does not alter the negative treatment contrast, because the model gives both groups the same baseline slope.

The intercept of 30 points is the fitted control mean at baseline score zero. If a zero score is outside the range or otherwise unrepresentative of the study participants, that intercept may have little practical meaning. Its presence in the equation is still necessary to specify the line; it should not automatically be given a substantive interpretation beyond its mathematical definition.

Reading the Model Carefully

The coefficients answer different questions. The treatment coefficient compares assignments at a common baseline value; the baseline coefficient describes the shared baseline-follow-up association; and the intercept locates the control line at baseline zero. Keeping these roles separate helps prevent overstatement. In particular, a common slope is an assumption of this model, and a treatment coefficient that is constant across baseline values is implied by that assumption.

The baseline measurement must precede treatment assignment or exposure for it to function as a baseline covariate in this randomized-study setup. An outcome measured after treatment begins is not a baseline outcome merely because it is recorded before the final follow-up. The model also presumes that the baseline-outcome relationship is adequately described as linear over the values being used. A straight line can be a poor description if the conditional mean bends substantially across the observed range.

Common mistake: “The baseline slope is 0.60, so treatment increases the outcome by 0.60 units.” This confuses the baseline coefficient with the treatment coefficient. In the common-slope ANCOVA model, \(\beta_2\) describes the baseline association in both groups, while \(\beta_1\) is the treatment-minus-control contrast at the same baseline value. Always identify which predictor a coefficient multiplies before interpreting it.

Another mistake is to describe \(\beta_1\) as the raw difference between the two observed group means. The coefficient comes from the fitted model and compares conditional means at the same baseline value; the raw difference is a separate, unadjusted summary. They may be numerically similar, but their definitions are not interchangeable. Likewise, the model’s constant treatment contrast should not be reported as proof that the true contrast is identical for every baseline value. It is the consequence of fitting a model without an interaction.

ANCOVA is useful because it states clearly how the baseline outcome is being used and what comparison the treatment coefficient represents. Its interpretation depends on the model specification, the quality of the measurements, and the randomized study’s design and conduct. Writing down the coding, units, conditional mean, and coefficient meanings makes the analysis easier to communicate accurately.

Check Your Understanding

Answer each question using the common-slope ANCOVA model and its stated coding.

  1. In \(Y_i=\beta_0+\beta_1T_i+\beta_2X_i+\varepsilon_i\), what do \(T_i=1\) and \(T_i=0\) represent?
  2. If \(\beta_2=-0.4\), what does the model say about the relationship between baseline and mean follow-up outcome, holding assignment fixed?
  3. For the model \(\widehat{Y}=10+6T+0.5X\), calculate the fitted control and treatment means at \(X=20\), and state their difference.
  4. Why does the model have the same treatment contrast at every baseline value?
  5. Explain why the intercept may be difficult to interpret if baseline value zero is not represented in the study data.