Estimating Spatial Dynamic Panel Data Models with Unobserved Common Factors in <i>Stata</i>

This article introduces the spxtivdfreg package in Stata, which implements a general instrumental variables (IV) approach for estimating dynamic spatial panel data models with unobserved common factors or interactive effects, when the number of both cross-sectional and time series observations is large. The estimator has been developed in a recent paper by Cui, Sarafidis, and Yamagata (2023). The underlying idea 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 (and their spatial counterparts) as instruments. The resulting two-stage IV estimator is valid for models with homogeneous slope coefficients, and has several advantages relative to existing popular approaches. In addition, the spxtivdfreg package allows estimation of short-run and long-run direct and indirect effects, as well as total effects, accounting for the cumulative effects over time and across space. Standard errors for such effects are computed using the Delta method. Last, the spxtivdfreg package allows for heterogeneous slope coefficients, as in Chen, Cui, Sarafidis, and Yamagata (2025). In particular, we construct a

Authors

Institutions

Publication Details

Journal
Journal of Statistical Software
Published
2025-01-01
DOI
https://doi.org/10.18637/jss.v113.i06
Citations
5
Primary Topic
Spatial and Panel Data Analysis
Type
article
Field-Weighted Citation Impact
15.66

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Estimating Spatial Dynamic Panel Data Models with Unobserved Common Factors in Stata

Sebastian Kripfganz, Vasilis Sarafidis
5 citations
Journal of Statistical Software
Spatial and Panel Data Analysis
15.66
article

Estimating Spatial Dynamic Panel Data Models with Unobserved Common Factors in Stata

Sebastian Kripfganz, Vasilis Sarafidis
article en
5 citations

Abstract

This article introduces the spxtivdfreg package in Stata, which implements a general instrumental variables (IV) approach for estimating dynamic spatial panel data models with unobserved common factors or interactive effects, when the number of both cross-sectional and time series observations is large. The estimator has been developed in a recent paper by Cui, Sarafidis, and Yamagata (2023). The underlying idea 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 (and their spatial counterparts) as instruments. The resulting two-stage IV estimator is valid for models with homogeneous slope coefficients, and has several advantages relative to existing popular approaches. In addition, the spxtivdfreg package allows estimation of short-run and long-run direct and indirect effects, as well as total effects, accounting for the cumulative effects over time and across space. Standard errors for such effects are computed using the Delta method. Last, the spxtivdfreg package allows for heterogeneous slope coefficients, as in Chen, Cui, Sarafidis, and Yamagata (2025). In particular, we construct a

Journal of Statistical SoftwareVol. 113(6)
University of Exeter (GB), Brunel University of London (GB)
Università di Bologna
Openalex Percentile: Top 1%
Spatial and Panel Data Analysis
15.66
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Estimating Spatial Dynamic Panel Data Models with Unobserved Common Factors in <i>Stata</i> — Sebastian Kripfganz, Vasilis Sarafidis · Journal of Statistical Software (2025) | TGRS Research Map | TGRS