IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v63y2024i6d10.1007_s10614-023-10397-0.html

Some searches may not work properly. We apologize for the inconvenience.

   My bibliography  Save this article

Unit Roots in Macroeconomic Time Series: A Comparison of Classical, Bayesian and Machine Learning Approaches

Author

Listed:
  • Yamin Ahmad

    (University of Wisconsin-Whitewater)

  • Adam Check

    (U.S. Bank, Hopkins Excelsior Blvd)

  • Ming Chien Lo

    (Metropolitan State University, College of Management)

Abstract

We compare the effectiveness of Classical, Bayesian, and Machine Learning (ML) methods for predicting the presence of a unit root in univariate time-series models. Framing the issue as a classification problem, we demonstrate how ML may be used to uncover structural features of a macroeconomic time series with small data. We use a Monte Carlo approach to evaluate the predictions from these approaches and find that ML outperforms both the Classical and Bayesian tests using prediction accuracy, and appears to be the most flexible for classifying unit roots when class imbalance is present. In data, we find broad consensus among the approaches for predicted nonstationary series, with some disagreement for predicted stationary series.

Suggested Citation

  • Yamin Ahmad & Adam Check & Ming Chien Lo, 2024. "Unit Roots in Macroeconomic Time Series: A Comparison of Classical, Bayesian and Machine Learning Approaches," Computational Economics, Springer;Society for Computational Economics, vol. 63(6), pages 2139-2173, June.
  • Handle: RePEc:kap:compec:v:63:y:2024:i:6:d:10.1007_s10614-023-10397-0
    DOI: 10.1007/s10614-023-10397-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-023-10397-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-023-10397-0?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. John Geweke & Susan Porter‐Hudak, 1983. "The Estimation And Application Of Long Memory Time Series Models," Journal of Time Series Analysis, Wiley Blackwell, vol. 4(4), pages 221-238, July.
    2. Razvan Pascalau, 2010. "Unit root tests with smooth breaks: an application to the Nelson-Plosser data set," Applied Economics Letters, Taylor & Francis Journals, vol. 17(6), pages 565-570.
    3. Matei Demetrescu & Uwe Hassler & Adina‐Ioana Tarcolea, 2006. "Combining Significance of Correlated Statistics with Application to Panel Data," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 68(5), pages 647-663, October.
    4. Kapetanios, George & Shin, Yongcheol & Snell, Andy, 2003. "Testing for a unit root in the nonlinear STAR framework," Journal of Econometrics, Elsevier, vol. 112(2), pages 359-379, February.
    5. Uhlig, Harald, 1994. "On Jeffreys Prior when Using the Exact Likelihood Function," Econometric Theory, Cambridge University Press, vol. 10(3-4), pages 633-644, August.
    6. Kwiatkowski, Denis & Phillips, Peter C. B. & Schmidt, Peter & Shin, Yongcheol, 1992. "Testing the null hypothesis of stationarity against the alternative of a unit root : How sure are we that economic time series have a unit root?," Journal of Econometrics, Elsevier, vol. 54(1-3), pages 159-178.
    7. Dickey, David A & Fuller, Wayne A, 1981. "Likelihood Ratio Statistics for Autoregressive Time Series with a Unit Root," Econometrica, Econometric Society, vol. 49(4), pages 1057-1072, June.
    8. Zivot, Eric & Andrews, Donald W K, 2002. "Further Evidence on the Great Crash, the Oil-Price Shock, and the Unit-Root Hypothesis," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 25-44, January.
    9. Robinson Kruse, 2011. "A new unit root test against ESTAR based on a class of modified statistics," Statistical Papers, Springer, vol. 52(1), pages 71-85, February.
    10. John Marriott & Paul Newbold, 1998. "Bayesian Comparison of ARIMA and Stationary ARMA Models," International Statistical Review, International Statistical Institute, vol. 66(3), pages 323-336, December.
    11. Stefan Wager & Susan Athey, 2018. "Estimation and Inference of Heterogeneous Treatment Effects using Random Forests," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 113(523), pages 1228-1242, July.
    12. Susan Athey & Guido W. Imbens, 2019. "Machine Learning Methods That Economists Should Know About," Annual Review of Economics, Annual Reviews, vol. 11(1), pages 685-725, August.
    13. Susan Athey & Mohsen Bayati & Nikolay Doudchenko & Guido Imbens & Khashayar Khosravi, 2021. "Matrix Completion Methods for Causal Panel Data Models," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 116(536), pages 1716-1730, October.
    14. Im, Kyung So & Pesaran, M. Hashem & Shin, Yongcheol, 2003. "Testing for unit roots in heterogeneous panels," Journal of Econometrics, Elsevier, vol. 115(1), pages 53-74, July.
    15. Walter Enders & Junsoo Lee, 2012. "A Unit Root Test Using a Fourier Series to Approximate Smooth Breaks," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 74(4), pages 574-599, August.
    16. Stock, James H., 1994. "Deciding between I(1) and I(0)," Journal of Econometrics, Elsevier, vol. 63(1), pages 105-131, July.
    17. Fan, Yanqin & Gençay, Ramazan, 2010. "Unit Root Tests With Wavelets," Econometric Theory, Cambridge University Press, vol. 26(5), pages 1305-1331, October.
    18. Susan Athey & Guido Imbens & Thai Pham & Stefan Wager, 2017. "Estimating Average Treatment Effects: Supplementary Analyses and Remaining Challenges," American Economic Review, American Economic Association, vol. 107(5), pages 278-281, May.
    19. Susan Athey & Guido W. Imbens, 2017. "The State of Applied Econometrics: Causality and Policy Evaluation," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 3-32, Spring.
    20. Sephton, Peter S, 1994. "Cointegration Tests on MARS," Computational Economics, Springer;Society for Computational Economics, vol. 7(1), pages 23-35, February.
    21. Sendhil Mullainathan & Jann Spiess, 2017. "Machine Learning: An Applied Econometric Approach," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 87-106, Spring.
    22. A. Belloni & V. Chernozhukov & I. Fernández‐Val & C. Hansen, 2017. "Program Evaluation and Causal Inference With High‐Dimensional Data," Econometrica, Econometric Society, vol. 85, pages 233-298, January.
    23. Mauro Costantini & Claudio Lupi, 2013. "A Simple Panel-CADF Test for Unit Roots," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 75(2), pages 276-296, April.
    24. Kuan, Chung-Ming & Liu, Tung, 1995. "Forecasting Exchange Rates Using Feedforward and Recurrent Neural Networks," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 10(4), pages 347-364, Oct.-Dec..
    25. Nelson, Charles R. & Plosser, Charles I., 1982. "Trends and random walks in macroeconmic time series : Some evidence and implications," Journal of Monetary Economics, Elsevier, vol. 10(2), pages 139-162.
    26. Levin, Andrew & Lin, Chien-Fu & James Chu, Chia-Shang, 2002. "Unit root tests in panel data: asymptotic and finite-sample properties," Journal of Econometrics, Elsevier, vol. 108(1), pages 1-24, May.
    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. Li, Xiao-Lin & Tang, D.P. & Chang, Tsangyao, 2014. "CO2 emissions converge in the 50 U.S. states — Sequential panel selection method," Economic Modelling, Elsevier, vol. 40(C), pages 320-333.
    2. Chang, Tsangyao & Chu, Hsiao-Ping & Ranjbar, Omid, 2014. "Are GDP fluctuations transitory or permanent in African countries? Sequential Panel Selection Method," International Review of Economics & Finance, Elsevier, vol. 29(C), pages 380-399.
    3. Liu, Wen-Chi, 2013. "Reexamining the income inequality in China: Evidence from sequential panel selection method," Economic Modelling, Elsevier, vol. 31(C), pages 37-42.
    4. Murat ASLAN & Saban NAZLIOGLU, 2018. "Do International Relative Commodity Prices Support the Prebisch-Singer Hypothesis? A Nonlinear Panel Unit Root Testing," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(1), pages 76-92, December.
    5. He, Huizhen & Chou, Ming Che & Chang, Tsangyao, 2014. "Purchasing power parity for 15 Latin American countries: Panel SURKSS test with a Fourier function," Economic Modelling, Elsevier, vol. 36(C), pages 37-43.
    6. Pei-Long Shen & Chih-Wei Su & Hsu-Ling Chang, 2013. "Are real GDP levels nonstationary across Central and Eastern European countries?," Baltic Journal of Economics, Baltic International Centre for Economic Policy Studies, vol. 13(1), pages 99-108, July.
    7. Tsangyao Chang & Tsung-Pao Wu & Rangan Gupta, 2015. "Are house prices in South Africa really nonstationary? Evidence from SPSM-based panel KSS test with a Fourier function," Applied Economics, Taylor & Francis Journals, vol. 47(1), pages 32-53, January.
    8. Yaya, OlaOluwa S & Ogbonna, Ephraim A & Furuoka, Fumitaka & Gil-Alana, Luis A., 2019. "A new unit root analysis for testing hysteresis in unemployment," MPRA Paper 96621, University Library of Munich, Germany.
    9. Shahbaz, Muhammad & Khraief, Naceur & Hammoudeh, Shawkat, 2019. "How Do Carbon Emissions Respond to Economic Shocks? Evidence from Low-, Middle- and High-Income Countries," MPRA Paper 93976, University Library of Munich, Germany, revised 15 May 2019.
    10. Razvan Pascalau, 2010. "Unit root tests with smooth breaks: an application to the Nelson-Plosser data set," Applied Economics Letters, Taylor & Francis Journals, vol. 17(6), pages 565-570.
    11. Lee, Chia-Hao & Chou, Pei-I, 2013. "The behavior of real exchange rate: Nonlinearity and breaks," International Review of Economics & Finance, Elsevier, vol. 27(C), pages 125-133.
    12. Omay, Tolga & Shahbaz, Muhammad & Stewart, Chris, 2021. "Is There Really Hysteresis in OECD Countries’ Unemployment Rates? New Evidence Using a Fourier Panel Unit Root Test," MPRA Paper 107691, University Library of Munich, Germany, revised 10 May 2021.
    13. Durusu-Ciftci, Dilek & Ispir, M. Serdar & Kok, Dundar, 2019. "Do stock markets follow a random walk? New evidence for an old question," International Review of Economics & Finance, Elsevier, vol. 64(C), pages 165-175.
    14. Cheng, Ka Ming, 2022. "Doubts on natural rate of unemployment: Evidence and policy implications," The Quarterly Review of Economics and Finance, Elsevier, vol. 86(C), pages 230-239.
    15. Wen Zhang & Hsu-Ling Chang & Chi-Wei Su, 2014. "Do real interest rates converge across Latin american countries?," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 13(2), pages 117-130, August.
    16. Liu, Yan & Chang, Hsu-Ling & Su, Chi-Wei, 2013. "Do real interest rates converge across East Asian countries based on China?," Economic Modelling, Elsevier, vol. 31(C), pages 467-473.
    17. James E Payne & Junsoo Lee, 2024. "Global perspective on the permanent or transitory nature of shocks to tourist arrivals: Evidence from new unit root tests with structural breaks and factors," Tourism Economics, , vol. 30(1), pages 67-103, February.
    18. Ogali, Oscar I.O. & Okoro, Emeka E. & Olafuyi, Saburi G., 2023. "Assessing consensus on nexus between natural gas consumption and economic growth," Renewable and Sustainable Energy Reviews, Elsevier, vol. 187(C).
    19. Mohsen Bahmani-Oskooee & Tsangyao Chang & Kuei-Chiu Lee, 2014. "Purchasing Power Parity in the BRICS and the MIST Countries: Sequential Panel Selection Method," Review of Economics & Finance, Better Advances Press, Canada, vol. 4, pages 1-12, Feburary.
    20. He, Huizhen & Ranjbar, Omid & Chang, Tsangyao, 2013. "Purchasing power parity in transition countries: Old wine with new bottle," Japan and the World Economy, Elsevier, vol. 28(C), pages 24-32.

    More about this item

    Keywords

    k-nearest neighbors; Random forest; Supervised learning; Support vector machines;
    All these keywords.

    JEL classification:

    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C49 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Other
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • E1 - Macroeconomics and Monetary Economics - - General Aggregative Models

    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:kap:compec:v:63:y:2024:i:6:d:10.1007_s10614-023-10397-0. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.