IDEAS home Printed from https://ideas.repec.org/a/gam/jijfss/v13y2025i3p170-d1745876.html
   My bibliography  Save this article

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. 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).
    2. Priit Jeenas & Ricardo Lagos, 2024. "Q-Monetary Transmission," Journal of Political Economy, University of Chicago Press, vol. 132(3), pages 971-1012.
    3. 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.
    4. 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.
    5. 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.
    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. 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.
    2. 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.
    3. 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.
    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. Johannes A. Skjeltorp & Bernt Arne Ødegaard, 2009. "The information content of market liquidity: An empirical analysis of liquidity at the Oslo Stock Exchange?," Working Paper 2009/26, Norges Bank.
    6. 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.
    7. Tobias Adrian & Nellie Liang, 2018. "Monetary Policy, Financial Conditions, and Financial Stability," International Journal of Central Banking, International Journal of Central Banking, vol. 14(1), pages 73-131, January.
    8. Yutaka Kurihara, 2016. "Term Structure of Interest Rates under Zero or Low Bound: The Recent Japanese Case," Economy, Asian Online Journal Publishing Group, vol. 3(1), pages 19-23.
    9. Andreasen, Martin M. & Christensen, Bent Jesper, 2015. "The SR approach: A new estimation procedure for non-linear and non-Gaussian dynamic term structure models," Journal of Econometrics, Elsevier, vol. 184(2), pages 420-451.
    10. 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.
    11. 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.
    12. Juan Andr�s Espinosa-Torres & Luis Fernando Melo-Veland�a & Jos� Fernando Moreno-Guti�rrez, 2015. "Expectativas de inflaci�n, prima de riesgo inflacionario y prima de liquidez: una descomposici�n del break-even inflation para los bonos del gobierno colombiano," Borradores de Economia 13700, Banco de la Republica.
    13. P. Byrne, Joseph & Cao, Shuo & Korobilis, Dimitris, 2015. "Term Structure Dynamics, Macro-Finance Factors and Model Uncertainty," SIRE Discussion Papers 2015-71, Scottish Institute for Research in Economics (SIRE).
    14. 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.
    15. Ryan S. Mattson, 2019. "A Divisia User Cost Interpretation of the Yield Spread Recession Prediction," JRFM, MDPI, vol. 12(1), pages 1-9, January.
    16. 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.
    17. 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.
    18. repec:hum:wpaper:sfb649dp2010-039 is not listed on IDEAS
    19. Alfaro, Rodrigo & Piña, Marco, 2023. "Estimates of the US Shadow-Rate," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 4(1).
    20. 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.
    21. Thomas Flavin & Ekaterini Panopoulou & Theologos Pantelidis, 2009. "Forecasting growth and inflation in an enlarged euro area," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 28(5), pages 405-425.

    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.