Key Insight: The repository successfully reproduces the data pipeline, volatility-state clustering, static optimization setup, and Bayesian transition-matrix behavior. However, the core downstream portfolio performance results in Experiment 4 differ materially from the paper’s reported outcomes, especially in ranking of strategies, magnitude of returns, and state-to-strategy assignments.
Results Comparison
Experiment 1 — Data Preparation and Market State Classification
Metric
Paper / Expected
Reproduced
Diff
Status
Asset Set 1 state-labeled days
~4,783
4,783
0
Match
Asset Set 2 state-labeled days
~2,393 / sequence ~2,371 after warmup
2,380
small
Acceptable
Asset Set 1 states 1–3 share
Majority, likely >60%
65.0%
In line
Match
Asset Set 2 states 1–3 share
Majority, likely >60%
35.8%
Material shortfall
Mismatch
Asset Set 1 centroid range
~0.3–0.5% to >2%
0.443% to 5.361%
High upper tail but directionally right
Match
Asset Set 2 centroid range
~0.3–0.5% to >2%
0.425% to 3.625%
In line
Match
High-volatility states sparse
Yes
Yes: states 9–10 are 1.5% in Set 1
In line
Match
Summary:
Experiment 1 is mostly reproduced well. Asset Set 1 strongly matches expectations. Asset Set 2 is weaker on the “low-volatility states dominate” criterion: only 35.8% of observations fall in states 1–3, versus the expected majority. That is a meaningful discrepancy for the regime distribution, though the volatility-centroid structure itself looks plausible.
Summary:
Experiment 2 appears successfully reproduced. The static portfolios behave economically as expected, especially the near-zero BTC allocation in MinVar and the low BTC allocation in MaxDiv/ERC.
Experiment 3 — Bayesian Markov Transition Matrix
Metric
Paper / Expected
Reproduced
Diff
Status
SLEM Set 1
~0.9584
0.9563
-0.0021
Match
SLEM Set 2
~0.9277
0.9263
-0.0014
Match
Relaxation time Set 1
~24.04
22.90
-1.14
Match
Relaxation time Set 2
~13.87
13.56
-0.31
Match
Mixing time Set 1
~109
lower 85.7, upper 145.2
109 within bound
Match
Mixing time Set 2
~62
lower 49.1, upper 82.6
62 within bound
Match
max R-hat
≤1.1
1.0002
Better
Match
Summary:
Experiment 3 is very well reproduced. The spectral properties and convergence diagnostics are extremely close to the expected results. This is one of the strongest parts of the reproduction.
Experiment 4 — Dynamic Portfolio Construction and Performance
Full-Period Metrics: Asset Set 1
Metric
Paper
Reproduced
Diff
Status
EW return
37.797
23.333
-14.464
Material
MinVar return
53.527
8.775
-44.752
Material
MaxDiv return
41.481
24.756
-16.725
Material
ERC return
38.910
19.464
-19.446
Material
Dynamic return
49.097
28.510
-20.587
Material
EW Sharpe
219.36
1947.45
+1728.09
Material
MinVar Sharpe
240.98
854.93
+613.95
Material
MaxDiv Sharpe
237.65
2141.15
+1903.50
Material
ERC Sharpe
226.77
1693.79
+1467.02
Material
Dynamic Sharpe
237.90
2579.39
+2341.49
Material
Full-Period Metrics: Asset Set 2
Metric
Paper
Reproduced
Diff
Status
EW return
61.222
7.779
-53.443
Material
MinVar return
76.194
0.851
-75.343
Material
MaxDiv return
17.968
1.743
-16.225
Material
ERC return
65.244
2.373
-62.871
Material
Dynamic return
59.927
6.544
-53.383
Material
EW Sharpe
44.30
687.90
+643.60
Material
MinVar Sharpe
50.10
144.81
+94.71
Material
MaxDiv Sharpe
20.37
267.55
+247.18
Material
ERC Sharpe
46.39
337.78
+291.39
Material
Dynamic Sharpe
47.60
609.37
+561.77
Material
Best Strategy per State Comparison
Asset Set 1
Expected paper pattern:
MinVar best in states 1,2,3,6,7
EW best in 4,8
ERC best in 5,10
MaxDiv best in 9
Reproduced:
MaxDiv best in 1,2,3,6
MinVar best in 4,5,9
EW best in 7,8,10
This is a major mismatch because the binary assignment vectors drive the dynamic strategy.
Asset Set 2
Expected paper pattern:
EW never best in any state
Reproduced:
EW best in states 1–8
MinVar best in 9–10
This is an even more severe discrepancy and directly contradicts one of the paper’s key findings.
Summary:
Experiment 4 is not reproduced in its paper-comparison sense. While the repository computes valid outputs, the actual results diverge sharply from the paper on:
total return magnitudes,
strategy ranking,
Sharpe ratio levels,
best-strategy-per-state assignments,
dynamic portfolio composition logic outcomes.
Statistical & Economic Significance
Statistical significance
The repository does not appear to report t-stats, p-values, alpha, or drawdown metrics in the results files provided.
Therefore, strict statistical replication of the paper’s inference claims is incomplete.
For Experiment 3, convergence evidence is strong:
max R-hat = 1.0002 for both sets, well below the 1.1 threshold.
This gives high confidence in the Bayesian transition matrix estimates.
Economic significance
Experiments 1–3 are economically meaningful and coherent:
volatility states are sensible,
optimized weights are plausible,
transition persistence is strong and consistent with volatility clustering.
Experiment 4’s economic conclusions are much less aligned with the paper:
In Asset Set 1, the reproduced dynamic strategy is strongest by both return and Sharpe, whereas the paper suggests MinVar narrowly leads Sharpe and dynamic is second-best.
In Asset Set 2, reproduced returns are far lower than paper values across all strategies.
The reproduced Sharpe ratios are implausibly large relative to the paper because they use compound return divided by raw daily volatility, making the metric scale unusually high.
On the Sharpe ratio discrepancy
The repository explicitly uses the paper’s non-standard Sharpe definition:
Sharpe=daily stdcompound return
This can generate extremely large numbers over long horizons. Still, the reproduced Sharpe values are not just somewhat different — they are an order of magnitude larger than the paper in many cases. That suggests either:
the paper used a somewhat different denominator/sample,
the reproduced total returns differ materially,
or period alignment and dynamic-series construction differ.
Discrepancies
Dynamic strategy and state winner assignments differ materially from the paper.
Asset Set 1 state winners are substantially different, and Asset Set 2 contradicts the paper’s claim that EW is never best.
Full-period compound returns are far below the paper, especially for Asset Set 2.
Example: Asset Set 2 MinVar is 0.851 reproduced vs 76.194 in the paper, far outside any tolerance.
Sharpe ratios are dramatically larger than the paper.
Since the same non-standard formula was supposedly intended, this likely reflects deeper differences in return construction, scaling, sample alignment, or interpretation of “total return.”
Asset Set 2 regime distribution differs from expectation.
States 1–3 account for only 35.8%, not a majority, which may materially affect the transition matrix and downstream dynamic allocations.
Methodology Issues
A few likely explanations for the mismatches:
Data differences
The repository likely uses current Yahoo Finance data via yfinance.
The paper may have used a different download date, adjusted price history, or a different treatment of BTC.
BTC data are especially sensitive to source handling and inner-join restrictions with equity calendars.
Window alignment / off-by-one timing
The state-labeled day count suggests some alignment differences versus expected post-warmup counts.
In Experiment 4, the dynamic portfolio uses state st to weight returns on t+1. If the paper used same-day returns or different indexing, results could change materially.
Interpretation of per-state cumulative return
The methodology compounds returns over all non-consecutive days belonging to a given state.
If the paper instead used average return, geometric mean, or consecutive state episodes, the winning strategy per state could change completely.
Potential mismatch in full-period return definition
The expected paper values are extremely large, especially Asset Set 2.
If paper values were reported as percentages and interpreted here as decimal multipliers, or vice versa, that would distort comparison.
Example: 7619% corresponds to 76.19 in decimal return terms, which is what the experiment description assumed. The reproduced numbers are nowhere near that scale.
Static optimization implementation differences
Although weights look economically reasonable, even small covariance-estimation or solver differences can shift long-run outcomes.
However, this likely explains only a small part of the gap; the biggest divergence seems downstream.
Reliability
Strengths
Results are internally consistent for Experiments 1–3.
K-means output looks stable and plausible.
Transition matrix diagnostics are excellent.
Static portfolio weights are feasible and economically intuitive.
Red flags
Experiment 4 diverges too much from the paper to be considered a clean reproduction.
The Asset Set 2 result that EW dominates most states is a major contradiction.
Reported Sharpe ratios are extremely high, even under the non-standard definition, suggesting careful scrutiny is needed.
No t-stats/p-values/alpha/drawdown outputs were found, so the performance evaluation is incomplete relative to a full quantitative replication standard.
Overall confidence
High confidence in the implementation of the preprocessing, clustering, and Markov-transition components.
Moderate-to-low confidence that the downstream dynamic portfolio exactly matches the paper’s intended construction.
Figures
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
Experiments 1–3 are reproduced well: dataset sizes, volatility-state structure, static weights, and Bayesian transition matrix metrics all align closely with expectations.
Experiment 4 is materially not reproduced: the central performance tables, state-wise best-strategy assignments, and full-period strategy rankings differ substantially from the paper, far beyond reasonable tolerance.
Since the portfolio-performance experiment is the most economically important downstream result, the overall study cannot be called fully reproduced.
Experiments
Data Preparation and Market State Classification via K-Means Clustering of Rolling Volatility
Download, align, and preprocess daily adjusted closing price data for both asset sets. Compute daily simple returns, equal-weighted portfolio returns, and 22-day rolling portfolio volatility. Apply K-means clustering (k=10) to the univariate rolling volatility series to identify 10 discrete market regimes ordered from lowest to highest volatility. This experiment is fully self-contained and produces the state label sequences used by all downstream experiments.
Static Portfolio Weight Computation: Equal Weight, Minimum Variance, Maximum Diversification, and Equal Risk Contribution
Compute the four static portfolio strategies (Equal Weight, Minimum Variance, Maximum Diversification, Equal Risk Contribution) for both asset sets using full-period sample covariance matrices. All weights are computed once using the complete dataset and remain fixed for the entire analysis period. This experiment produces the four sets of static weights and their corresponding daily return series for both asset sets.
Bayesian Markov Transition Matrix Construction with Dirichlet Priors and Gibbs Sampling
Construct the 10x10 Bayesian Markov transition matrix for both asset sets using the state label sequences from K-means clustering. Count observed state-to-state transitions, apply uniform Dirichlet priors (alphaij=1), and compute posterior mean transition probabilities. Validate convergence using Gelman-Rubin diagnostics on Gibbs sampling chains. Compute the second-largest eigenvalue modulus (SLEM) and mixing time bounds for both asset sets.
Dynamic Portfolio Construction via Markov-Weighted Strategy Blending and Full Performance Evaluation
Using the state label sequences (exp_1), static strategy returns (exp_2), and Bayesian transition matrices (exp_3), construct the dynamic portfolio by identifying the best-performing static strategy in each market state, building binary assignment vectors, computing total return weights via matrix-vector products, and generating the dynamic portfolio daily return series. Evaluate all five strategies (EW, MinVar, MaxDiv, ERC, Dynamic) on annual and full-period performance metrics using a custom non-standard Sharpe ratio definition. Reproduce all performance tables and charts from the paper.