Model Specification
Making the Regression Match the Question
Specification is a claim about the pattern the model represents
A regression model does more than compute coefficients. Its predictors, functional forms, interactions, and conditioning set state what systematic structure is allowed in the conditional mean.
Model specification therefore begins with the scientific or predictive question: what outcome scale is meaningful, which predictors represent the target comparison, and where is a constant slope or linear response implausible?
Diagnostics are evidence, not automatic repairs
Residual plots can reveal a persistent curve, a changing spread, or a group pattern. A curve in residuals may motivate a transformation or nonlinear basis, but the proposed change still needs a reason, a clear range of interpretation, and a fresh diagnostic check.
Deleting inconvenient valid observations or imposing an intercept constraint is not a substitute for representing the observed structure.
Interactions and conditional questions
A main-effect group indicator permits a level shift. An interaction permits the association of one predictor with the outcome to differ by group on the chosen scale.
Similarly, if the target question is explicitly conditional on a measured variable, the model must represent that variable in a defensible way.
Inclusion can align the coefficient with a conditional estimand; it does not automatically resolve measurement error, selection, unmeasured confounding, or causal identification.
Before interpreting a coefficient, write the sentence it is supposed to answer. Then verify that the model's form, predictors, and interaction structure actually encode that sentence, and that diagnostics do not contradict the representation.
A researcher expects an additional hour of tutoring to have a different association with exam score for students in two course formats. Which model term represents that expectation?
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
For each scenario, name the most direct concern: (A) residuals bend systematically as a predictor increases; (B) the predictor's slope is expected to differ by treatment group; (C) a stated conditional question requires a measured common cause that is absent from the model. Give one concise response for each.