IDEAS home Printed from https://ideas.repec.org/a/gam/jijfss/v13y2025i3p170-d1745876.html

Predicting the Canadian Yield Curve Using Machine Learning Techniques

Author

Listed:
  • Ali Rayeni

    (Department of Finance, Schulich School of Business, York University, Toronto, ON M3J 1P3, Canada)

  • Hosein Naderi

    (Department of Finance, Schulich School of Business, York University, Toronto, ON M3J 1P3, Canada)

Abstract

This study applies machine learning methods to predict the Canadian yield curve using a comprehensive set of macroeconomic variables. Lagged values of the yield curve and a wide array of Canadian and international macroeconomic variables are utilized across various machine learning models. Hyperparameters are estimated to minimize mispricing across government bonds with different maturities. The Group Lasso algorithm outperforms the other models studied, followed by Lasso. In addition, the majority of the models outperform the Random Walk benchmark. The feature importance analysis reveals that oil prices, bond-related factors, labor market conditions, banks’ balance sheets, and manufacturing-related factors significantly drive yield curve predictions. This study is one of the few that uses such a broad array of macroeconomic variables to examine Canadian macro-level outcomes. It provides valuable insights for policymakers and market participants, with its feature importance analysis highlighting key drivers of the yield curve.

Suggested Citation

  • Ali Rayeni & Hosein Naderi, 2025. "Predicting the Canadian Yield Curve Using Machine Learning Techniques," IJFS, MDPI, vol. 13(3), pages 1-30, September.
  • Handle: RePEc:gam:jijfss:v:13:y:2025:i:3:p:170-:d:1745876
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7072/13/3/170/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7072/13/3/170/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Hongwei Zhang & Qiang He & Ben Jacobsen & Fuwei Jiang, 2020. "Forecasting stock returns with model uncertainty and parameter instability," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 35(5), pages 629-644, August.
    2. Bernanke, Ben S & Blinder, Alan S, 1992. "The Federal Funds Rate and the Channels of Monetary Transmission," American Economic Review, American Economic Association, vol. 82(4), pages 901-921, September.
    3. Priit Jeenas & Ricardo Lagos, 2024. "Q-Monetary Transmission," Journal of Political Economy, University of Chicago Press, vol. 132(3), pages 971-1012.
    4. Arturo Estrella & Mary R. Trubin, 2006. "The yield curve as a leading indicator: some practical issues," Current Issues in Economics and Finance, Federal Reserve Bank of New York, vol. 12(Jul).
    5. Kim Christensen & Mathias Siggaard & Bezirgen Veliyev, 2023. "A Machine Learning Approach to Volatility Forecasting," Journal of Financial Econometrics, Oxford University Press, vol. 21(5), pages 1680-1727.
    6. Adrian, Tobias & Crump, Richard K. & Moench, Emanuel, 2013. "Pricing the term structure with linear regressions," Journal of Financial Economics, Elsevier, vol. 110(1), pages 110-138.
    7. Harvey, Campbell R., 1988. "The real term structure and consumption growth," Journal of Financial Economics, Elsevier, vol. 22(2), pages 305-333, December.
    8. Nelson, Charles R & Siegel, Andrew F, 1987. "Parsimonious Modeling of Yield Curves," The Journal of Business, University of Chicago Press, vol. 60(4), pages 473-489, October.
    9. Ming Yuan & Yi Lin, 2006. "Model selection and estimation in regression with grouped variables," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 68(1), pages 49-67, February.
    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. David C. Wheelock & Mark E. Wohar, 2009. "Can the term spread predict output growth and recessions? a survey of the literature," Review, Federal Reserve Bank of St. Louis, vol. 91(Sep), pages 419-440.
    2. Michal Dvorák & Zlatuše Komárková & Adam Kucera, 2019. "The Czech Government Yield Curve Decomposition at the Lower Bound," Czech Journal of Economics and Finance (Finance a uver), Charles University Prague, Faculty of Social Sciences, vol. 69(1), pages 2-36, February.
    3. Hännikäinen, Jari, 2017. "When does the yield curve contain predictive power? Evidence from a data-rich environment," International Journal of Forecasting, Elsevier, vol. 33(4), pages 1044-1064.
    4. Todd Henry & Peter C.B. Phillips, 2020. "Forecasting Economic Activity Using the Yield Curve: Quasi-Real-Time Applications for New Zealand, Australia and the US," Cowles Foundation Discussion Papers 2259, Cowles Foundation for Research in Economics, Yale University.
    5. Evangelos Salachas & Georgios P. Kouretas & Nikiforos T. Laopodis, 2024. "The term structure of interest rates and economic activity: Evidence from the COVID‐19 pandemic," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(4), pages 1018-1041, July.
    6. Nakaota, Hiroshi & Fukuta, Yuichi, 2013. "The leading indicator property of the term spread and the monetary policy factors in Japan," Japan and the World Economy, Elsevier, vol. 28(C), pages 85-98.
    7. Ang, Andrew & Piazzesi, Monika & Wei, Min, 2006. "What does the yield curve tell us about GDP growth?," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 359-403.
    8. Pawel Dlotko & Simon Rudkin, 2019. "The Topology of Time Series: Improving Recession Forecasting from Yield Spreads," Working Papers 2019-02, Swansea University, School of Management.
    9. Thomas Nitschka & Diego M. Hager, 2022. "Responses of Swiss bond yields and stock prices to ECB policy surprises," Working Papers 2022-08, Swiss National Bank.
    10. Ibarra-Ramírez Raúl, 2021. "The Yield Curve as a Predictor of Economic Activity in Mexico: The Role of the Term Premium," Working Papers 2021-07, Banco de México.
    11. repec:hum:wpaper:sfb649dp2010-039 is not listed on IDEAS
    12. Camelia Minoiu & Andrés Schneider & Min Wei, 2023. "Why Does the Yield Curve Predict GDP Growth? The Role of Banks," FRB Atlanta Working Paper 2023-14, Federal Reserve Bank of Atlanta.
    13. Zeng, Qing & Lu, Xinjie & Xu, Jin & Lin, Yu, 2024. "Macro-Driven Stock Market Volatility Prediction: Insights from a New Hybrid Machine Learning Approach," International Review of Financial Analysis, Elsevier, vol. 96(PB).
    14. Rubén Fernández-Fuertes, 2025. "Monetary Policy Shocks: A New Hope. Large Language Models and Central Bank Communication," BAFFI CAREFIN Working Papers 25257, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    15. Elena Andreou & Eric Ghysels & Andros Kourtellos, 2013. "Should Macroeconomic Forecasters Use Daily Financial Data and How?," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 31(2), pages 240-251, April.
    16. Valentin Haddad & David Sraer, 2020. "The Banking View of Bond Risk Premia," Journal of Finance, American Finance Association, vol. 75(5), pages 2465-2502, October.
    17. Zaghum Umar & Mariya Gubareva & Tamara Teplova & Wafa Alwahedi, 2025. "Oil price shocks and the term structure of the US yield curve: a time–frequency analysis of spillovers and risk transmission," Annals of Operations Research, Springer, vol. 352(3), pages 363-387, September.
    18. Brand, Claus & Goy, Gavin W & Lemke, Wolfgang, 2020. "Natural rate chimera and bond pricing reality," VfS Annual Conference 2020 (Virtual Conference): Gender Economics 224546, Verein für Socialpolitik / German Economic Association.
    19. Ioannidis, Christos & Ka, Kook, 2018. "The impact of oil price shocks on the term structure of interest rates," Energy Economics, Elsevier, vol. 72(C), pages 601-620.
    20. Fernandez-Perez, Adrian & Fernández-Rodríguez, Fernando & Sosvilla-Rivero, Simón, 2014. "The term structure of interest rates as predictor of stock returns: Evidence for the IBEX 35 during a bear market," International Review of Economics & Finance, Elsevier, vol. 31(C), pages 21-33.
    21. Carlos David Ardila-Dueñas & Hernán Rincón-Castro, 2019. "¿Cómo y qué tanto impacta la deuda pública a las tasas de interés de mercado?," Borradores de Economia 1077, Banco de la Republica de Colombia.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    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:gam:jijfss:v:13:y:2025:i:3:p:170-:d:1745876. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.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.