EconPapers    
Economics at your fingertips  
 

AANIV: Stata module to compute unbiased IV regression

Austin Nichols

Statistical Software Components from Boston College Department of Economics

Abstract: The conventional instrumental variable (IV) or two-stage least squares (2SLS) estimator may be badly biased in overidentified models with weak instruments. While the 2SLS estimator performs better in the exactly identified case, in the sense that its median rapidly approaches the true value as instruments become strong, it has no first moment. That is, the estimator has no mean, and no finite higher moments, either. For papers on the finite-sample properties of IV estimators, see e.g. Phillips (1980), Phillips (1983), and Hillier (2006), and references therein. The estimator implemented in aaniv is an unbiased IV estimator for a special case of an exactly identified model with one endogenous variable and one instrument, from Andrews and Armstrong (2017), which relies on a sign restriction in the first stage. That is, if we know the sign of the effect of the instrument on the endogenous treatment variable, we can construct an unbiased estimate of the effect of treatment on the treated.

Language: Stata
Requires: Stata version 11.2
Keywords: bias; OLS; IV; instrumental variables; endogenous treatment (search for similar items in EconPapers)
Date: 2019-07-06, Revised 2021-02-24
Note: This module should be installed from within Stata by typing "ssc install aaniv". 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: Track citations by RSS feed

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/a/aaniv.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/a/aaniv.sthlp 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:s458664

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 2021-07-20
Handle: RePEc:boc:bocode:s458664