IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s425401.html
 

IVREG2: Stata module for extended instrumental variables/2SLS and GMM estimation

Author

Listed:
  • Christopher F Baum

    () (Boston College)

  • Mark E Schaffer

    () (Heriot-Watt University)

  • Steven Stillman

    () (Free University of Bozen-Bolzano)

Abstract

ivreg2 provides extensions to Stata's official ivregress and newey. Its main capabilities: two-step feasible GMM estimation; continuously updated GMM estimation (CUE); LIML and k-class estimation; automatic output of the Hansen-Sargan or Anderson-Rubin statistic for overidentifying restrictions; C statistic test of exogeneity of subsets of instruments (orthog() option); kernel-based autocorrelation-consistent (AC) and heteroskedastic and autocorrelation-consistent (HAC) estimation, with user-specified choice of kernel; Cragg's "heteroskedastic OLS" (HOLS) estimator; default reporting of large-sample statistics (z and chi-squared rather than t and F); small option to report small-sample statistics; first-stage regression reported with F-test of excluded instruments and R-squared with included instruments "partialled-out"; enhanced Kleibergen-Paap and Cragg-Donald tests for weak instruments, redundancy of instruments, significance of endogenous regressors; two-way clustering of standard errors; Kiefer and Driscoll-Kraay standard errors. ivreg2 can also be used for ordinary least squares (OLS) estimation using the same command syntax as Stata's official regress and newey. New in this version: ivreg2 now supports factor variables. This is version 4.1.10 of ivreg2, updated from that published in Stata Journal, 5(4), requiring Stata 11.2 or better. Stata 8.2/9.2/10.2 users may use this routine, which will automatically call ivreg28, ivreg29, or ivreg210, respectively. These versions are now included in the ivreg2 package. Stata 7 users may use the Stata Journal version of ivreg2, accessible via net search ivreg2.

Suggested Citation

  • Christopher F Baum & Mark E Schaffer & Steven Stillman, 2002. "IVREG2: Stata module for extended instrumental variables/2SLS and GMM estimation," Statistical Software Components S425401, Boston College Department of Economics, revised 19 Apr 2018.
  • Handle: RePEc:boc:bocode:s425401
    Note: This module may be installed from within Stata by typing "ssc install ivreg2". Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg2.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg2.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg2_p.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/l/livreg2.mlib
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cs_ivreg2_4.1.10.do
    File Function: certification script
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg210.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg210.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg210_p.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cs_ivreg210_3.1.10.do
    File Function: certification script
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg29.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg29.hlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg29_p.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg29_cue.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cs_ivreg29.do
    File Function: certification script
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg28.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg28.hlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg28_p.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/i/ivreg28_cue.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cs_ivreg28.do
    File Function: certification script
    Download Restriction: no

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s425401. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum). General contact details of provider: http://edirc.repec.org/data/debocus.html .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.