Matrix-Aware Proper Scoring Rules and Significance Testing for Correlation and Covariance Forecasts in Python
Vinh Nguyen
Abstract
Forecasting a correlation or covariance matrix is common in risk management and portfolio construction, but evaluating such a forecast correctly is not routine: naive matrix-comparison metrics are not proper scoring rules, walk-forward evaluation windows are easy to overlap with the estimation window in ways that silently leak information, and significance testing on serially dependent forecast-error sequences needs machinery few analysts implement from scratch. corrscore is a Python package that provides matrix-aware implementations of two established proper scoring rules for this setting -- the energy score and the variogram score -- dispatched across a closed-form tractability spectrum (point, discrete-mixture, and isotropic-Gaussian-mixture forecasts are scored exactly; a general Monte Carlo ensemble falls back to sampling), a geometry-aware variant of the variogram score built from the affine-invariant distance on the correlation manifold, a zero-overlap-by-construction walk-forward backtest harness, and a bundled significance-testing suite (circular block bootstrap, the Diebold-Mariano test, and the Model Confidence Set). We describe the package's design, its point of departure from the existing scoringRules and properscoring packages, and walk through a complete worked example.
Create a lesson
Related papers
RECaST-Surv: A Calibrated Borrowing Method for Survival Endpoints in Unequal Randomized Trials
Dehua Bi, Arlina Shen, Ruben P. A. van Eijk et al.
Beyond Pretrends: A Discordance-Based Sensitivity Analysis for Difference-in-Differences
Thomas Leavitt
Earth and space observations meet complex algebras: from complex to octonions for multivariate autoregressive time series analysis
Susana Eyheramendy, Felipe Elorrieta, Wilfredo Palma et al.
Efficient transport and generalization of survival treatment effects
Axel Martin, Iván Díaz, Michele Santacatterina
A new tractable Archimedean copula for full-range tail dependence
Lei Hua
Doubly valid and doubly sharp sensitivity analysis to unobserved confounding for survival outcomes
Jean-Baptiste Baitairian, Bernard Sebastien, Rana Jreich et al.