IDEAS home Printed from https://ideas.repec.org/p/bzn/wpaper/bemps113.html
   My bibliography  Save this paper

PanelTM: an R package for two- and three-way dynamic panel threshold regression model

Author

Listed:
  • F. Marta L. Di Lascio

    (Free University of Bozen-Bolzano, Italy)

  • Selene Perazzini

    (Free University of Bozen-Bolzano, Italy)

Abstract

This paper presents the R package PanelTM, which provides tools for estimating twoand three-way dynamic panel threshold regression models. Estimation is performed using a generalized method of moments approach based on first-difference transformations and instrumental variables as developed by Seo and Shin (2016) and applied in a threeway fashion by Di Lascio and Perazzini (2024, 2022). In addition to model estimation, PanelTM offers functionalities for change point detection, simulation and performance evaluation within panel structures with regime switches. The package is particularly suited to applications requiring the identification of structural breaks in complex panel data, with support for both exogenous and endogenous variables and for threshold heterogeneity across multiple dimensions.

Suggested Citation

  • F. Marta L. Di Lascio & Selene Perazzini, 2025. "PanelTM: an R package for two- and three-way dynamic panel threshold regression model," BEMPS - Bozen Economics & Management Paper Series BEMPS113, Faculty of Economics and Management at the Free University of Bozen.
  • Handle: RePEc:bzn:wpaper:bemps113
    as

    Download full text from publisher

    File URL: https://repec.unibz.it/bemps113.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Hansen, Bruce E., 1999. "Threshold effects in non-dynamic panels: Estimation, testing, and inference," Journal of Econometrics, Elsevier, vol. 93(2), pages 345-368, December.
    2. Laszlo Balazsi & Laszlo Matyas & Tom Wansbeek, 2018. "The estimation of multidimensional fixed effects panel data models," Econometric Reviews, Taylor & Francis Journals, vol. 37(3), pages 212-227, March.
    3. Bates, Douglas & Mächler, Martin & Bolker, Ben & Walker, Steve, 2015. "Fitting Linear Mixed-Effects Models Using lme4," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i01).
    4. 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).
    5. 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.
    6. Bruce E. Hansen, 2000. "Sample Splitting and Threshold Estimation," Econometrica, Econometric Society, vol. 68(3), pages 575-604, May.
    7. Tony Lancaster, 2002. "Orthogonal Parameters and Panel Data," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 69(3), pages 647-666.
    8. Woosik Gong & Myung Hwan Seo, 2022. "Bootstraps for Dynamic Panel Threshold Models," Papers 2211.04027, arXiv.org, revised Jul 2025.
    9. Seo, Myung Hwan & Shin, Yongcheol, 2016. "Dynamic panels with threshold effect and endogeneity," Journal of Econometrics, Elsevier, vol. 195(2), pages 169-186.
    10. 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.
    11. Hsiao, Cheng & Zhang, Junwei, 2015. "IV, GMM or likelihood approach to estimate dynamic panel models when either N or T or both are large," Journal of Econometrics, Elsevier, vol. 187(1), pages 312-322.
    Full references (including those not matched with items on IDEAS)

    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. F. Marta L. Di Lascio & Selene Perazzini, 2024. "A three-way dynamic panel threshold regression model for change point detection in bioimpedance data," BEMPS - Bozen Economics & Management Paper Series BEMPS104, Faculty of Economics and Management at the Free University of Bozen.
    2. Seo, Myung Hwan & Shin, Yongcheol, 2016. "Dynamic panels with threshold effect and endogeneity," Journal of Econometrics, Elsevier, vol. 195(2), pages 169-186.
    3. Pommeret, Aude & Yu, Xiaojun & Zhang, Lin, 2022. "Stringency of environmental policy in China: When pollution drives bribery," Economic Modelling, Elsevier, vol. 117(C).
    4. Gebauer, Stefan & Setzer, Ralph & Westphal, Andreas, 2018. "Corporate debt and investment: A firm-level analysis for stressed euro area countries," Journal of International Money and Finance, Elsevier, vol. 86(C), pages 112-130.
    5. Kelbesa Megersa & Danny Cassimon, 2015. "Public Debt, Economic Growth, and Public Sector Management in Developing Countries: Is There a Link?," Public Administration & Development, Blackwell Publishing, vol. 35(5), pages 329-346, December.
    6. Samargandi, Nahla & Fidrmuc, Jan & Ghosh, Sugata, 2015. "Is the Relationship Between Financial Development and Economic Growth Monotonic? Evidence from a Sample of Middle-Income Countries," World Development, Elsevier, vol. 68(C), pages 66-81.
    7. Zhang, Xiaobei & Wang, Xiaojun, 2021. "Measures of human capital and the mechanics of economic growth," China Economic Review, Elsevier, vol. 68(C).
    8. Dang, Viet Anh & Kim, Minjoo & Shin, Yongcheol, 2014. "Asymmetric adjustment toward optimal capital structure: Evidence from a crisis," International Review of Financial Analysis, Elsevier, vol. 33(C), pages 226-242.
    9. Vinayagathasan, Thanabalasingam, 2013. "Inflation and economic growth: A dynamic panel threshold analysis for Asian economies," Journal of Asian Economics, Elsevier, vol. 26(C), pages 31-41.
    10. Tamoya Christie, 2014. "The Effect Of Government Spending On Economic Growth: Testing The Non-Linear Hypothesis," Bulletin of Economic Research, Wiley Blackwell, vol. 66(2), pages 183-204, April.
    11. Chen, Chaoyi & Pinar, Mehmet & Stengos, Thanasis, 2021. "Determinants of renewable energy consumption: Importance of democratic institutions," Renewable Energy, Elsevier, vol. 179(C), pages 75-83.
    12. Doerr, Leo M., 2025. "Aid and growth: Asymmetric effects?," The Journal of Economic Asymmetries, Elsevier, vol. 31(C).
    13. Awoa, Paul Awoa & Efogo, Françoise Okah & Ondoa, Henri Atangana, 2023. "Oil dependence and entrepreneurship: Non-linear evidence," Economic Systems, Elsevier, vol. 47(1).
    14. Alessio Ciarlone, 2019. "The relationship between financial development and growth: the case of emerging Europe," Questioni di Economia e Finanza (Occasional Papers) 521, Bank of Italy, Economic Research and International Relations Area.
    15. Alia, Didier Yelognisse & Anago, Romuald E. Kouadio, 2014. "Foreign aid effectiveness in African economies: Evidence from a panel threshold framework," WIDER Working Paper Series 015, World Institute for Development Economic Research (UNU-WIDER).
    16. Olaoye, Olumide O. & Eluwole, Oluwatosin O. & Ayesha, Aziz & Afolabi, Olugbenga O., 2020. "Government spending and economic growth in ECOWAS: An asymmetric analysis," The Journal of Economic Asymmetries, Elsevier, vol. 22(C).
    17. Wu, Haitao & Hao, Yu & Weng, Jia-Hsi, 2019. "How does energy consumption affect China's urbanization? New evidence from dynamic threshold panel models," Energy Policy, Elsevier, vol. 127(C), pages 24-38.
    18. Ben Atta, Oussama & Mughal, Mazhar Yasin & Rey, Serge, 2025. "Migrant remittances and real exchange rate dynamics in developing countries: Evidence of a U-shaped relationship," Economic Modelling, Elsevier, vol. 148(C).
    19. Ugo Panizza & Andrea F. Presbitero, 2013. "Public Debt and Economic Growth in Advanced Economies: A Survey," Swiss Journal of Economics and Statistics (SJES), Swiss Society of Economics and Statistics (SSES), vol. 149(II), pages 175-204, June.
    20. Ben Naceur Samy & Ghazouani Samir, 2005. "Does Inflation Impact on Financial Sector Performance in the MENA Region?," Review of Middle East Economics and Finance, De Gruyter, vol. 3(3), pages 48-58, December.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models
    • L66 - Industrial Organization - - Industry Studies: Manufacturing - - - Food; Beverages; Cosmetics; Tobacco

    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:bzn:wpaper:bemps113. 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: F. Marta L. Di Lascio or Alessandro Fedele (email available below). General contact details of provider: https://edirc.repec.org/data/feubzit.html .

    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.