IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v21y2021i3p659-686.html

Instrumental-variable estimation of large-T panel-data models with common factors

Author

Listed:
  • Sebastian Kripfganz

    (University of Exeter)

  • Vasilis Sarafidis

    (BI Norwegian Business School)

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 panel-data model with heterogeneous slope coefficients.

Suggested Citation

  • Sebastian Kripfganz & Vasilis Sarafidis, 2021. "Instrumental-variable estimation of large-T panel-data models with common factors," Stata Journal, StataCorp LLC, vol. 21(3), pages 659-686, September.
  • Handle: RePEc:tsj:stataj:v:21:y:2021:i:3:p:659-686
    DOI: 10.1177/1536867X211045558
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj21-3/st0650/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0650
    File Function: link to article purchase
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X211045558?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Sakiru Adebola Solarin & Mufutau Opeyemi Bello, 2024. "Modelling labour productivity and the role of research intensity in 129 years: evidence from a new dynamic instrumental variable estimation approach," Quality & Quantity: International Journal of Methodology, Springer, vol. 58(3), pages 2619-2646, June.
    2. Chen, Yan & Murshed, Muntasir & Sinha, Avik & Alam, Mohammad Mahtab & Khudoykulov, Khurshid, 2024. "Revisiting the resource curse hypothesis from the viewpoint of green growth: The role of Fintech as the de-cursing agent," Resources Policy, Elsevier, vol. 95(C).
    3. Avom, Désiré & Ngounou, Borice Augustin, 2025. "Bright cities and intelligences: Can access to ICTs sustainably reduce energy poverty in Africa?," Energy Policy, Elsevier, vol. 202(C).
    4. Jaromír Baxa & Michal Paulus, 2024. "Exchange rate misalignments, growth, and institutions," Empirical Economics, Springer, vol. 67(4), pages 1705-1799, October.
    5. Eibinger, Tobias & Deixelberger, Beate & Manner, Hans, 2024. "Panel data in environmental economics: Econometric issues and applications to IPAT models," Journal of Environmental Economics and Management, Elsevier, vol. 125(C).
    6. Wen, Jun & Zhao, Xin-Xin & Fu, Qiang & Chang, Chun-Ping, 2023. "The impact of extreme weather events on green innovation: Which ones bring to the most harm?," Technological Forecasting and Social Change, Elsevier, vol. 188(C).
    7. Pengyu Chen & Yiannis Karavias & Elias Tzavalis, 2022. "Panel unit-root tests with structural breaks," Stata Journal, StataCorp LLC, vol. 22(3), pages 664-678, September.
    8. Mita Bhattacharya & Eric Yan, 2025. "Press freedom and stringency measures: the role of energy consumption during COVID-19 lockdowns," Empirical Economics, Springer, vol. 68(6), pages 2515-2547, June.
    9. Linus Nyiwul & Zhining Hu & Niraj P. Koirala & Hannah Wasson, 2025. "Economic uncertainty and renewable energy investment," International Economics and Economic Policy, Springer, vol. 22(3), pages 1-36, July.
    10. Yugang He, 2024. "E-commerce and foreign direct investment: pioneering a new era of trade strategies," Humanities and Social Sciences Communications, Palgrave Macmillan, vol. 11(1), pages 1-14, December.
    11. Aslanidis, Nektarios & Bariviera, Aurelio & Kapetanios, George & Sarafidis, Vasilis, 2025. "Heterogeneous Exposures to Systematic and Idiosyncratic Risk across Crypto Assets: A Divide-and-Conquer Approach," MPRA Paper 125124, University Library of Munich, Germany.
    12. repec:ags:aaea22:335448 is not listed on IDEAS
    13. Jia Chen & Guowei Cui & Vasilis Sarafidis & Takashi Yamagata, 2025. "IV Estimation of Heterogeneous Spatial Dynamic Panel Models with Interactive Effects," Papers 2501.18467, arXiv.org.
    14. Van Bon Nguyen, 2023. "The remittance inflows - private investment nexus in Asian developing countries: does institutional quality matter?," Economic Research Guardian, Mutascu Publishing, vol. 13(1), pages 31-46, June.
    15. Guowei Cui & Milda NorkutÄ— & Vasilis Sarafidis & Takashi Yamagata, 2022. "Two-stage instrumental variable estimation of linear panel data models with interactive effects [Eigenvalue ratio test for the number of factors]," The Econometrics Journal, Royal Economic Society, vol. 25(2), pages 340-361.
    16. Le Clech, Néstor A., 2024. "Policy market orientation, property rights, and corruption effects on the rent of non-renewable resources in Latin America and the Caribbean," Resources Policy, Elsevier, vol. 91(C).
    17. Linus Nyiwul & Zhining Hu & Niraj P. Koirala, 2025. "Innovation and water productivity: Empirical evidence from water‐related patents," Applied Economic Perspectives and Policy, John Wiley & Sons, vol. 47(2), pages 515-555, May.
    18. Agoraki, Maria-Eleni K. & Aslanidis, Nektarios & Kouretas, Georgios P., 2022. "U.S. banks’ lending, financial stability, and text-based sentiment analysis," Journal of Economic Behavior & Organization, Elsevier, vol. 197(C), pages 73-90.
    19. Samuel Asumadu Sarkodie & Ahdi Noomen Ajmi & Festus Fatai Adedoyin & Phebe Asantewaa Owusu, 2021. "Econometrics of Anthropogenic Emissions, Green Energy-Based Innovations, and Energy Intensity across OECD Countries," Sustainability, MDPI, vol. 13(8), pages 1-18, April.
    20. Néstor A. Clech, 2025. "Macroeconomic and institutional determinants of human capital wealth: gender disparities and implications," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 42(1), pages 121-153, April.
    21. Sebastian Kripfganz & Vasilis Sarafidis, 2021. "Instrumental-variable estimation of large-T panel-data models with common factors," Stata Journal, StataCorp LLC, vol. 21(3), pages 659-686, September.
    22. Livio Di Matteo & Robert Petrunia, 2022. "Does economic inequality breed murder? An empirical investigation of the relationship between economic inequality and homicide rates in Canadian provinces and CMAs," Empirical Economics, Springer, vol. 62(6), pages 2951-2988, June.
    23. Mary, Sebastien J. & Stoler, Avraham & Shafiq, Sarah & Craven, Kyle, 2023. "Dams of Malaria," 2023 Annual Meeting, July 23-25, Washington D.C. 335448, Agricultural and Applied Economics Association.
    24. Agoraki, Maria-Eleni & Aslanidis, Nektarios & Kouretas, Georgios P., 2021. "U.S. Banks’ lending behaviour, financial stability, and investor sentiment: A textual analysis," Working Papers 2072/534915, Universitat Rovira i Virgili, Department of Economics.
    25. Okere, Kingsley Ikechukwu & Dimnwobi, Stephen Kelechi & Ekesiobi, Chukwunonso & Onuoha, Favour Chidinma, 2023. "Turning the tide on energy poverty in sub-Saharan Africa: Does public debt matter?," Energy, Elsevier, vol. 282(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:21:y:2021:i:3:p:659-686. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.