qis.compute_model_layer_rolling_ewma_regression_alpha¶
- qis.compute_model_layer_rolling_ewma_regression_alpha(attribution)[source]¶
Compute expanding-prefix EWMA-WLS annualised alpha paths.
Each row refits the same geometric weighted regression used by
compute_model_layer_ewma_regression_attribution()on data available through that row. This is a descriptive contemporaneous path, not the lagged-beta realised attribution incompute_model_layer_ewma_alpha_attribution(). The final row therefore reproduces the current attribution’s annualised alpha estimates exactly.- Parameters:
attribution (ModelLayerEwmaRegressionAttribution) – Current EWMA-regression attribution whose return sample and settings define every expanding-prefix fit.
- Returns:
Annualised EWMA-WLS alpha paths for the full model, risk layer, signal layer and integration, plus the optional net full model. Dates before a nonsingular joint fit can be estimated are omitted.
- Raises:
TypeError – If
attributionis not a model-layer EWMA regression result.RuntimeError – If estimation fails after the first valid prefix, no prefix is estimable, the path is non-finite, or its endpoint does not match the current attribution.
- Return type: