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
When using the auto.arima function to model a time series, the algorithm may select a model with only a single moving average term (0,0,1).
For some reason, the first prediction is significantly different from the rest of the predictions, which are constant.
Additionally, changing the time series itself still leads to a situation where the first predicted value differs from the rest.
The fitting process does not raise any errors and seem to converge correctly.
Changing the parameters (seasonality, random state, max p/q/d) still leads to the same issue.
Describe the bug
When using the auto.arima function to model a time series, the algorithm may select a model with only a single moving average term (0,0,1).
For some reason, the first prediction is significantly different from the rest of the predictions, which are constant.
Additionally, changing the time series itself still leads to a situation where the first predicted value differs from the rest.
The fitting process does not raise any errors and seem to converge correctly.
Changing the parameters (seasonality, random state, max p/q/d) still leads to the same issue.
To Reproduce
Versions
Expected Behavior
The same MA term across entire prediction
Actual Behavior
First prediction is different from all others
Additional Context
Model configurations after the fit:
![image](https://private-user-images.githubusercontent.com/92523531/383999192-9e1f121e-fe7c-4584-899e-88ae43adfe70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzY2NzAsIm5iZiI6MTczOTUzNjM3MCwicGF0aCI6Ii85MjUyMzUzMS8zODM5OTkxOTItOWUxZjEyMWUtZmU3Yy00NTg0LTg5OWUtODhhZTQzYWRmZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEyMzI1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1NDc2ZWU3MjVmOWU3NjM2Y2RlNmNjZjkyODAxMzlhMzRiZWJmNzcwOWZiYjBiNWZmODA2MGEzZDMyOGJmMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iKKz7qojQKruomI2-ayG_EZTOenvsBs8gKRj_cvNS7E)
Models forecast:
70 547234.044093
71 53374.305877
72 53374.305877
73 53374.305877
74 53374.305877
75 53374.305877
76 53374.305877
77 53374.305877
78 53374.305877
79 53374.305877
80 53374.305877
81 53374.305877
dtype: float64
The text was updated successfully, but these errors were encountered: