AnchoredEstimate
AnchoredEstimate(
forecast_source,
parameters=ANCHORING_2025_01,
consensus_source=CONSENSUS_SOURCE,
)
Consensus, moved a fraction of the way toward a forecaster.
A frozen-parameter method: the coefficients were fitted elsewhere and shipped with a version, so fit has nothing to learn and cannot look ahead.
Attributes
| forecast_source |
str |
The source to anchor onto consensus. |
| parameters |
AnchoringParameters |
The versioned coefficient set to publish under. |
| consensus_source |
str |
The source treated as consensus. |
Methods
| fit |
Verify the parameter set matches the panel, and learn nothing. |
fit
Verify the parameter set matches the panel, and learn nothing.
Parameters
| subjects |
pd.DataFrame |
Training rows, read only to check that the sources this method needs are present. |
required |
Returns
|
FittedAnchoredEstimate |
The fitted method, carrying the parameter set it was constructed with. |
Raises
|
PanelError |
A source this method reads is absent from the frame. |