EconPapers    
Economics at your fingertips  
 

Using locproj to easily estimate nonlinear local projections

Alfonso Ugarte-Ruiz

UK Stata Conference 2025 from Stata Users Group

Abstract: I review all the possible alternatives of specifying nonlinear impulse– response functions (IRF) through local-projections that are available using the community-contributed command, locproj. For instance, the command allows easily specifying shocks that include basic nonlinearities such as state-dependent impacts, quadratic effects, interactions between continuous variables, etc. Moreover, it allows nonlinearities in the dependent variable, such as when we are interested in estimating the response of the probability of a binary outcome or when one wants to uncover nonlinear effects of a shock by letting the parameters of the local projection regressions vary across the conditional distribution of the dependent variable through the use of quantile regression. I explain how to use all the available options in locproj to accommodate all of these different methodological alternatives and discuss the advantages that the command offers, for instance, that the command facilitates introducing lags of the dependent or the shock variables when using the Stata command qreg, which in principle does not allow time-series operators.

Date: 2025-09-04
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/lsug2025/
Our link check indicates that this URL is bad, the error code is: 403 Forbidden

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:lsug25:05

Access Statistics for this paper

More papers in UK Stata Conference 2025 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-09-16
Handle: RePEc:boc:lsug25:05