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

FREEIV: Stata module for instrument-free estimation of a linear structural model with an endogenous regressor

Author

Listed:
  • Abdelkrim Araar

    (Universite Laval
    Partnership for Economic Policy (PEP))

Programming Language

Abstract

freeiv estimates the coefficient on an endogenous regressor without an external instrument, in the linear triangular model in which a single latent confounder generates the endogeneity. Under scale consistency -- the confounder moves the outcome directly by exactly as much as it moves it through the regressor -- the second moments of the data leave one number free, and the coefficient lies between half the least-squares slope and that slope: an interval that assumes nothing more and is exactly the set of values for which the implied variances are non-negative. The routes of the command impose the same linear structure on the moments of the next orders: at order three the quadratic moment estimator (the default) and a closed form for symmetric noise; at order four a joint and a profiled GMM, each with a Hansen J, and the region where the profiled J stays within 3.84 of its minimum. A second indicator of the same confounder frees the confounder's direct loading and turns scale consistency into a test. The estimators of Lewbel, Schennach and Zhang (2024) and of Lewbel (2012), the Gaussian copula, the rank control function and the coefficient-stability adjustment of Oster (2019) are computed on the same data and judged by the same interval. Standard errors come from the influence functions of the moments, with pweights in sandwich form and Taylor linearization over a survey design declared by svyset (vce(svy)). Companion commands report what the data can carry before any estimation (freeivmenu), what a value of the coefficient implies about the unobservables (freeivdiag), tests of endogeneity and of the agreement between routes (freeivtest), and all of it in one table (freeivreport); a dialog box is included, and the examples of the help run from clickable links (freeiv_examples). The paper that documents the models and the command is included as an ancillary file (freeiv_paper.pdf).

Suggested Citation

  • Abdelkrim Araar, 2026. "FREEIV: Stata module for instrument-free estimation of a linear structural model with an endogenous regressor," Statistical Software Components S459925, Boston College Department of Economics.
  • Handle: RePEc:boc:bocode:s459925
    Note: This module should be installed from within Stata by typing "ssc install freeiv". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivdiag.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivdiag.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivmenu.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivmenu.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivreport.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivreport.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivtest.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeivtest.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_card.dta
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_engine.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_examples.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_mata.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_paper.pdf
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_proxy.dta
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_sim1.dta
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/f/freeiv_sim2.dta
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:s459925. See general information about how to correct material in RePEc.

    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 bibliographic 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.

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

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

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.