Commit graph

2 commits

Author SHA1 Message Date
36e2518353 Reconciliation engine, both hierarchies and the walk-forward evidence
CReconciler projects a set of incoherent forecasts onto the column space of a
summing matrix, which cannot increase total squared error under the orthogonal
projection. The engine knows nothing about markets, so the same object serves a
sixty-node temporal hierarchy over twenty-four free hourly returns and a
twenty-one pair currency graph over seven free log prices.

W is never inverted. It is factorised by Cholesky with an escalating ridge, S is
pushed through the same factor, and the only explicit inverse is taken on the
small m x m normal-equation matrix. Five weightings are available, from OLS
through structural and measured WLS to MinT on the sample and Schaefer-Strimmer
shrunk covariances.

Recon_Inspect measures three exact invariants on every run, the last through an
independent projector so it cannot flatter itself. Recon_Evidence walks forward
with residuals entering the error store only after scoring, and compares loss
differentials with a Diebold-Mariano test using a Bartlett kernel and the
Harvey-Leybourne-Newbold correction.
2026-08-26 09:58:58 +05:00
9addb069cf Initial commit 2026-08-26 04:57:51 +00:00