Before You Trust a Regression Model: A Practical Diagnostic Checklist for Researchers
A practical checklist for assessing whether a fitted regression model is adequately specified, diagnosed, and—when prediction is the goal—validated. It covers data structure, residuals, influence, functional form, fit, uncertainty, logistic regression diagnostics, and predictive validation.
Regression software can produce coefficients, standard errors, confidence intervals, and p-values even when the fitted model deserves substantial scrutiny.
That is why regression diagnostics are not an optional extra after the “real” analysis. They are part of deciding whether the fitted model represents the data and research question adequately enough for its estimates or predictions to be interpreted.
The exact checks depend on the model family. Ordinary linear regression, logistic regression, ordinal regression, and survival regression do not share one universal residual diagnostic or goodness-of-fit test. A diagnostic that is meaningful for one model can be inappropriate or have a different interpretation in another (Agresti, 2013; Harrell, 2015; Rosner, 2016).
A Practical Regression-Diagnostics Sequence
Data structure → specification → residuals → influence → functional form → fit → uncertainty → validation if predictive.
The goal is not to make every diagnostic “pass.” The goal is to understand what the fitted model assumes, identify consequential departures, and determine whether the scientific interpretation remains defensible.
Why a Regression Table Is Not Enough
A regression coefficient is conditional on a model specification. Before interpreting it, researchers need to know whether that specification reasonably represents the outcome, predictors, dependence structure, and relationships of interest.
For ordinary multiple linear regression, Rosner describes assumptions concerning the conditional mean, constant variance, and normal distribution of the outcome and presents residual and partial-residual plots as tools for evaluating aspects of those assumptions (Rosner, 2016).
For generalized linear models, the diagnostic framework changes. Agresti develops residuals, leverage, goodness-of-fit procedures, and model comparisons within the GLM framework and shows that their behavior is not identical to ordinary linear regression (Agresti, 2013).
Harrell places these questions within a broader modeling strategy in which predictor specification, nonlinear effects, interactions, overfitting, and validation all affect whether a regression model can be trusted for its intended purpose (Harrell, 2015).
A statistically fitted model is a model for which an estimation procedure has returned estimates. An adequately diagnosed model is one whose important structural assumptions, specification, unusual observations, and fit have actually been examined.
And when the purpose is prediction, diagnosis of the development-sample fit is still not enough: predictive performance must also be validated (Harrell, 2015).
First Principle: Diagnostics Depend on the Regression Family
Do not apply one generic “regression model assumptions” checklist to every regression.
| Model family | Diagnostic questions that become especially important |
|---|---|
| Ordinary linear regression | Conditional linearity, residual behavior, constant variance, conditional distributional assumptions, unusual observations, functional form |
| Logistic regression | Adequacy of the logit specification, continuous-predictor functional form, residuals appropriate to binomial models, leverage/influence, goodness of fit, sparse data and model adequacy |
| Ordinal regression | Response-model specification plus assumptions specific to the chosen ordinal model, such as proportional-odds restrictions where applicable |
| Survival regression | Model-specific time-to-event assumptions and residual diagnostics; for a Cox model, proportional hazards and time-varying effects require dedicated checks |
| Predictive regression models | All relevant specification checks plus assessment of overfitting and internal—and ultimately external—predictive performance |
Agresti shows, for example, that leverage in generalized linear models is related to but not identical to leverage in ordinary regression: GLM hat values depend on the fitted model as well as the model matrix (Agresti, 2013).
Similarly, ordinary linear-regression residual assumptions should not simply be copied onto a binary logistic model. Logistic outcomes are binary by design; the diagnostic task is to evaluate the logistic model using methods appropriate to that response structure.
Practical rule: identify the model family before choosing the diagnostic.
The Regression Diagnostics Checklist
1. Data Structure: Does the Model Match How the Data Were Generated?
Before examining residual plots, verify that the model corresponds to the outcome and dependence structure.
- Is the outcome type appropriate for the chosen regression family?
- Are observations genuinely independent under the fitted formulation?
- Are there paired, repeated, matched, clustered, or otherwise correlated observations that an ordinary independent-observation model ignores?
- For a categorical outcome, is the response binary, nominal, or ordinal?
- Is the modeled event or reference category clearly defined?
- Are there sparse response patterns that may make estimation unstable?
Rosner distinguishes different analyses according to outcome and study structure rather than treating regression as interchangeable across data types. For binary outcomes requiring adjustment for several covariates, multiple logistic regression provides a different framework from ordinary continuous-outcome regression (Rosner, 2016).
This check belongs first because a residual plot cannot repair a fundamentally inappropriate data structure.
2. Specification: Did You Fit the Model You Actually Intended?
Model specification determines what every coefficient means.
Before concentrating on statistical significance, ask:
- Were predictors selected for a scientifically defensible reason?
- Are categorical predictors represented using meaningful reference categories or contrasts?
- Were continuous predictors automatically categorized?
- Were interactions included or omitted deliberately?
- Does the specification reflect the research question?
- Has extensive data-driven variable searching been treated as part of the modeling process rather than ignored?
Harrell emphasizes that nonlinearities and interactions are components of model specification, while data-driven searches can produce unstable models and overoptimistic interpretations if the search process is ignored (Harrell, 2015).
A coefficient cannot be interpreted independently of these decisions.
For example, once an interaction is present, a lower-order coefficient is conditional on the value or reference level of the interacting variable. Similarly, a coefficient for a continuous predictor has a straightforward constant-slope interpretation only when its chosen functional form supports that interpretation.
Diagnostic principle: before asking whether the coefficient is significant, ask whether the coefficient belongs to a defensible model.
3. Residuals: What Is the Model Failing to Explain?
Residual analysis is one of the most familiar forms of model checking, but the residual itself depends on the model.
For ordinary linear regression
Rosner describes studentized residual plots and partial-residual plots for multiple regression. Under the conventional multiple-regression formulation, the conditional mean is linear in a predictor when the other predictors are held fixed, conditional variance is constant, and the conditional outcome distribution is normal. Partial-residual plots provide a way to investigate the relationship between the response and an individual predictor in the multivariable setting (Rosner, 2016).
Researchers should therefore ask:
- Do residuals show systematic curvature?
- Does residual spread change systematically across fitted values or predictor values?
- Are there observations with unusually large residuals?
- Do partial-residual displays suggest that a predictor's specified functional form is inadequate?
A residual plot should be read as a pattern, not merely searched for one observation crossing a numerical threshold.
For logistic and other generalized linear models
Do not expect ordinary least-squares residual behavior from binary data.
Agresti develops Pearson residuals and standardized residual concepts for generalized linear and categorical-data models and connects residual behavior with the GLM hat matrix (Agresti, 2013).
For logistic regression, residual diagnostics can help identify response patterns or observations that are poorly represented by the fitted model. But their scale and distribution differ from ordinary linear-regression residuals.
Practical rule: perform residual analysis, but use residuals defined for the fitted model family.
4. Influence: Is One Observation Driving the Result?
An observation can deserve attention for different reasons.
Large residual
The observed outcome is poorly represented by the fitted value.
High leverage
The observation is unusual relative to the predictor configuration.
Influence
The observation can materially affect the fitted model.
These concepts should not be collapsed into one generic label of “outlier.”
Agresti notes that, as in ordinary regression, greater leverage gives an observation greater potential influence on a generalized linear model. He also emphasizes that GLM leverage depends on the fit as well as the model matrix, so an extreme predictor value does not automatically imply high leverage (Agresti, 2013).
Ask:
- Are there observations with unusually large residuals?
- Are any observations unusual in predictor space?
- Are there high-leverage observations?
- Do influence diagnostics indicate that particular cases materially affect the fitted estimates?
- Do substantive conclusions change when an influential observation is investigated through a sensitivity analysis?
- Has the underlying record been checked for coding, measurement, or eligibility problems?
Why an influential observation should not be deleted automatically
An influence diagnostic tells you that an observation matters to the fitted model. It does not by itself establish that the observation is erroneous.
That distinction follows directly from what influence diagnostics measure: sensitivity of the fit to an observation is different from evidence about whether that observation is valid.
Defensible sequence: identify → verify → understand → assess sensitivity → decide on substantive grounds.
If a value is a verified recording or coding error, correcting it is a data-quality decision. If the observation is valid and belongs to the population being analyzed, unusualness or influence alone does not supply a scientific reason to erase it.
Blind deletion can hide an important fact: the estimated relationship may genuinely be fragile because it depends strongly on a small part of the observed data.
A sensitivity analysis can reveal that fragility. It should not be used to select whichever analysis produces the preferred p-value.
5. Functional Form: Have You Assumed a Straight Line Without Checking?
One of the most common forms of regression misspecification occurs when a continuous predictor is entered as one linear term simply because that is the software default.
Continuous does not mean linear.
In ordinary multiple regression, a simple continuous term specifies a linear conditional mean relationship. In logistic regression, a simple continuous term specifies linearity of that predictor's contribution to the log odds, not linearity of probability itself (Agresti, 2013; Harrell, 2015; Rosner, 2016).
Ask:
- Does each important continuous predictor have an appropriate functional form?
- Have graphical or residual-based methods been used to investigate curvature?
- Would a transformation or flexible continuous function represent the relationship better?
- Has categorization been used to conceal rather than solve nonlinearity?
- If nonlinear terms are fitted, are results interpreted through meaningful contrasts or fitted relationships rather than isolated basis-function coefficients?
Harrell emphasizes flexible modeling of continuous predictors and discusses regression splines, including restricted cubic splines, as a way to represent smooth nonlinear relationships without imposing arbitrary cutpoints (Harrell, 2015).
Rosner's partial-residual framework provides another way to examine whether the specified relationship for a predictor is adequate in multiple linear regression (Rosner, 2016).
Keep the information continuous → assess functional form → introduce nonlinear modeling when justified.
Automatically converting a continuous predictor into “low” and “high” categories is not a diagnostic solution. It simply replaces one functional-form assumption with a step-function assumption.
6. Fit: Does the Model Represent the Observed Outcome Structure Adequately?
Goodness of fit asks whether the fitted model reproduces relevant features of the observed data sufficiently well for the intended analysis.
Again, the appropriate method depends on the model family.
Linear regression
Residual patterns are central because they can expose problems with conditional mean structure, variance, distributional assumptions, and individual observations (Rosner, 2016).
Logistic regression
Agresti discusses goodness-of-fit assessment through comparisons of observed and fitted counts, Pearson statistics, likelihood-ratio statistics, residuals, and comparisons with richer models (Agresti, 2013).
Important qualification: for grouped binomial data with a fixed number of predictor settings, Pearson and likelihood-ratio goodness-of-fit statistics can have their usual large-sample chi-square interpretation under appropriate conditions. With ungrouped binary data or continuous or nearly continuous predictors, that simple chi-square interpretation does not generally carry over. Agresti specifically warns that conventional Pearson and deviance statistics do not then have the same limiting chi-square distribution (Agresti, 2013).
This matters because a logistic-regression output can contain a goodness-of-fit statistic without making that statistic universally interpretable.
Ask:
- Is the goodness-of-fit procedure appropriate for the data configuration?
- Are observed-versus-fitted patterns compatible with the model?
- Would a richer specification, such as a nonlinear term, materially improve representation?
- Are residuals pointing toward localized lack of fit?
- Is one omnibus goodness-of-fit p-value being treated as proof that the model is correct?
A nonsignificant goodness-of-fit test does not prove that the model is correctly specified. A significant test likewise should lead to investigation of the departure rather than an automatic search for a specification that merely makes the test nonsignificant.
7. Logistic Regression Diagnostics Need Their Own Checklist
For a binary logistic model, use a model-specific diagnostic workflow.
- Confirm which outcome category is modeled as the event.
- Check whether continuous predictors are adequately represented on the logit scale.
- Examine appropriate residual diagnostics.
- Examine leverage and influence.
- Investigate sparse response patterns or unstable estimation.
- Assess goodness of fit using procedures appropriate to grouped versus ungrouped data.
- Compare plausible richer specifications when functional-form problems are suspected.
- Interpret odds ratios according to the model actually fitted.
Agresti's GLM framework makes an especially useful distinction between residuals, leverage, and goodness of fit. Leverage reflects potential influence, while residuals measure disagreement between observed and fitted response information; neither quantity alone fully diagnoses a model (Agresti, 2013).
For ordinal logistic regression, additional structural assumptions may arise. In a proportional-odds model, for example, the common-effect restriction across cumulative logits is itself something that requires assessment rather than being accepted merely because the outcome is ordered (Agresti, 2013).
Logistic regression diagnostics are not ordinary linear-regression diagnostics with a binary outcome substituted for a continuous one.
8. Uncertainty: Are You Reporting Precision or Only Significance?
A model can be adequately specified and still estimate an effect imprecisely.
Diagnostics therefore do not replace uncertainty quantification.
After addressing major specification and diagnostic concerns:
- Report effect estimates, not only p-values.
- Report confidence intervals where appropriate.
- Interpret the magnitude and precision of the estimate.
- Reassess uncertainty if conclusions are highly sensitive to influential observations or model specification.
- Do not treat a coefficient becoming significant after a modeling change as evidence that the change was correct.
Not just
Did the coefficient cross 0.05?
Instead ask
What does the model estimate, how uncertain is that estimate, and how dependent is the conclusion on defensible modeling choices?
9. Validation: If the Goal Is Prediction, Does the Model Work Beyond the Data That Built It?
Diagnostics and predictive validation answer related but different questions.
Residual and specification checks ask whether the fitted model represents important aspects of the development data adequately.
Validation asks how well the model-development strategy is expected to perform beyond those data.
Harrell emphasizes that apparent predictive performance—performance evaluated on the same observations used to develop the model—can be optimistic. Resampling methods such as bootstrap validation can be used to estimate optimism, and data-dependent modeling steps should be incorporated into the validation procedure when assessing the strategy that produced the model (Harrell, 2015).
For a prediction model, therefore:
- Distinguish apparent fit from validated predictive performance.
- Assess overfitting.
- Internally validate the complete development strategy.
- Do not validate only the final equation if predictor selection or other data-dependent decisions helped create it.
- Assess relevant predictive-performance dimensions rather than equating coefficient significance with prediction quality.
- Treat performance in genuinely new data as a separate question from development-sample diagnostics.
Software convergence
Tells you that an equation was estimated.
Diagnostics
Tell you how that fitted equation behaves in the observed data.
Validation
Tells you how much confidence to place in its predictive performance beyond the data that produced it.
These are not interchangeable achievements.
The Full Practical Checklist
Data structure
- The outcome matches the regression family.
- Independence, pairing, repetition, matching, or clustering has been represented appropriately.
- Outcome coding and reference categories are explicit.
- Sparse or structurally problematic data have been investigated.
Specification
- The model corresponds to the research question.
- Predictor inclusion has a defensible rationale.
- Categorical predictors have meaningful coding.
- Interactions have been considered deliberately.
- Data-driven model searching has not been treated as though the final model were prespecified.
Residuals
- Residual diagnostics appropriate to the model family have been examined.
- Systematic residual patterns have been investigated.
- Unusually large residuals have been identified and understood.
- For linear regression, conditional mean, variance, and distributional patterns have been considered.
Influence
- Leverage or analogous unusual-predictor diagnostics have been examined where supported.
- Influential observations have been distinguished from merely large residuals.
- Flagged records have been checked for data-quality or eligibility problems.
- Valid influential observations have not been deleted merely because they change significance.
- Material sensitivity to individual observations is reported transparently.
Functional form
- Important continuous predictors have not automatically been assumed linear.
- Nonlinearity has been assessed on the appropriate model scale.
- Transformations or flexible continuous functions have been considered where needed.
- Arbitrary categorization has not been used as a substitute for functional-form assessment.
Fit
- Model fit has been assessed using methods appropriate to the regression family.
- Goodness-of-fit statistics have been interpreted under conditions where their reference distributions are appropriate.
- Graphical or residual evidence has not been replaced by one omnibus p-value.
- Plausible specification problems have been investigated rather than merely acknowledged.
Uncertainty
- Effect estimates are accompanied by appropriate uncertainty intervals.
- Statistical significance is not being treated as evidence of adequate model specification.
- Sensitivity to specification or influential observations is reflected in the interpretation.
Validation if predictive
- Development-sample performance is identified as apparent rather than automatically called validated.
- Overfitting has been assessed.
- The full data-dependent development procedure is represented in internal validation.
- Predictive conclusions extend no further than the available validation supports.
Common Diagnostic Mistakes
Mistake 1: “The regression ran without errors, so the assumptions are satisfied.”
Successful estimation establishes that the software obtained a fitted model. It does not establish that the model is well specified.
Mistake 2: “All coefficients are significant, so the model fits well.”
Coefficient tests concern particular parameters under the fitted specification. They do not establish adequacy of the specification itself.
Mistake 3: “The residuals look fine, so every regression assumption is satisfied.”
Residuals address particular aspects of a model. Dependence structure, predictor specification, interactions, influential observations, and predictive optimism can require additional investigation.
Mistake 4: “This case has high leverage, so it is an outlier.”
Leverage concerns the predictor configuration. A case can have high leverage without having a large residual, and leverage represents potential rather than guaranteed influence (Agresti, 2013).
Mistake 5: “This observation is influential, so delete it.”
Influence establishes that the fitted analysis is sensitive to the observation. It does not establish that the record is erroneous. Verify the observation and investigate sensitivity before deciding whether any exclusion is scientifically or methodologically justified.
Mistake 6: “The linear coefficient was nonsignificant, so there is no relationship.”
A nonsignificant linear term addresses that particular specification. It does not establish the absence of a nonlinear relationship. Functional form must be considered explicitly (Harrell, 2015).
Mistake 7: “The logistic goodness-of-fit test is nonsignificant, so the model is correct.”
Goodness-of-fit procedures have model- and data-specific limitations. Agresti shows, in particular, why conventional chi-square interpretations of Pearson and deviance statistics become problematic with ungrouped binary observations or continuous predictor settings (Agresti, 2013).
Mistake 8: “The model predicts the development data well, so it has been validated.”
Development-sample performance is apparent performance. Predictive models require validation aimed at estimating performance beyond the data used to construct them (Harrell, 2015).
A Decision Rule for Researchers
Before trusting a regression result, ask three increasingly demanding questions.
1. Was the model fitted?
Did the estimation procedure converge and return estimates?
Interpretation: That is necessary—but it is only the beginning.
2. Was the model diagnosed?
Were the data structure, specification, residual behavior, influence, functional form, and model fit examined using methods appropriate to the model family?
Interpretation: That determines whether the fitted model is reasonably defensible for interpretation in the observed data.
3. If the model is predictive, was it validated?
Was overfitting assessed, and was performance evaluated in a way that accounts for the development process?
Interpretation: That addresses whether the model is likely to retain predictive performance beyond the data that produced it.
Fitted ≠ adequately diagnosed ≠ validated.
Bottom Line
Good regression diagnostics begin after fitting, not after publication.
Do not stop when the software returns coefficients and p-values. Check whether the model matches the data structure. Examine the specification. Use residual analysis appropriate to the model family. Investigate leverage and influential observations in regression without treating diagnostic flags as automatic deletion rules. Examine continuous-predictor functional form rather than assuming linearity. Evaluate fit using model-appropriate procedures. Report uncertainty. And when prediction is the objective, validate the development strategy rather than calling apparent fit “validation” (Agresti, 2013; Harrell, 2015; Rosner, 2016).
Data structure → specification → residuals → influence → functional form → fit → uncertainty → validation if predictive.
A regression equation deserves interpretation not because software successfully estimated it, but because the assumptions and modeling decisions that give its coefficients meaning have been examined.
FAQs
What are regression diagnostics?
Regression diagnostics are methods for investigating whether a fitted regression model adequately represents important features of the data and whether particular observations or modeling choices materially affect the results. Relevant checks can include residual analysis, leverage and influence assessment, functional-form evaluation, and goodness-of-fit procedures. The appropriate diagnostics depend on the regression family (Agresti, 2013; Rosner, 2016).
Which regression model assumptions should I check?
The answer depends on the model. Ordinary linear regression involves assumptions about conditional mean structure, variance, and distribution that can be investigated using residual and partial-residual diagnostics. Logistic and other generalized linear models require diagnostics appropriate to their response distribution and link function rather than simply copying ordinary linear-regression assumptions (Agresti, 2013; Rosner, 2016).
What is the difference between an outlier, leverage point, and influential observation?
A residual can identify an observation whose outcome is poorly represented by the fitted model. Leverage concerns how unusual an observation is with respect to the predictor configuration and its potential to affect the fit. Influence concerns how materially an observation affects the fitted model. These concepts overlap but are not interchangeable; Agresti specifically notes that greater leverage gives an observation greater potential influence in generalized linear models (Agresti, 2013).
Should I remove an influential observation from regression?
Not automatically. An influence diagnostic indicates that the fitted result depends materially on an observation; it does not establish that the record is erroneous. Verify the data and study eligibility, understand why the case is influential, and examine sensitivity before considering exclusion. A valid influential observation can reveal genuine instability in the fitted relationship.
How do I check nonlinearity in a regression model?
Assess the functional form of important continuous predictors on the scale implied by the model. Rosner describes partial-residual plots for multiple linear regression, while Harrell develops flexible continuous modeling approaches including regression splines when simple linearity is inadequate (Harrell, 2015; Rosner, 2016).
What are important logistic regression diagnostics?
Important logistic regression diagnostics include checking the binary-response specification and event coding, assessing continuous-predictor functional form on the logit scale, examining appropriate residuals, investigating leverage and influence, and evaluating goodness of fit under conditions appropriate to the data configuration. Ordinary linear-regression diagnostics should not simply be transferred unchanged to logistic regression (Agresti, 2013).
Is a nonsignificant goodness-of-fit test enough to trust a regression model?
No. A goodness-of-fit test evaluates a particular aspect of fit under particular assumptions. It does not prove that the model is correctly specified. Residual patterns, functional form, influential observations, dependence structure, and other model-specific assumptions can still require investigation (Agresti, 2013; Rosner, 2016).
What is the difference between model checking and model validation?
Model checking examines whether the fitted specification adequately represents relevant features of the observed data. For prediction, validation addresses how much performance is likely to survive beyond the data used to build the model. Development-sample performance can be optimistic, so a prediction model requires validation in addition to ordinary diagnostic checking (Harrell, 2015).
References
Agresti, A. (2013). Categorical data analysis (3rd ed.). Wiley.
Harrell, F. E., Jr. (2015). Regression modeling strategies: With applications to linear models, logistic and ordinal regression, and survival analysis (2nd ed.). Springer.
Rosner, B. (2016). Fundamentals of biostatistics (8th ed.). Cengage Learning.
Need help with a similar research question?
Share a short, non-confidential summary of your study and the decision you need to make.