Use indicators to make category comparisons explicit

A categorical predictor with k levels is commonly represented by k − 1 indicator columns plus an intercept. One level is declared the reference.


The intercept is the modeled mean for that reference level when other predictors are at their reference or zero values, and each indicator coefficient is a difference from that reference under the same conditions.


The choice of reference changes the coefficient labels and intercept but not the fitted mean for any observation. Re-expressing the same model with another reference category is therefore a change of coordinates, not a change of data or scientific comparison. Planned contrasts can compare any two category means by subtracting the relevant fitted means.


A categorical coefficient is conditional on the other predictors included in the model. It should not be described as a causal effect merely because it is adjusted. Inspect the coding, reference level, and model assumptions before interpreting a sign or p-value.

A model for a continuous outcome uses group A as the reference: E(Y | group) = 7 + 1.2I(group B) − 0.5I(group C). What is the modeled mean for group C?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In the additive main-effects model E(Y | age, treatment) = beta0 + beta1(age) + beta2 I(treatment 1), treatment 0 is the reference. The coefficient on treatment 1 is −2.4. Which interpretation is appropriate?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A three-group model uses A as reference and has fitted coefficients: intercept 10, B indicator 3, C indicator −1. If B is made the reference without changing fitted group means, what is the new intercept?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors