Pick params and click Run.
๐ Price Chart with Regime Overlay
Daily SPY close with each bar shaded by its regime label. Background bands flip color where the model detected a regime change.
๐ Regime Confidence Timeline
Daily posterior probability the model assigned to its winning regime label. Higher = the model was very sure; dips toward 0.5 = transition periods where the regime is genuinely ambiguous.
๐ Per-Regime Statistics
For each detected regime: how often it occurred, the average daily return, the volatility (annualized), and the daily-vol average of the rolling-20d-volatility feature used for classification.
๐ Transition Matrix
Day-over-day probability of moving from one regime (rows) to another (columns). Diagonal = staying-power; off-diagonal = transition probabilities.