Wasserstein-Distance-Loss-Function-for-Realized-Volatility-Forecasting

This is the GitHub Repository for the research paper A novel loss function for neural network models exploring stock realized volatility using Wasserstein Distance

Paper Abstract

This study proposes a novel loss function for neural network models that explores the topological structure of stock realized volatility (RV) data by adding Wasserstein Distance (WD). The study shows that the proposed loss statistically significantly improves the forecast accuracy of neural network models for magnitude-dependent error measures, for example, Root Mean Square Error (RMSE) and Mean Absolute Error (MAE), but not necessarily for relative error measures, such as Quasi-likelihood (QLIKE). Additionally, this research provides user-friendly open-source code for researchers and practitioners to implement the proposed loss function efficiently and quickly.

Suggested Citation

Souto, H.G. & Moradi, A. (2023) A novel loss function for neural network models exploring stock realized volatility using Wasserstein Distance. Decision Analytics Journal, 10. https://doi.org/10.1016/j.dajour.2023.100369