SPB Git

Repository Public Research preview

rm_rw.md 2.6 KB 37 lines markdown

1# Model card — `rm_rw` (realized-measure random walk)23## 1. Identity4- **model_id:** `rm_rw` · **family:** realized (Tier B) · **tier:** B · **status:** implemented · **impl:** ols (parameter-free, `src/wp46/models/baselines.py::RMRandomWalk`)5- **Label:** Realized-measure random walk · **distributions:** empirical6- **Seminal citation:** none (registry `ref: null`); the "last realized variance" benchmark appears in `andersen2003modeling`, `corsi2009simple` and the realized-volatility benchmarks (`liu2015does`, `brini2026forecasting`).78## 2. Definition9Let $x_t$ be the Tier B input (full-day variance proxy `rv5ss_on` = subsampled 5-min RV + squared overnight return, percent², observed at the close of day t; invalid days imputed by $r_t^2$ in the driver, D-07). Then10$$\hat\sigma^2_{t+k|t} = x_t,\qquad k = 1..22 .$$11No mean equation (reported `mu` = mean of the last 250 returns); no innovation law (empirical standardised returns for VaR).1213## 3. Parameter space and admissibility14None. `fit` is a no-op (`loglik = nan`, `converged = True`, `admissible = True`). Requires $x_t > 0$ (driver floors the input at 1e-8).1516## 4. Nesting and relations17Martingale forecast of the realized measure: HAR-RV with $\beta_d = 1$ and all other coefficients zero; HEAVY with $\alpha = 1$, $\omega = \beta = 0$ (return equation). The Tier B floor, analogous to `histvar22`/`ewma094` in Tier A.1819## 5. Estimation20None (`time_s ≈ 0`). `filter` returns $x_{t-1}$ for day t (first value $x_0$).2122## 6. Forecasting23Flat at $x_t$ for all horizons; cumulative $h$-day variance $= h\,x_t$. Method: `direct`.2425## 7. Implementation26- `src/wp46/models/baselines.py::RMRandomWalk` (`needs_rm = True`); input built by `src/wp46/scoring/proxies.py::proxy_series("rv5ss_on")` and imputed in `src/wp46/estimation/rolling.py`.27- Cross-check: none needed (identity map). Tests: none dedicated (not in the pilot, not in the integration tests).2829## 8. Known limitations / failure modes30Transmits the full measurement noise of a single day's realized measure; no mean reversion → poor at h = 22; invalid-session imputation by $r_t^2$ (flagged) enters the forecast directly on those days; crypto realized measures are invalid before 2022 (D-06).3132## 9. Computational footprint33Negligible.3435## 10. Literature expectations36`corsi2009simple` and `andersen2003modeling` show that even simple RV-based forecasts beat daily GARCH at h = 1 when intraday data are available; `liu2015does` and `brini2026forecasting` use the random walk as the baseline that all HAR-type models beat. Expectation: better than Tier A models at h = 1 on liquid equities (H3), clearly worse than HAR at h = 5, 22.37
Files main
Menu

Theme