statsmodels.tsa.exponential_smoothing.ets.ETSModel.smooth¶
- ETSModel.smooth(params, return_raw=False)[source]¶
Exponential smoothing with given parameters
- Parameters:
params (array_like) – Model parameters
return_raw (bool, optional) – Whether to return only the state space results or the full results object. Default is
False.
- Returns:
result – If
return_raw=False, returns a ETSResultsWrapper object. Otherwise a tuple of arrays or pandas objects, depending on the format of the endog data.- Return type:
ETSResultsWrapper or tuple