statsmodels.tsa.statespace.exponential_smoothing.ExponentialSmoothing.fix_params¶
- ExponentialSmoothing.fix_params(params)¶
Fix parameters to specific values (context manager)
- Parameters:¶
- params
dict
Dictionary describing the fixed parameter values, of the form param_name: fixed_value. See the param_names property for valid parameter names.
- params
Examples
>>> mod = sm.tsa.SARIMAX(endog, order=(1, 0, 1)) >>> with mod.fix_params({'ar.L1': 0.5}): res = mod.fit()
Last update:
Nov 14, 2024