A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Regression Diagnostics: Checking Assumptions and Violations

Graduate Depth 88 in the knowledge graph ☐ I know this ☆ Set as goal
19topics build on this
444prerequisites beneath it
See this on the map →
Linear Regression for Social ScienceMeasurement, Validity, and Reliability→→Missing Data: Mechanisms, Diagnostics, and Multiple ImputationMultilevel Modeling for Hierarchical Data
regression diagnostics assumptions robustness

Core Idea

Ordinary least squares regression assumes linearity, homoscedasticity, independence, normality, and no multicollinearity. Real data often violate these. Diagnostic techniques—residual plots, tests, robust standard errors—detect violations and guide corrections.

Explainer

From linear regression, you know that OLS minimizes the sum of squared residuals to find the best-fitting line. What "best" means depends critically on a set of assumptions built into the math. When those assumptions hold, OLS is BLUE — the Best Linear Unbiased Estimator. When they fail, your coefficient estimates may still be unbiased, but your standard errors — and therefore your p-values, confidence intervals, and hypothesis tests — may be completely wrong. Regression diagnostics are the practice of checking which assumptions hold and deciding what to do when they don't.

The five core assumptions are worth knowing as a checklist. Linearity means the relationship between X and Y is actually linear — violations show up as systematic curves in a residuals-vs-fitted plot. Homoscedasticity means the variance of residuals is constant across all values of X — violations (called heteroscedasticity) make residual plots fan out or funnel in. Independence means observations are not correlated with each other — violated by clustered data (students within schools), panel data (repeated measures), or spatial data. Normality of residuals is the least consequential assumption for large samples by the central limit theorem, but matters in small samples when you need accurate p-values. No multicollinearity means predictors aren't so highly correlated that the model can't distinguish their separate effects — diagnosed using the variance inflation factor (VIF); high VIF inflates standard errors.

The primary diagnostic tool is the residual plot: a scatterplot of residuals against fitted values (or against each predictor). Patterns in this plot are informative: a random cloud means the linearity and homoscedasticity assumptions look okay; a curve suggests a nonlinear relationship you've missed; a fan shape signals heteroscedasticity. A Q-Q plot of residuals against the normal distribution diagnoses normality — points deviating from the 45-degree line indicate non-normality. For influential observations, Cook's distance measures how much coefficient estimates would change if a particular point were removed; high-leverage points can disproportionately determine your results.

The good news is that violations don't always require starting over — they often have tractable remedies. Heteroscedasticity can be addressed with robust standard errors (also called sandwich estimators or HC standard errors), which give valid inference even when variance isn't constant, without changing coefficient estimates. Nonlinearity can be addressed by adding polynomial terms, log-transforming variables, or including interaction terms. Multicollinearity can sometimes be reduced by centering variables or reconsidering model specification. Clustered observations call for cluster-robust standard errors or multilevel models. The diagnostic step tells you what's wrong; it doesn't automatically tell you the fix, which depends on understanding *why* the violation is occurring in your data. That interpretive step connects back to your knowledge of measurement validity and research design — violations often signal substantive modeling problems, not just statistical technicalities.

What did you take from this?

Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.

Quiz me anyway →

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Piecewise Functions → One-Sided Limits → Continuity Definition → Limits and Continuity in Multiple Variables → Functions of Several Variables → Continuity in Multiple Variables → Partial Derivatives: Definition and Computation → Differentiability in Multiple Variables → Differentiability in Multivariable Functions → Total Differential and Linear Approximation → Chain Rule for Multivariable Functions → Implicit Differentiation → Related Rates → Optimization Problems → Critical Points of Multivariable Functions → Critical Points and Classification of Extrema → Second Partial Test for Local Extrema (Hessian) → The Hessian Matrix and Second Derivative Test → Unconstrained Optimization: Finding Extrema → Optimization in Multiple Variables → Linear Regression for Social Science → Regression Diagnostics: Checking Assumptions and Violations

Longest path: 89 steps · 444 total prerequisite topics

Prerequisites (2)

Leads To (2)