EconPapers    
Economics at your fingertips  
 

xtlp: A new Stata command for panel local projection

Shu Shen, Ziwei Mei, Liugang Sheng and Zhentao Shi

Papers from arXiv.org

Abstract: Panel local projection (LP) estimated with fixed effects (FEs) is widely used to evaluate the dynamic effects of economic shocks across countries or regions. However, FE estimation of panel LP models is subject to Nickell bias arising from the predictive structure of LP specifications, even when lagged dependent variables are not included in the regressors. This bias invalidates standard inference based on conventional t-statistics. We introduce xtlp, a new Stata command that implements panel LP with split-panel jackknife (SPJ) bias correction. It removes the Nickell bias and restores the validity of standard statistical inference. The command accommodates a broad range of specifications, including different transformations of the dependent variable, additional control variables, and flexible variance estimators. We illustrate xtlp through empirical applications that examine the effects of financial crises on output.

Date: 2026-10
References: Add references at CitEc
Citations:

Downloads: (external link)
https://arxiv.org/pdf/2610.41428 Latest version (application/pdf)

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:arx:papers:2610.41428

Access Statistics for this paper

More papers in Papers from arXiv.org
Bibliographic data for series maintained by arXiv administrators ().

 
Page updated 2026-11-03
Handle: RePEc:arx:papers:2610.41428