LOCPROJ: Stata module to estimate Local Projections
Alfonso Ugarte-Ruiz
Statistical Software Components from Boston College Department of Economics
Abstract:
locproj estimates linear and non-linear Impulse Response Functions (IRF) based on the local projections methodology first proposed by Jordà (2005). The procedure allows easily implementation of several options used in the growing literature of local projections. It generates temporary variables with the necessary transformations of the response variable in order to estimate the IRF in the desired transformation option, such as levels, logs, differences, log-differences, cumulative changes or cumulative log-differences. It allows choosing different estimation methods for both time series and panel data, including some instrumental variables methods . It also allows the use of marginal effects instead of regression coefficients, which is highly convenient when the response variable is binary and the user wants to estimate the response as a probability. It reports the IRF, together with its standard error and confidence interval, as an output matrix and through an IRF graph. The user can easily choose different options for the desired IRF graph, as well as several other options to save and use the results. The module also includes a post-estimation command called lpgraph that allows plotting together IRFs estimated by different models.
Language: Stata
Requires: Stata version 13
Keywords: local projections; impulse response functions; IRF (search for similar items in EconPapers)
Date: 2023-05-10, Revised 2025-01-17
Note: This module should be installed from within Stata by typing "ssc install locproj". 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:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/l/locproj.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/locproj.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lpgraph.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lpgraph.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/a/AED_INTERESTRATES.DTA sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/j/JSTdatasetR5.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/l/lpiv_15Mar2022.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/r/RecessionDummies.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/r/RR_monetary_shock_quarterly.dta sample data file (application/x-stata)
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:s459204
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 ().