
MinT / OLS / WLS forecast reconciliation
Source:R/forecast_native.R
morie_joseph_mint_reconciliation.RdProjects base forecasts of a hierarchy onto the coherent subspace \(\{Sb\}\) using \(G = (S'W^{-1}S)^{-1}S'W^{-1}\).
Usage
morie_joseph_mint_reconciliation(
y_hat,
S,
W = NULL,
method = c("ols", "wls", "mint")
)Details
The projection is orthogonal in the W metric, which has a consequence worth relying on: reconciling CANNOT increase expected error. That is not true of bottom-up or top-down, both of which throw away the information in the levels they do not use.
method = "ols" ignores W entirely, "wls" keeps only its
diagonal, and "mint" uses the full covariance.