[go: up one dir, main page]

IDEAS home Printed from https://ideas.repec.org/a/eee/quaeco/v80y2021icp693-720.html
   My bibliography  Save this article

Panel vector autoregression in R with the package panelvar

Author

Listed:
  • Sigmund, Michael
  • Ferstl, Robert
Abstract
In this paper we extend two general methods of moment (GMM) estimators to panel vector autoregression models (PVAR) with p lags of endogenous variables, predetermined and strictly exogenous variables. We first extend the first difference GMM estimator to this extended PVAR model. Second, we do the same for the system GMM estimator. We implement these estimators in the R package panelvar. In addition to the GMM estimators, we contribute to the empirical literature by implementing common specification tests (Hansen overidentification test, lag selection criterion and stability test of the PVAR polynomial) and classical structural analysis for PVAR models such as orthogonal and generalized impulse response functions, bootstrapped confidence intervals for impulse response analysis and forecast error variance decompositions. Finally, we implement the first difference and the forward orthogonal transformation to remove the fixed effects.

Suggested Citation

  • Sigmund, Michael & Ferstl, Robert, 2021. "Panel vector autoregression in R with the package panelvar," The Quarterly Review of Economics and Finance, Elsevier, vol. 80(C), pages 693-720.
  • Handle: RePEc:eee:quaeco:v:80:y:2021:i:c:p:693-720
    DOI: 10.1016/j.qref.2019.01.001
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1062976918301467
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.qref.2019.01.001?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Hansen, Lars Peter, 1982. "Large Sample Properties of Generalized Method of Moments Estimators," Econometrica, Econometric Society, vol. 50(4), pages 1029-1054, July.
    2. Whitney K. Newey & Richard J. Smith, 2004. "Higher Order Properties of Gmm and Generalized Empirical Likelihood Estimators," Econometrica, Econometric Society, vol. 72(1), pages 219-255, January.
    3. Koenker, Roger & Machado, Jose A. F., 1999. "GMM inference when the number of moment conditions is large," Journal of Econometrics, Elsevier, vol. 93(2), pages 327-344, December.
    4. Javier Alvarez & Manuel Arellano, 2003. "The Time Series and Cross-Section Asymptotics of Dynamic Panel Data Estimators," Econometrica, Econometric Society, vol. 71(4), pages 1121-1159, July.
    5. Holtz-Eakin, Douglas & Newey, Whitney & Rosen, Harvey S, 1988. "Estimating Vector Autoregressions with Panel Data," Econometrica, Econometric Society, vol. 56(6), pages 1371-1395, November.
    6. Binder, Michael & Hsiao, Cheng & Pesaran, M. Hashem, 2005. "Estimation And Inference In Short Panel Vector Autoregressions With Unit Roots And Cointegration," Econometric Theory, Cambridge University Press, vol. 21(4), pages 795-837, August.
    7. Hansen, Lars Peter, 2012. "Proofs for large sample properties of generalized method of moments estimators," Journal of Econometrics, Elsevier, vol. 170(2), pages 325-330.
    8. Michael R. M. Abrigo & Inessa Love, 2016. "Estimation of panel vector autoregression in Stata," Stata Journal, StataCorp LP, vol. 16(3), pages 778-804, September.
    9. David Roodman, 2009. "A Note on the Theme of Too Many Instruments," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 71(1), pages 135-158, February.
    10. David Roodman, 2009. "How to do xtabond2: An introduction to difference and system GMM in Stata," Stata Journal, StataCorp LP, vol. 9(1), pages 86-136, March.
    11. Mehrhoff, Jens, 2009. "A solution to the problem of too many instruments in dynamic panel data GMM," Discussion Paper Series 1: Economic Studies 2009,31, Deutsche Bundesbank.
    12. Pesaran, H. Hashem & Shin, Yongcheol, 1998. "Generalized impulse response analysis in linear multivariate models," Economics Letters, Elsevier, vol. 58(1), pages 17-29, January.
    13. G. Kapetanios, 2008. "A bootstrap procedure for panel data sets with many cross-sectional units," Econometrics Journal, Royal Economic Society, vol. 11(2), pages 377-395, July.
    14. Pfaff, Bernhard, 2008. "VAR, SVAR and SVEC Models: Implementation Within R Package vars," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i04).
    15. Matz Dahlberg & Eva Johansson, 2000. "An examination of the dynamic behaviour of local governments using GMM bootstrapping methods," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 15(4), pages 401-416.
    16. Andrews, Donald W. K. & Lu, Biao, 2001. "Consistent model and moment selection procedures for GMM estimation with application to dynamic panel data models," Journal of Econometrics, Elsevier, vol. 101(1), pages 123-164, March.
    17. Croissant, Yves & Millo, Giovanni, 2008. "Panel Data Econometrics in R: The plm Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
    18. Arellano, Manuel & Bover, Olympia, 1995. "Another look at the instrumental variable estimation of error-components models," Journal of Econometrics, Elsevier, vol. 68(1), pages 29-51, July.
    19. Mehrhoff, Jens, 2009. "A solution to the problem of too many instruments in dynamic panel data GMM," IBES Diskussionsbeiträge 171, University of Duisburg-Essen, Institute of Business and Economic Studie (IBES).
    20. Anderson, T. W. & Hsiao, Cheng, 1982. "Formulation and estimation of dynamic models using panel data," Journal of Econometrics, Elsevier, vol. 18(1), pages 47-82, January.
    21. Ruud, Paul A., 2000. "An Introduction to Classical Econometric Theory," OUP Catalogue, Oxford University Press, number 9780195111644.
    22. Croissant, Yves & Millo, Giovanni, 2008. "Panel Data Econometrics in R: The plm Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
    23. Blundell, Richard & Bond, Stephen, 1998. "Initial conditions and moment restrictions in dynamic panel data models," Journal of Econometrics, Elsevier, vol. 87(1), pages 115-143, August.
    24. Sims, Christopher A, 1980. "Macroeconomics and Reality," Econometrica, Econometric Society, vol. 48(1), pages 1-48, January.
    25. Love, Inessa & Zicchino, Lea, 2006. "Financial development and dynamic investment behavior: Evidence from panel VAR," The Quarterly Review of Economics and Finance, Elsevier, vol. 46(2), pages 190-210, May.
    26. K. Newey, Whitney, 1985. "Generalized method of moments specification testing," Journal of Econometrics, Elsevier, vol. 29(3), pages 229-256, September.
    27. Michael R.M. Abrigo & Inessa Love, 2016. "Estimation of Panel Vector Autoregression in Stata: a Package of Programs," Working Papers 201602, University of Hawaii at Manoa, Department of Economics.
    28. Nickell, Stephen J, 1981. "Biases in Dynamic Models with Fixed Effects," Econometrica, Econometric Society, vol. 49(6), pages 1417-1426, November.
    29. Manuel Arellano & Stephen Bond, 1991. "Some Tests of Specification for Panel Data: Monte Carlo Evidence and an Application to Employment Equations," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 58(2), pages 277-297.
    30. Windmeijer, Frank, 2005. "A finite sample correction for the variance of linear efficient two-step GMM estimators," Journal of Econometrics, Elsevier, vol. 126(1), pages 25-51, May.
    Full references (including those not matched with items on IDEAS)

    Citations

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


    Cited by:

    1. Pedro H. Albuquerque & Prasad R. Vemala, 2024. "Femicide Rates in Mexican Cities along the US-Mexico Border," Journal of Borderlands Studies, Taylor & Francis Journals, vol. 39(5), pages 897-911, September.
    2. Kim-Hung Pho & Ngoc-Hien Nguyen & Huu-Nhan Huynh & Wing-Keung Wong, 2021. "A Detailed Guide on How to Use Statistical Software R for Text Mining," Advances in Decision Sciences, Asia University, Taiwan, vol. 25(3), pages 92-110, September.
    3. Ma, Cong & Cheok, Mui Yee & Chok, Nyen Vui, 2023. "Economic recovery through multisector management resources in small and medium businesses in China," Resources Policy, Elsevier, vol. 80(C).
    4. Mariusz Kapuściński, 2023. "Updated estimates of the role of the bank lending channel in monetary policy transmission in Poland," NBP Working Papers 359, Narodowy Bank Polski.
    5. Dazhong Wu & Michael Tannen & Julius Anyu & Sergey Ivanov & Feng Xu, 2023. "Contract manufacturing, market competition, and labor productivity in US manufacturing industries," Operations Management Research, Springer, vol. 16(1), pages 377-390, March.
    6. Nerantzidis, Michail & Tzeremes, Panayiotis & Koutoupis, Andreas & Pourgias, Apostolos, 2022. "Exploring the black box: Board gender diversity and corporate social performance," Finance Research Letters, Elsevier, vol. 48(C).
    7. Maximilian Zurek, 2022. "Real Estate Markets and Lending: Does Local Growth Fuel Risk?," Journal of Financial Services Research, Springer;Western Finance Association, vol. 62(1), pages 27-59, October.
    8. Dogan, Eyup & Chishti, Muhammad Zubair & Karimi Alavijeh, Nooshin & Tzeremes, Panayiotis, 2022. "The roles of technology and Kyoto Protocol in energy transition towards COP26 targets: Evidence from the novel GMM-PVAR approach for G-7 countries," Technological Forecasting and Social Change, Elsevier, vol. 181(C).
    9. Christos Kollias & Panayiotis Tzeremes, 2022. "Militarization, investment, and economic growth 1995–2019," Economics of Peace and Security Journal, EPS Publishing, vol. 17(1), pages 17-29, April.
    10. Zhang, Yonggang & Hyder, Mansoor & Baloch, Zulfiqar Ali & Qian, Chong & Berk Saydaliev, Hayot, 2022. "Nexus between oil price volatility and inflation: Mediating nexus from exchange rate," Resources Policy, Elsevier, vol. 79(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Lea Steininger & Michael Sigmund, 2020. "Reciprocity in bank regulatory reforms and income inequality: first evidence from a panel vector autoregression analysis," Empirical Economics, Springer, vol. 59(4), pages 1537-1572, October.
    2. Lips, Johannes, 2018. "Debt and the Oil Industry - Analysis on the Firm and Production Level," VfS Annual Conference 2018 (Freiburg, Breisgau): Digital Economy 181504, Verein für Socialpolitik / German Economic Association.
    3. Hertweck, Matthias & Brey, Bjoern, 2017. "The Persistent Effects of Monsoon Rainfall Shocks in India: A Nonlinear VAR Approach," VfS Annual Conference 2017 (Vienna): Alternative Structures for Money and Banking 168256, Verein für Socialpolitik / German Economic Association.
    4. Maurice J.G. Bun & Sarafidis, V., 2013. "Dynamic Panel Data Models," UvA-Econometrics Working Papers 13-01, Universiteit van Amsterdam, Dept. of Econometrics.
    5. Youssef, Ahmed & Abonazel, Mohamed R., 2015. "Alternative GMM Estimators for First-order Autoregressive Panel Model: An Improving Efficiency Approach," MPRA Paper 68674, University Library of Munich, Germany.
    6. Kacou Yves Thierry Kacou & Yacouba Kassouri & Andrew Adewale Alola & Mehmet Altuntaş, 2022. "Examining the sustainable development approach of migrants' remittances and financial development in sub‐Saharan African countries," Sustainable Development, John Wiley & Sons, Ltd., vol. 30(5), pages 804-816, October.
    7. Emna Trabelsi, 2022. "Macroprudential Transparency and Price Stability in Emerging and Developing Countries," Journal of Central Banking Theory and Practice, Central bank of Montenegro, vol. 11(1), pages 105-129.
    8. Joan Costa-Font & Cristina Vilaplana-Prieto, 2023. "‘Investing’ in care for old age? An examination of long-term care expenditure dynamics and its spillovers," Empirical Economics, Springer, vol. 64(1), pages 1-30, January.
    9. Al-Jahwari, Salim Ahmed Said, 2021. "Does the Twin-Deficits doctrine apply to the Gulf Cooperation Council? A dynamic panel VAR-X model approach," MPRA Paper 111232, University Library of Munich, Germany.
    10. Zouaoui, Haykel & Zoghlami, Feten, 2020. "On the income diversification and bank market power nexus in the MENA countries: Evidence from a GMM panel-VAR approach," Research in International Business and Finance, Elsevier, vol. 52(C).
    11. Sebastian Kripfganz & Claudia Schwarz, 2019. "Estimation of linear dynamic panel data models with time‐invariant regressors," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 34(4), pages 526-546, June.
    12. Ryan H. Murphy & Colin O’Reilly, 2019. "Applying panel vector autoregression to institutions, human capital, and output," Empirical Economics, Springer, vol. 57(5), pages 1633-1652, November.
    13. Canarella, Giorgio & Miller, Stephen M., 2018. "The determinants of growth in the U.S. information and communication technology (ICT) industry: A firm-level analysis," Economic Modelling, Elsevier, vol. 70(C), pages 259-271.
    14. Nguyen Thi Tuong Anh & Hung Quang Doan & Tuan Anh Bui & Nam Hoang Vu & Duong Thuy Thanh Le, 2022. "A Revisit of Motives for Chinese Outward Foreign Direct Investment: The Role of the Institution in Host Countries," SAGE Open, , vol. 12(4), pages 21582440221, December.
    15. Abdulaleem Isiaka & Alexander Mihailov & Giovanni Razzi, 2022. "Distributional Effects of Public Spending and Tax Shocks in Middle-Income Countries: A Panel VAR Approach," Economics Discussion Papers em-dp2022-09, Department of Economics, University of Reading.
    16. David Roodman, 2009. "How to do xtabond2: An introduction to difference and system GMM in Stata," Stata Journal, StataCorp LP, vol. 9(1), pages 86-136, March.
    17. Li, Shengfeng & Hoque, Hafiz & Thijssen, Jacco, 2021. "Firm financial behaviour dynamics and interactions: A structural vector autoregression approach," Journal of Corporate Finance, Elsevier, vol. 69(C).
    18. Bakhat, Mohcine & Labandeira, Xavier & Labeaga, José M. & López-Otero, Xiral, 2017. "Elasticities of transport fuels at times of economic crisis: An empirical analysis for Spain," Energy Economics, Elsevier, vol. 68(S1), pages 66-80.
    19. Cristiana Tudor, 2022. "The Nexus between Pollution and Obesity and the Magnifying Role of Media Consumption: International Evidence from GMM Systems Estimates," IJERPH, MDPI, vol. 19(16), pages 1-18, August.
    20. Hayakawa, Kazuhiko, 2016. "Improved GMM estimation of panel VAR models," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 240-264.

    More about this item

    Keywords

    Panel vector autoregression model; Generalized method of moments; First difference and system GMM; R;
    All these keywords.

    JEL classification:

    • G20 - Financial Economics - - Financial Institutions and Services - - - General
    • G30 - Financial Economics - - Corporate Finance and Governance - - - General

    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:eee:quaeco:v:80:y:2021:i:c:p:693-720. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620167 .

    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.