*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:

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.

## Leave a comment: