M
MacroMonitor
Governance & StandardsSingle Source of Truth

Methodology, Specifications & Traceability

MacroMonitor is built upon a single brand promise: “Every number is traceable.” Every metric, chart, and alert links to an exact mathematical formula, unadulterated source inputs, autocorrelation-adjusted sample size (N_eff), and hyperparameter lineage.

1. Effective Sample Size (N_eff)

s03-percentile-zscore-neff

Financial time series exhibit serial autocorrelation, which inflates naive degrees of freedom and creates spurious statistical significance. We compute the lag-1 autocorrelation ρ₁ and discount raw sample size N:

N_eff = N × (1 − ρ₁) / (1 + ρ₁)

If ρ₁ ≤ 0, N_eff = N. When ρ₁ approaches 1.0, effective independent observations decrease substantially.

2. Expanding Empirical Percentile

s03-percentile-zscore-neff

To eliminate lookahead bias, all percentiles and z-scores are strictly computed against expanding empirical history up to time t:

P_t = (1 / N_t) ∑ 1_{x_s ≤ x_t} × 100

For expanding z-scores, μ and σ are computed strictly over indices 0 to t−1, completely excluding current point t.

3. Move Decomposer (OLS + HAC + Ridge)

s06-move-decomposer

Country index returns are decomposed into macro factors estimated strictly over a prior 250-day window ending before the move horizon:

r_{i,t} = α + β_{row} r_{row,t} + β_{fx} r_{fx,t} + β_{rates} r_{rates,t} + β_{comm} r_{comm,t} + ε_t

Standard errors use Newey-West HAC. If Variance Inflation Factor (VIF) ≥ 5.0, Ridge regression (α=1.0) is triggered automatically with an explicit UI badge.

4. Sector Contribution & Arithmetic Residual

s07-sector-contribution

Approximate sector contributions are computed using static index weights and reconciled with an explicit residual:

contrib_s = w_s × r_s, residual = r_{index} − ∑ contrib_s

Guarantees exact arithmetic reconciliation. Weights are updated annually or quarterly with documented rebalance dates.

5. Macro Driver Rolling Sensitivities

s08-macro-drivers

Rolling 250D and 120D multi-factor regressions with Newey-West HAC covariance. Sensitivities include stability scoring:

Stability = 1 − (IQR_{120D} / Range_{250D})

Empirical beta is benchmarked against pre-registered economic priors to detect structural regime breaks.

6. Volatility Cones, VaR & Expected Shortfall

s09-risk-lab

Annualized realized volatility plotted across 10D, 20D, 60D, 120D, and 250D horizons against expanding percentiles (10th, 25th, 50th, 75th, 90th).

VaR_{99} = Q_{0.01}(r), ES_{99} = E[r | r ≤ VaR_{99}]

First principal component (PCA) synchronization enforces US sign normalization (v_{1,US} > 0) to guarantee directional coherence.

7. CUSUM Change Detector (Chart C24)

s11-radar-divergence

Page's two-sided Cumulative Sum control chart on standardized momentum innovations with slack k=0.5 and threshold h=4.0:

S_t^+ = max(0, S_{t-1}^+ + z_t − 0.5), S_t^- = max(0, S_{t-1}^- − z_t − 0.5)

Detects persistent regime drift while rejecting transient white noise spikes, eliminating false alarm clustering.

8. Market State Map Regimes

s05-pulse-page

Assets are mapped into a 4-quadrant state space based on 60-day regression trend t-statistic and 20-day volatility percentile:

  • • Orderly Trend: |t| ≥ 2.0 and Vol %tile ≤ 50%
  • • Violent Trend: |t| ≥ 2.0 and Vol %tile > 50%
  • • Quiet Range: |t| < 2.0 and Vol %tile ≤ 50%
  • • Choppy: |t| < 2.0 and Vol %tile > 50%

9. US Net Liquidity Formula

s09-liquidity-module

Federal Reserve balance sheet decomposition aligned to Billions of USD ($B):

Net Liquidity = (WALCL / 1000) − (WTREGEN / 1000) − RRPONTSYD

Overlaid with S&P 500 alongside rolling 60-day correlation, accompanied by explicit “Association, not mechanical causation” caveat.

10. F&O OI Buildup Matrix & PCR

s10-india-flows

Derivatives positioning classified by price delta (ΔP) and open interest delta (ΔOI):

  • • Long Buildup: ΔP > 0, ΔOI > 0
  • • Short Buildup: ΔP < 0, ΔOI > 0
  • • Short Covering: ΔP > 0, ΔOI < 0
  • • Long Unwinding: ΔP < 0, ΔOI < 0

Put-Call Ratio (PCR = ∑ Put OI / ∑ Call OI) with zero-division guard.

11. Cross-Asset Stress Composite (Zero Synthetic Imputation)

s11-stress-composite-briefing

Cross-asset friction index computed as the mean of available standardized indicators without synthetic imputation:

S_t = (1 / |K_t|) ∑ c_{k, t} where c_{k, t} are available standardized friction metrics

Missing components are dropped transparently from the denominator |K_t| and reported in the Audit drawer. No forward-filling across series boundaries.