XTTVPIVMG: Stata module to perform time-varying parameter IV mean-group estimation of heterogeneous panels
Merwan Roudane
Statistical Software Components from Boston College Department of Economics
Abstract:
xttvpivmg implements the kernel-based time-varying parameter instrumental variable mean-group (TVP-IV-MG) estimator of Bai, Marcellino and Kapetanios (2026, Econometrics and Statistics 37, 26-41), for large heterogeneous panels in which the slope coefficients (a) differ across units, (b) evolve smoothly over time, and (c) are attached to endogenous regressors. The estimand is a path rather than a scalar: the whole trajectory of the cross-sectional mean coefficient vector, estimated non-parametrically with no state-space model, no assumed break dates and no functional form for the time variation beyond smoothness. Mechanically the command runs the time-varying IV estimator of Giraitis, Kapetanios and Marcellino (2021, Journal of Econometrics 224, 394-415) separately on each panel unit and averages across units in the manner of Pesaran and Smith (1995, Journal of Econometrics 68, 79-113). Inference follows the paper's Theorem 1(ii): the kernel-IV sampling error is dominated by the coefficient heterogeneity, so the standard errors are the cross-sectional dispersion of the unit-level paths, with no HAC correction and no bootstrap required.
Language: Stata
Requires: Stata version 14
Keywords: panel data; instrumental varianles; mean group estimator (search for similar items in EconPapers)
Date: 2026-08-20
Note: This module should be installed from within Stata by typing "ssc install xttvpivmg". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xttvpivmg.ado
http://fmwww.bc.edu/repec/bocode/x/xttvpivmg.sthlp
http://fmwww.bc.edu/repec/bocode/x/xttvpivmg_methods.sthlp
http://fmwww.bc.edu/repec/bocode/x/xttvpivmg_postestimation.sthlp
http://fmwww.bc.edu/repec/bocode/x/xttvpivmg_example.do
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459868
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().