You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gives an error message TypeError: unsupported operand type(s) for +: 'int' and 'list' whereas
stochastic_freq_seasonal = [False, True],
works fine.
The text was updated successfully, but these errors were encountered:
rklees
changed the title
Deterministic seasonal not possible anymore
Deterministic seasonal not possible anymore in statsmodels unobserved components
Apr 8, 2024
In the current version of statsmodels it is not possible to choose a deterministic seasonal using 'stochastic_seasonal': False.
Example:
Fitting the model to the data provides, among others a ML fit of the seasonal disturbance variance,
sigma2.freq_seasonal_12(1) = 0.0809
though this parameter must not be estimated using ML. Strange enough, when using
'stochastic_freq_seasonal': False,
it works. So, what is wrong with 'stochastic_seasonal' ? Moreover, if I have two seasonal terms, one deterministic, the other one stochastic, e.g.,
frequencies = [{'period': 12, 'harmonics': 1}, {'period': 5.347, 'harmonics': 1}]
stochastic_seasonal = [False, True],
gives an error message TypeError: unsupported operand type(s) for +: 'int' and 'list' whereas
stochastic_freq_seasonal = [False, True],
works fine.
The text was updated successfully, but these errors were encountered: