Prevent look-ahead bias
I applied a one-day prior-close signal lag before assigning each regime.
Statistical Analytics · Data Validation
A regime analysis that tests bias, threshold sensitivity, uncertainty, and cross-system agreement.
My approach
I applied a one-day prior-close signal lag before assigning each regime.
I tested six VIX and yield threshold combinations and compared asset metrics by regime.
I used 5,000 moving-block bootstrap resamples and reconciled outputs across Python and PostgreSQL.
Analytical trust
The validation path challenges the finding before it is presented.
The initial result identifies a regime relationship.
Six threshold combinations test the classification.
The stability test supports the descriptive finding.
Decision evidence
Point estimates are shown with method controls and uncertainty, not presented as forecasts.
Source: original project dashboard and figures. Intervals use 5,000 deterministic moving-block resamples and are not forecast ranges.
Related concepts
Method
Trust
Metrics
The regime uses information available at the previous close. This prevents the current return from using a same-day closing signal.
View implementation on GitHub ↗
result["dgs10_change_63d_pp"] = (
result["dgs10"] - result["dgs10"].shift(YIELD_LOOKBACK_DAYS)
)
result["signal_vix"] = result["vix"].shift(1)
result["signal_dgs10"] = result["dgs10"].shift(1)
result["signal_dgs10_change_63d_pp"] = (
result["dgs10_change_63d_pp"].shift(1)
)