SOTAVerified

Clustering Commodity Markets in Space and Time: Clarifying Returns, Volatility, and Trading Regimes Through Unsupervised Machine Learning

2021-03-31SSRN 2021Unverified0· sign in to hype

James Ming Chen, Mobeen Ur Rehman, Xuan Vinh Vo

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Unsupervised machine learning can interpret logarithmic returns and conditional volatility in commodity markets. k-means and hierarchical clustering can generate a financial ontology of markets for fuels, precious and base metals, and agricultural commodities. Manifold learning methods such as multidimensional scaling (MDS) and t-distributed stochastic neighbor embedding (t-SNE) enable the visualization of comovement and other financial relationships in three dimensions. Different methods of unsupervised learning excel at different tasks. k-means clustering based on logarithmic returns works well with MDS to classify commodities and to create a spatial ontology of commodities trading, A strikingly different application involves k-means clustering of the matrix transpose, such that conditional volatility is evaluated by trading date rather than by commodity. This approach can isolate the two most calamitous temporal regimes of the past two decades: the global financial crisis of 2008-09 and the immediate reaction to the Covid-19 pandemic. Temporal clustering of trading days, unlike the corresponding spatial task of clustering commodities, is better visualized through t-SNE than through MDS.

Tasks

Reproductions