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

Model Specification Testing and Diagnostics

College Depth 112 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
578prerequisites beneath it
See this on the map →
Hypothesis Testing in RegressionMultiple Regression→→Information Criteria: AIC and BIC for Model Selection
model-selection specification testing

Core Idea

Model specification testing evaluates whether chosen functional form, regressor sets, and error structure assumptions are appropriate for the data. Common tests include Ramsey RESET for functional form misspecification and comparison of nested models through F-tests; diagnostic checks examine residuals for deviations from white noise.

Explainer

From your work on multiple regression and hypothesis testing, you know how to estimate a model and test whether individual coefficients are statistically significant. But there is a prior question: is the model itself correctly specified? Significance tests assume the model's functional form is right, the relevant variables are included, and the errors are well-behaved. If those assumptions fail, your t-statistics and F-statistics are meaningless — you are testing hypotheses in a model that misrepresents the data-generating process. Specification testing addresses exactly this: how do we detect when the model is wrong before trusting what it tells us?

The broadest class of specification tests asks whether the functional form is appropriate. The most common is the Ramsey RESET test (Regression Specification Error Test). The logic is elegant: if your linear model is correctly specified, the fitted values Ŷ should already capture all systematic variation in Y, and powers of Ŷ (like Ŷ² and Ŷ³) should have no additional predictive power. The RESET test adds these powers as auxiliary regressors and uses an F-test to check whether they are jointly significant. A rejection is a signal that the original linear model is missing something — possibly a nonlinear relationship, an interaction term, or an omitted variable that enters nonlinearly. What it cannot tell you is *what* is wrong; RESET is a diagnostic, not a prescription.

Testing nested models via F-tests is the second major tool. A restricted model is nested inside an unrestricted model when the restricted model imposes specific parameter constraints (usually setting some coefficients to zero). The F-statistic compares how much explanatory power is lost by imposing the restriction. If the restricted model fits nearly as well — if the loss in R² is small relative to the degrees of freedom consumed — the restriction is not rejected. This framework allows principled comparison of competing specifications that differ in which variables are included.

Residual diagnostics complement formal tests by revealing patterns that indicate model failure. If residuals exhibit heteroskedasticity — variance that changes with fitted values or a regressor — the standard errors are wrong even if the coefficients are unbiased. If residuals are autocorrelated — systematically positive or negative in runs — this often signals a missing dynamic structure. If residuals are non-normal, inference in small samples is unreliable. Plots of residuals against fitted values, against each regressor, and over time (for time-series data) are the first-line tools. Formal tests (Breusch-Pagan for heteroskedasticity, Durbin-Watson for autocorrelation) add statistical precision. Together, specification testing and residual diagnostics form the discipline of checking your model before trusting it.

Practice Questions 5 questions

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 → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Independence of Events → Sampling Distributions → Standard Error of Estimators → Hypothesis Testing: Framework and Logic → P-values and Statistical Significance → Effect Size and Practical Significance → Hypothesis Testing: Framework and Logic → Z-Tests and T-Tests for Means → One-Sample Z-Test for Means → One-Sample and Two-Sample T-Tests → Inference in Linear Regression → Prediction Intervals in Regression → Linear Regression Basics → Residuals and Goodness of Fit (R²) → Simple (Bivariate) OLS Regression → Classical OLS Assumptions (Gauss-Markov) → Multiple Regression → Interpreting Regression Coefficients → Hypothesis Testing in Regression → Model Specification Testing and Diagnostics

Longest path: 113 steps · 578 total prerequisite topics

Prerequisites (2)

Leads To (1)