Replication Data and Python Code for: Pathwise Concentration in Regime-Switching Fractional Diffusions
This repository contains the S&P 500 dataset (n=4{,}211 daily logarithmic returns) and Python code used to empirically motivate the regime-switching framework in the associated manuscript. The code implements the scaled forward--backward EM algorithm to fit a two-state Gaussian hidden Markov model, generating maximum l...