IDEAS home Printed from https://ideas.repec.org/p/boc/scon18/44.html
   My bibliography  Save this paper

Even Simpler Standard Errors for Two-Stage Optimization Estimators: Mata Implementation via the DERIV Command

Author

Listed:
  • Joseph Terza

    (Department of Economics, Indiana University Purdue University Indianapolis)

Abstract

Terza (Stata J., 2016) offers a heretofore unexploited simplification (henceforth referred to as SIMPLE) of the conventional formulation for the standard errors of two-stage optimization estimators (2SOE). In that paper, SIMPLE was illustrated in the context of two-stage residual inclusion (2SRI) estimation (Terza et al., J. Health Ec., 2008). Stata/Mata implementations of SIMPLE for 2SRI estimators are detailed in Terza (Stata J., 2017). Terza (2016b) develops a variant of SIMPLE for calculating the standard errors of two-stage marginal effects estimators (2SME). Generally applicable Stata/Mata implementation of SIMPLE for 2SME is detailed in (Terza, Stata J., 2017) and compared with results from the Stata MARGINS command (for the subset of cases in which the MARGINS command is available). Although SIMPLE substantially reduces the analytic and coding burden imposed by the conventional formulation, it still requires the derivation and coding of key partial derivatives which may prove daunting for some model specifications. I detail how such analytic demands and coding requirements are virtually eliminated via the use of the Mata DERIV command. Illustrations in the 2SRI and 2SME contexts will be discussed.

Suggested Citation

  • Joseph Terza, 2018. "Even Simpler Standard Errors for Two-Stage Optimization Estimators: Mata Implementation via the DERIV Command," 2018 Stata Conference 44, Stata Users Group.
  • Handle: RePEc:boc:scon18:44
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/scon2018/columbus18_Terza.pdf
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Terza Joseph V., 2020. "Regression-Based Causal Analysis from the Potential Outcomes Perspective," Journal of Econometric Methods, De Gruyter, vol. 9(1), pages 1-15, January.

    More about this item

    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:scon18:44. 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/stataea.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.