EconPapers    
Economics at your fingertips  
 

XTIVREG2: Stata module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models

Mark Schaffer ()

Statistical Software Components from Boston College Department of Economics

Abstract: xtivreg2 implements IV/GMM estimation of the fixed-effects and first-differences panel data models with possibly endogenous regressors. It is essentially a wrapper for ivreg2, which must be installed for xtivreg2 to run: ssc install ivreg2, replace). xtivreg2 supports all the estimation and reporting options of ivreg2; see help ivreg2 for full descriptions and examples. In particular, all the statistics available with ivreg2 (heteroskedastic, cluster- and autocorrelation-robust covariance matrix and standard errors, overidentification and orthogonality tests, first-stage and weak/underidentification statistics, etc.) are also supported by xtivreg2 and will be reported with any degrees-of-freedom adjustments required for a panel data estimation.

Language: Stata
Requires: Stata version 8.2 and ivreg2, ranktest from SSC
Keywords: instrumental variables; panel data; fixed effects; first differences; Sargan test; robust estimation; orthogonality; GMM; Hansen's J; heteroskedastic OLS; HAC; bandwidth; k-class estimator; LIML (search for similar items in EconPapers)
Date: 2005-11-01, Revised 2020-06-26
Note: This module should be installed from within Stata by typing "ssc install xtivreg2". 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: View citations in EconPapers (25)

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xtivreg2.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtivreg2.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtivreg2_p.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cs_xtivreg2.do certification script (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:s456501

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 ().

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