Together with Vasilis Sarafidis, I have released a new Stata package called xtivdfreg. The command implements a general instrumental variables approach for estimating large panel data models (large N and large T) with unobserved common factors or interactive effects, as developed by Norkute et al. (2020). The underlying idea of this approach is to project out the common factors from exogenous covariates using principal components analysis, and run IV regression using defactored covariates as instruments. The resulting "IVDF" method is valid for models with homogeneous or heterogeneous slope coefficients, and has several advantages relative to existing popular approaches (e.g. common correlated effects estimation). The algorithm accommodates unbalanced panel data and permits highly flexible instrumentation strategies.
You can install the command from my personal website:
The syntax and options are explained in the Stata help file:
The help file also contains a few examples.
For full details, see our accompanying article:
You can install the command from my personal website:
Code:
net install xtivdfreg, from(http://www.kripfganz.de/stata/)
Code:
help xtivdfreg
For full details, see our accompanying article:
- Kripfganz, S., and V. Sarafidis (2020). Instrumental variable estimation of large panel data models with common factors. Working Paper, University of Exeter and Monash University.
- Norkute, M., V. Sarafidis, T. Yamagata, and G. Cui (2020). Instrumental variable estimation of dynamic linear panel data models with defactored regressors and a multifactor error structure. Journal of Econometrics, forthcoming.
Comment