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
{{ message }}
Repository navigation
BUG: stochastic trend in tsa.statespace.UnobservedComponents #7613
changed the title [-][Possible bug] stochastic trend in tsa.statespace.UnobservedComponents[/-][+]BUG: stochastic trend in tsa.statespace.UnobservedComponents[/+]on Jul 30, 2021
It looks like this is just an issue with choosing starting parameters for maximum likelihood estimation, but not a bug in the model setup itself.
Thanks for the quick reply. I'm not sure I fully understand the issue. My gut is that the initial parameter values should have little impact on MLE convergence. If trend=False, why would the option for stochastic_trend have any effect?
If trend=False, why would the option for stochastic_trend have any effect?
Yes, it should not have an effect, this is the issue with choosing starting parameters that I mentioned and which we can fix.
My gut is that the initial parameter values should have little impact on MLE convergence.
This depends on the situation. Here's an example where it matters a little bit, but not very much (so you would get similar forecasts, but they would be different). Of course there are other situations where it matters a lot more (especially if the series does have a strong trend).
Activity
[-][Possible bug] stochastic trend in tsa.statespace.UnobservedComponents[/-][+]BUG: stochastic trend in tsa.statespace.UnobservedComponents[/+]ChadFulton commentedon Aug 1, 2021
Thanks for this report!
It looks like this is just an issue with choosing starting parameters for maximum likelihood estimation, but not a bug in the model setup itself.
devindg commentedon Aug 2, 2021
Thanks for the quick reply. I'm not sure I fully understand the issue. My gut is that the initial parameter values should have little impact on MLE convergence. If
trend=False, why would the option forstochastic_trendhave any effect?ChadFulton commentedon Aug 2, 2021
Yes, it should not have an effect, this is the issue with choosing starting parameters that I mentioned and which we can fix.
This depends on the situation. Here's an example where it matters a little bit, but not very much (so you would get similar forecasts, but they would be different). Of course there are other situations where it matters a lot more (especially if the series does have a strong trend).
yields: