Abstract

In this article, we introduce the xtivdfreg command, which implements a general instrumental-variables (IV) approach for fitting panel-data models with many time-series observations, T, and unobserved common factors or interactive effects, as developed by Norkute et al. (2021, Journal of Econometrics 220: 416–446) and Cui et al. (2020a , ISER Discussion Paper 1101). The underlying idea of this approach is to project out the common factors from exogenous covariates using principal-components analysis and to run IV regression in both of two stages, using defactored covariates as instruments. The resulting two-stage IV estimator is valid for models with homogeneous or heterogeneous slope coefficients and has several advantages relative to existing popular approaches. In addition, the xtivdfreg command extends the two-stage IV approach in two major ways. First, the algorithm accommodates estimation of unbalanced panels. Second, the algorithm permits a flexible specification of instruments. We show that when one imposes zero factors, the xtivdfreg command can replicate the results of the popular Stata ivregress command. Notably, unlike ivregress, xtivdfreg permits estimation of the two-way error-components paneldata model with heterogeneous slope coefficients.

Highlights

  • We show that when one imposes zero factors, the xtivdfreg command can replicate the results of the popular Stata ivregress command

  • The common factor approach is highly popular among panel-data practitioners because it offers a wide scope for controlling for omitted variables and rich sources of unobserved heterogeneity, including models with cross-sectional dependence; see, for example, Chudik and Pesaran (2015), Juodis and Sarafidis (2018), and Sarafidis and Wansbeek (2012, 2021)

  • The underlying idea is to project out the common factors from exogenous covariates using principal-components analysis (PCA) and to construct instruments from defactored covariates

Read more

Summary

Introduction

The common factor approach is highly popular among panel-data practitioners because it offers a wide scope for controlling for omitted variables and rich sources of unobserved heterogeneity, including models with cross-sectional dependence; see, for example, Chudik and Pesaran (2015), Juodis and Sarafidis (2018), and Sarafidis and Wansbeek (2012, 2021). The underlying idea is to project out the common factors from exogenous covariates using PCA and to construct instruments from defactored covariates This first-stage IV (1SIV) estimator is consistent. The two-stage least-squares (2SLS) estimator of the two-way error-components panel-data model can be viewed as a special case of the proposed 2SIV approach in that the former does not defactor the instruments.

Models with homogeneous coefficients
First-stage IV estimator
Second-stage IV estimator
Models with heterogeneous coefficients
Unbalanced panels
The xtivdfreg command
Example 1
Findings
Example 2
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call