EconPapers    
Economics at your fingertips  
 

IVRESET: Stata module to perform Ramsey/Pesaran-Taylor/Pagan-Hall RESET specification test after IV/GMM/OLS estimation

Mark Schaffer (m.e.schaffer@hw.ac.uk)

Statistical Software Components from Boston College Department of Economics

Abstract: ivreset performs various flavors of Ramsey's regression error specification test (RESET) as adapted by Pesaran and Taylor (1999) and Pagan and Hall (1983) for instrumental variables (IV) estimation. The RESET test is sometimes called an "omitted variables test" but probably is best interpreted as a test of neglected nonlinearities in the choice of functional form. Under the null that there are no neglected nonlinearities, the residuals should be uncorrelated with low-order polynomials in y-hat, where the y-hats are the "forecast values" of the dependent variable that are functions of the instruments (exogenous variables) only. The test flavors vary according to the polynomial terms (square, cube, 4th power of y-hat), the choice of forecast values (Pesaran-Taylor optimal forecasts or Pagan-Hall reduced form forecasts), test statistic (Wald or GMM-distance), and large vs. small sample statistic (chi-squared or F-statistic). If the original estimation was heteroskedastic-robust, cluster-robust, autocorrelation-consistent (AC), or heteroskedastic and autocorrelation-consistent (HAC), the RESET test reported will be as well. ivreset can also be used after OLS or HOLS regression with regress or ivreg2, when there are no endogenous regressors. In this case, a standard Ramsey RESET test using fitted values of y is reported. This is version 1.0.06 of ivreset. Keywords: instrumental variables, 2SLS, GMM, RESET, regression specification test, ivreg2, ivhettest, ivendog, Ramsey, Pesaran-Smith, Pagan-Hall

Language: Stata
Requires: Stata version 8.0
Date: 2005-09-19, Revised 2007-02-04
Note: This module should be installed from within Stata by typing "ssc install ivreset". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/i/ivreset.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ivreset.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s455701

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum (baum@bc.edu).

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s455701