- Introduced by
- James B. Ramsey
- Year
- 1969
- Type
- Test for functional-form misspecification
What does it do?
The Ramsey RESET test, proposed by James Ramsey in 1969, checks a linear regression for functional-form misspecification, such as omitted nonlinear relationships between the response and the regressors.
It adds powers of the fitted values to the model and tests whether they significantly improve the fit. If they do, the linear specification has left systematic structure unexplained.
The intuition behind the method
If a linear model has captured the true relationship, then nothing built only from the fitted values should add explanatory power — the fitted values already summarise the linear combination of regressors. But if the truth is curved (say the effect of income is quadratic) and you fit a straight line, the residuals will contain leftover curvature. Squares and cubes of the fitted values are a cheap, generic way to reconstruct such curvature without guessing its exact form. If those added powers are jointly significant, the model is misspecified and likely needs nonlinear terms or a transformation.
History
James Ramsey published the test in 1969 in the Journal of the Royal Statistical Society, Series B, in a paper on tests for specification errors in classical linear least-squares regression. The abstract describes four procedures for testing for specification error, covering omitted variables, incorrect functional form, simultaneous equation problems and heteroskedasticity. The functional-form procedure is the one now generally known by the name RESET, an abbreviation of Regression Equation Specification Error Test.
When to use it
Use the Ramsey RESET test after estimating a linear regression by OLS, when you want a general screen for functional-form problems such as omitted squared or interaction terms, a wrong link, or a need to transform variables, without committing to a specific alternative. It is a low-cost omnibus check, but it cannot identify the correct specification; it only indicates that the current one is inadequate. The exact F-test assumes that the classical linear model holds apart from the functional-form error under test, that the regressors are exogenous, and that the disturbances are normally distributed. Without normality, the test is valid only asymptotically, and the chi-square (Lagrange multiplier) form is the usual alternative. Do not rely on it alone when heteroskedasticity or omitted variables are plausible, since these can also produce a rejection. Avoid reading its F-based p-value as reliable in very small samples, where the reference distribution may be a poor approximation. When it rejects, respond by adding polynomial or interaction terms, transforming variables, or moving to a more flexible model such as a generalized additive model.
Limitations and considerations
- It signals that the functional form is wrong but gives no indication of which nonlinear terms, transformations or interactions are needed.
- Its power depends on the nonlinearity being the kind that the powers of the fitted values can capture; a misspecification that the fitted values do not reflect may go undetected.
- A rejection can come from heteroskedasticity or omitted variables, which the test does not separate from functional-form error. Ramsey's 1969 paper treats these as distinct specification errors.
- A non-rejection does not establish correct specification; it only means that no low-order nonlinearity of this kind was detected.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- It needs no specific alternative model: the powers of the fitted values stand in for an unknown nonlinear form.
- The augmented regression is a single extra step after the OLS fit, using the same data and standard F-test machinery.
- Because the added terms are built from the fitted index, the test checks the overall fit of the linear predictor, so it may detect misspecification that is not obvious from any single regressor.
- Its output is a familiar F-statistic for the joint significance of added regressors.
Applications
- Checking whether a linear regression needs nonlinear terms before its coefficients are interpreted.
- Deciding whether to add polynomial or interaction terms, or to transform the dependent or an independent variable.
- Comparing candidate specifications in applied econometric work in economics, finance and the social sciences.
- Supplementing other regression diagnostics, such as heteroskedasticity tests, in a routine model check.
How it works
How it works
Estimate the original linear model by ordinary least squares and obtain the fitted values ŷ. These fitted values form a single index that summarises the linear predictor built from the regressors.
Formula
y = X\beta + u,\quad \hat y = X\hat\beta
Re-estimate the model with powers of the fitted values (ŷ² and ŷ³ in the formula, with higher powers allowed in principle) added as extra regressors. Because ŷ is a function of the regressors, these terms act as data-driven proxies for omitted nonlinearity, without the analyst having to specify the alternative form.
Formula
y = X\beta + \gamma_2 \hat y^{2} + \gamma_3 \hat y^{3} + \cdots + \varepsilonTest the joint hypothesis that the coefficients on the added powers are all zero, using an F-test that compares the residual sum of squares of the original and augmented models. An asymptotically equivalent chi-square (Lagrange multiplier) form also exists. The numerator degrees of freedom equal the number of added powers.
Formula
F = \dfrac{(\text{RSS}_0 - \text{RSS}_1)/q}{\text{RSS}_1/(n-k-q)}If the F-statistic exceeds its critical value (small p-value), reject the null of correct specification: the powers of the fitted values improve the fit, indicating omitted nonlinearity or another functional-form error. A non-rejection is reassurance that no low-order nonlinearity is detectable, not proof of correct specification.
Formula
\text{Reject } H_0:\ \gamma_2=\cdots=0 \iff F > F_{q,\,n-k-q,\,1-\alpha}Common pitfalls
- Reading a rejection as a specific diagnosis rather than as a signal to investigate the functional form further.
- Adding many high-order powers of the fitted values, which can make the added regressors highly collinear and the estimates unstable.
- Ignoring heteroskedasticity as a cause of rejection; pair RESET with a heteroskedasticity test before changing the functional form.
- Treating a non-rejection as confirmation of correct specification.
Frequently asked questions
What does a significant RESET test indicate?
It indicates functional-form misspecification: powers of the fitted values add explanatory power, so the linear model has left systematic (likely nonlinear) structure unexplained. It does not tell you the correct form, only that the current one is inadequate.
How many powers of the fitted values should I add?
The formula in this entry uses the square and cube (ŷ² and ŷ³). Adding more increases the chance of detecting complex nonlinearity but risks collinearity and unstable estimates, so low orders are the usual choice.
What should I do if RESET rejects?
Investigate the functional form: add quadratic or interaction terms, transform the dependent or independent variables (for example, with logs), or adopt a more flexible model such as a generalized additive model. Also check for heteroskedasticity and omitted variables, which can trigger a rejection.
Does a non-significant RESET result mean my model is correctly specified?
No. It means that powers of the fitted values did not detect a systematic functional-form problem. Other misspecifications, such as omitted variables that are uncorrelated with the fitted values, may still be present.
Related methods
Sources
Ramsey, J. B. (1969). Tests for specification errors in classical linear least-squares regression analysis. Journal of the Royal Statistical Society: Series B, 31(2), 350–371.
Open DOI referenceIntroductory Econometrics for Finance (2nd edition), p. 177
Using Econometrics: A Practical Guide (7th Edition), p. 186