- ExponentialSmoothing.initial_values(initial_level=None, initial_trend=None, force=False)¶
Compute initial values used in the exponential smoothing recursions.
Convenience function the exposes the values used to initialize the recursions. When optimizing parameters these are used as starting values.
Method used to compute the initial value depends on when components are included in the model. In a simple exponential smoothing model without trend or a seasonal components, the initial value is set to the first observation. When a trend is added, the trend is initialized either using y/y, if multiplicative, or y-y. When the seasonal component is added the initialization adapts to account for the modified structure.