IDEAS home Printed from https://ideas.repec.org/p/bzn/wpaper/bemps113.html

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. Seo, Myung Hwan & Shin, Yongcheol, 2016. "Dynamic panels with threshold effect and endogeneity," Journal of Econometrics, Elsevier, vol. 195(2), pages 169-186.
    2. 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).
    3. 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.
    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. Bruce E. Hansen, 2000. "Sample Splitting and Threshold Estimation," Econometrica, Econometric Society, vol. 68(3), pages 575-604, May.
    6. 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.
    7. 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.
    8. Myung Hwan Seo & Sueyoul Kim & Young-Joo Kim, 2019. "Estimation of dynamic panel threshold model using Stata," Stata Journal, StataCorp LLC, vol. 19(3), pages 685-697, September.
    9. 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.
    10. 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.
    11. Tony Lancaster, 2002. "Orthogonal Parameters and Panel Data," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 69(3), pages 647-666.
    12. Woosik Gong & Myung Hwan Seo, 2022. "Bootstraps for Dynamic Panel Threshold Models," Papers 2211.04027, arXiv.org, revised Nov 2025.
    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. Anis Ochi & Makram Nouaili & Yosra Saidi & Amine Haouas & Anis Saidi, 2026. "Foreign Direct Investment and Economic Growth in Arab Countries: Do Institutions, Financial Development, and Knowledge Economy Matter?," Journal of the Knowledge Economy, Springer;Portland International Center for Management of Engineering and Technology (PICMET), vol. 17(2), pages 5145-5179, April.
    3. Awoa, Paul Awoa & Efogo, Françoise Okah & Ondoa, Henri Atangana, 2023. "Oil dependence and entrepreneurship: Non-linear evidence," Economic Systems, Elsevier, vol. 47(1).
    4. Mara, Eugenia Ramona, 2025. "Mitigating energy poverty in the European union welfare states through renewable energy and technological innovation," Economic Analysis and Policy, Elsevier, vol. 86(C), pages 438-460.
    5. 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).
    6. Ben Cheikh, Nidhaleddine & Ben Zaied, Younes & Nguyen, Duc Khuong, 2025. "Financial inclusion and energy access in sub-Saharan Africa," Research in International Business and Finance, Elsevier, vol. 79(C).
    7. Bação, Pedro & Duarte, Joshua & Pereira, Melissa & Simões, Marta, 2025. "Social expenditure composition and inequality: A dynamic panel threshold analysis for OECD countries," European Journal of Political Economy, Elsevier, vol. 90(PA).
    8. Qusai Mohammad Qasim Alabed & Fathin Faizah Said & Zulkefly Abdul Karim & Mohd Azlan Shah Zaidi & Mohammed Daher Alshammary, 2021. "Energy–Growth Nexus in the MENA Region: A Dynamic Panel Threshold Estimation," Sustainability, MDPI, vol. 13(22), pages 1-18, November.
    9. Emmanuel Mensah & Christopher Boachie, 2024. "The Threshold Effects of National Governance Quality on the Earnings Management – Performance Nexus: Evidence From Dynamic Panel Threshold Regression," SAGE Open, , vol. 14(4), pages 21582440241, December.
    10. Horvey, Sylvester Senyo & Odei-Mensah, Jones & Moloi, Tankiso & Bokpin, Godfred A., 2024. "Digital economy, financial development and energy transition in Africa: Exploring for synergies and nonlinearities," Applied Energy, Elsevier, vol. 376(PB).
    11. Pommeret, Aude & Yu, Xiaojun & Zhang, Lin, 2022. "Stringency of environmental policy in China: When pollution drives bribery," Economic Modelling, Elsevier, vol. 117(C).
    12. 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.
    13. Seo, Myung Hwan & Shin, Yongcheol, 2016. "Dynamic panels with threshold effect and endogeneity," Journal of Econometrics, Elsevier, vol. 195(2), pages 169-186.
    14. Paul Awoa Awoa & Henri Atangana Ondoa, 2024. "Heterogeneous role of resource dependence on industrialization in developing countries," Comparative Economic Studies, Palgrave Macmillan;Association for Comparative Economic Studies, vol. 66(4), pages 753-781, December.
    15. Woosik Gong & Myung Hwan Seo, 2022. "Bootstraps for Dynamic Panel Threshold Models," Papers 2211.04027, arXiv.org, revised Nov 2025.
    16. Péter Benczúr & Virmantas Kvedaras, 2021. "Nonlinear impact of financial deepening on income inequality," Empirical Economics, Springer, vol. 60(4), pages 1939-1967, April.
    17. Fang, Hao & Chung, Chien-Ping & Lee, Yen-Hsien, 2025. "Moderating effect of credit growth for financial development on economic growth: Considering banking crises and endogeneity," The Quarterly Review of Economics and Finance, Elsevier, vol. 104(C).
    18. Zhang, Xiaobei & Wang, Xiaojun, 2021. "Measures of human capital and the mechanics of economic growth," China Economic Review, Elsevier, vol. 68(C).
    19. 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.
    20. 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.

    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.