xtlp: A new Stata command for panel local projection
Shu Shen, Ziwei Mei, Liugang Sheng, Zhentao Shi
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.
Create a lesson
Related papers
Panel Local Projections with Missing Data
Shared title terminology · Yubo Tao
Almost Uniform Bias Correction for Persistent Panel Local Projections
Shared title terminology · Geert Dhaene, Arturas Juodis
Local Polynomial Estimation in Irregular Correlated Random Coefficient Panel Data Models
Shared title terminology · Yelong Chen, Hua Jin, Yuxuan Ren
Intentionally Overidentifying Local Projections
Shared title terminology · Junjie Guo, Endong Wang, Ke-Li Xu
Informative Local Average Treatment Effects Using Propensity Scores
Shared title terminology · Martin Huber, Ying-Ying Lee
Never too LATE: Exploiting restrictions for inference on the Local Average Treatment Effect
Shared title terminology · Xavier D'Haultfœuille, Yagan Hazard, Philipp Ketz