IDEAS home Printed from https://ideas.repec.org/p/sad/wpaper/183.html

Machine Learning and Shrinkage in Dynamic Panel Forecasting

Author

Listed:
  • Magdalena Cornejo

    (Universidad Torcuato Di Tella - CONICET)

  • Walter Sosa Escudero

    (Universidad de San Andrés - CONICET)

Abstract

This paper studies forecasting in dynamic panel data models with fixed effects. We compare the forecasting accuracy of conventional estimators—pooledOLS,fixed effects, Anderson–Hsiao, and Arellano–Bond—against shrinkage and regularization methods such as Ridge, LASSO, ElasticNet, empirical Bayes maximum likelihood and the recent unbiased risk estimation of Kwon (2026). Monte Carlo evidence shows that shrinkage methods substantially improve out-of-sample accuracy. An empirical application to firm-level leverage dynamics using Compustat data confirms the relevance of these findings for forecasting in corporate finance. Machine learning regularization can improve forecasting performance in dynamic panel settings while preserving the structural framework.

Suggested Citation

  • Magdalena Cornejo & Walter Sosa Escudero, 2026. "Machine Learning and Shrinkage in Dynamic Panel Forecasting," Working Papers 183, Universidad de San Andres, Departamento de Economia, revised May 2026.
  • Handle: RePEc:sad:wpaper:183
    as

    Download full text from publisher

    File URL: https://repec.udesa.edu.ar/pub/econ/doc183.pdf
    File Function: First version, May 2026
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bun, Maurice J.G. & Carree, Martin A., 2005. "Bias-Corrected Estimation in Dynamic Panel Data Models," Journal of Business & Economic Statistics, American Statistical Association, vol. 23, pages 200-210, April.
    2. Herbert Brücker & Boriss Siliverstovs, 2006. "On the estimation and forecasting of international migration: how relevant is heterogeneity across countries?," Empirical Economics, Springer, vol. 31(3), pages 735-754, September.
    3. Victor Chernozhukov & Iv'an Fern'andez-Val & Chen Huang & Weining Wang, 2024. "Arellano-Bond LASSO Estimator for Dynamic Linear Panel Models," Papers 2402.00584, arXiv.org, revised Mar 2026.
    4. Badi H. Baltagi, 2021. "Econometric Analysis of Panel Data," Springer Texts in Business and Economics, Springer, edition 6, number 978-3-030-53953-5, January.
    5. Soonwoo Kwon, 2026. "Optimal Shrinkage Estimation of Fixed Effects in Linear Panel Data Models," Econometrica, Econometric Society, vol. 94(2), pages 663-677, March.
    6. Murray Z. Frank & Vidhan K. Goyal, 2009. "Capital Structure Decisions: Which Factors Are Reliably Important?," Financial Management, Financial Management Association International, vol. 38(1), pages 1-37, March.
    7. Bingduo Yang & Wei Long & Zongwu Cai, 2024. "Machine Learning Based Panel Data Models," WORKING PAPERS SERIES IN THEORETICAL AND APPLIED ECONOMICS 202402, University of Kansas, Department of Economics, revised Jan 2024.
    8. Laura Liu & Hyungsik Roger Moon & Frank Schorfheide, 2020. "Forecasting With Dynamic Panel Data Models," Econometrica, Econometric Society, vol. 88(1), pages 171-201, January.
    9. Pesaran, M. Hashem & Smith, Ron, 1995. "Estimating long-run relationships from dynamic heterogeneous panels," Journal of Econometrics, Elsevier, vol. 68(1), pages 79-113, July.
    10. Flannery, Mark J. & Rangan, Kasturi P., 2006. "Partial adjustment toward target capital structures," Journal of Financial Economics, Elsevier, vol. 79(3), pages 469-506, March.
    11. Nickell, Stephen J, 1981. "Biases in Dynamic Models with Fixed Effects," Econometrica, Econometric Society, vol. 49(6), pages 1417-1426, November.
    12. Rajan, Raghuram G & Zingales, Luigi, 1995. "What Do We Know about Capital Structure? Some Evidence from International Data," Journal of Finance, American Finance Association, vol. 50(5), pages 1421-1460, December.
    13. Badi H. Baltagi & Bernard Fingleton & Alain Pirotte, 2014. "Estimating and Forecasting with a Dynamic Spatial Panel Data Model," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 76(1), pages 112-138, February.
    14. Camehl, Annika, 2023. "Penalized estimation of panel vector autoregressive models: A panel LASSO approach," International Journal of Forecasting, Elsevier, vol. 39(3), pages 1185-1204.
    15. Badi H. Baltagi, 2008. "Forecasting with panel data," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 27(2), pages 153-173.
    16. Michael L. Lemmon & Michael R. Roberts & Jaime F. Zender, 2008. "Back to the Beginning: Persistence and the Cross‐Section of Corporate Capital Structure," Journal of Finance, American Finance Association, vol. 63(4), pages 1575-1608, August.
    17. 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.
    18. Judson, Ruth A. & Owen, Ann L., 1999. "Estimating dynamic panel data models: a guide for macroeconomists," Economics Letters, Elsevier, vol. 65(1), pages 9-15, October.
    19. Mark T. Leary & Michael R. Roberts, 2005. "Do Firms Rebalance Their Capital Structures?," Journal of Finance, American Finance Association, vol. 60(6), pages 2575-2619, December.
    20. 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.
    21. Kiviet, Jan F., 1995. "On bias, inconsistency, and efficiency of various estimators in dynamic panel data models," Journal of Econometrics, Elsevier, vol. 68(1), pages 53-78, July.
    22. Ahn, Seung C. & Schmidt, Peter, 1995. "Efficient estimation of models for dynamic panel data," Journal of Econometrics, Elsevier, vol. 68(1), pages 5-27, July.
    23. 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.
    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. Dang, Viet Anh & Kim, Minjoo & Shin, Yongcheol, 2015. "In search of robust methods for dynamic panel data models in empirical corporate finance," Journal of Banking & Finance, Elsevier, vol. 53(C), pages 84-98.
    2. Durand, Robert B. & Greene, William H. & Harris, Mark N. & Khoo, Joye, 2022. "Heterogeneity in speed of adjustment using finite mixture models," Economic Modelling, Elsevier, vol. 107(C).
    3. 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.
    4. Zhaoxia Xu, 2007. "Do Firms Adjust Toward a Target Leverage Level?," Staff Working Papers 07-50, Bank of Canada.
    5. Natalia Szomko, 2017. "The Importance of Estimation Method Choice for the Analysis of the Determinants of Capital Structure– An Example of Poland," World Journal of Applied Economics, WERI-World Economic Research Institute, vol. 3(1), pages 3-20, June.
    6. Flannery, Mark J. & Hankins, Kristine Watson, 2013. "Estimating dynamic panel models in corporate finance," Journal of Corporate Finance, Elsevier, vol. 19(C), pages 1-19.
    7. Dang, Viet Anh & Kim, Minjoo & Shin, Yongcheol, 2012. "Asymmetric capital structure adjustments: New evidence from dynamic panel threshold models," Journal of Empirical Finance, Elsevier, vol. 19(4), pages 465-482.
    8. Mahdi Ghaemi Asl & Mohammad Ghasemi Doudkanlou & Giorgio Canarella & Stephen M. Miller, 2024. "On the speed of adjustment (SOA) toward the target financial leverage ratios and its determinants: Evidence from the capital structure of the ICT sector," Journal of Evolutionary Economics, Springer, vol. 34(4), pages 953-990, December.
    9. Viet Anh Dang, 2011. "Testing Capital Structure Theories Using Error Correction Models: Evidence From The Uk, France And Germany," Post-Print hal-00732527, HAL.
    10. Surenderrao Komera & P. J. Jijo Lukose, 2016. "Heterogeneity and Asymmetry in Speed of Leverage Adjustment: The Indian Experience," Review of Pacific Basin Financial Markets and Policies (RPBFMP), World Scientific Publishing Co. Pte. Ltd., vol. 19(03), pages 1-26, September.
    11. Kripfganz, Sebastian, 2014. "Unconditional Transformed Likelihood Estimation of Time-Space Dynamic Panel Data Models," VfS Annual Conference 2014 (Hamburg): Evidence-based Economic Policy 100604, Verein für Socialpolitik / German Economic Association.
    12. McMillan, David G. & Camara, Omar, 2012. "Dynamic capital structure adjustment: US MNCs & DCs," Journal of Multinational Financial Management, Elsevier, vol. 22(5), pages 278-301.
    13. İbrahim Yarba & Z. Nuray Güner, 2020. "Leverage dynamics: Do financial development and government leverage matter? Evidence from a major developing economy," Empirical Economics, Springer, vol. 59(5), pages 2473-2507, November.
    14. Giorgio Canarella & Stephen M. Miller, 2019. "Determinants of Optimal Capital Structure and Speed of Adjustment: Evidence from the U.S. ICT Sector," Working papers 2019-06, University of Connecticut, Department of Economics.
    15. Im, Hyun Joong & Kang, Ya & Shon, Janghoon, 2020. "How does uncertainty influence target capital structure?," Journal of Corporate Finance, Elsevier, vol. 64(C).
    16. Viet Anh Dang, 2013. "Testing capital structure theories using error correction models: evidence from the UK, France and Germany," Applied Economics, Taylor & Francis Journals, vol. 45(2), pages 171-190, January.
    17. Ricardo Barradas, 2023. "Why Has Labor Productivity Slowed Down in the Era of Financialization?: Insights from the Post-Keynesians for the European Union Countries," Review of Radical Political Economics, Union for Radical Political Economics, vol. 55(3), pages 390-422, September.
    18. Morais, Flávio & Serrasqueiro, Zélia & Ramalho, Joaquim J.S., 2022. "Capital structure speed of adjustment heterogeneity across zero leverage and leveraged European firms," Research in International Business and Finance, Elsevier, vol. 62(C).
    19. Badi H. Baltagi & Chihwa Kao, 2000. "Nonstationary Panels, Cointegration in Panels and Dynamic Panels: A Survey," Center for Policy Research Working Papers 16, Center for Policy Research, Maxwell School, Syracuse University.
    20. Maria Elena Bontempi & Roberto Golinelli, 2012. "The effect of neglecting the slope parameters’ heterogeneity on dynamic models of corporate capital structure," Quantitative Finance, Taylor & Francis Journals, vol. 12(11), pages 1733-1751, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:sad:wpaper:183. 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: Economia (email available below). General contact details of provider: https://edirc.repec.org/data/desanar.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.