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-neffFinancial 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:
If ρ₁ ≤ 0, N_eff = N. When ρ₁ approaches 1.0, effective independent observations decrease substantially.
2. Expanding Empirical Percentile
s03-percentile-zscore-neffTo eliminate lookahead bias, all percentiles and z-scores are strictly computed against expanding empirical history up to time t:
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-decomposerCountry index returns are decomposed into macro factors estimated strictly over a prior 250-day window ending before the move horizon:
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-contributionApproximate sector contributions are computed using static index weights and reconciled with an explicit residual:
Guarantees exact arithmetic reconciliation. Weights are updated annually or quarterly with documented rebalance dates.
5. Macro Driver Rolling Sensitivities
s08-macro-driversRolling 250D and 120D multi-factor regressions with Newey-West HAC covariance. Sensitivities include stability scoring:
Empirical beta is benchmarked against pre-registered economic priors to detect structural regime breaks.
6. Volatility Cones, VaR & Expected Shortfall
s09-risk-labAnnualized realized volatility plotted across 10D, 20D, 60D, 120D, and 250D horizons against expanding percentiles (10th, 25th, 50th, 75th, 90th).
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-divergencePage's two-sided Cumulative Sum control chart on standardized momentum innovations with slack k=0.5 and threshold h=4.0:
Detects persistent regime drift while rejecting transient white noise spikes, eliminating false alarm clustering.
8. Market State Map Regimes
s05-pulse-pageAssets 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-moduleFederal Reserve balance sheet decomposition aligned to Billions of USD ($B):
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-flowsDerivatives 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-briefingCross-asset friction index computed as the mean of available standardized indicators without synthetic imputation:
Missing components are dropped transparently from the denominator |K_t| and reported in the Audit drawer. No forward-filling across series boundaries.