Machine Learning Treasury Yields
Bulletin of Applied Economics 7(1) (2020) 1-65
68 Pages Posted: 10 Jan 2020 Last revised: 5 Feb 2020
Date Written: January 6, 2020
We give explicit algorithms and source code for extracting factors underlying Treasury yields using (unsupervised) machine learning (ML) techniques, such as nonnegative matrix factorization (NMF) and (statistically deterministic) clustering. NMF is a popular ML algorithm (used in computer vision, bioinformatics/computational biology, document classification, etc.), but is often misconstrued and misused. We discuss how to properly apply NMF to Treasury yields. We analyze the factors based on NMF and clustering and their interpretation. We discuss their implications for forecasting Treasury yields in the context of out-of-sample ML stability issues.
Keywords: non-negative matrix factorization, NMF, clustering, k-means, Treasury, yield, machine learning, maturity, time series, weight, factor, exposure, source code, principal component, correlation, forecasting, interest rate, stability, level, slope, curvature, fixed income, term structure, yield curve
JEL Classification: G00, G10, G11, G12, G23
Suggested Citation: Suggested Citation