this is same happening to me when i am using ARIMA. The ahead foreacast just a straight line and not as expected got curve or changes
Time seiries forecasting SARIMA
6 次查看(过去 30 天)
显示 更早的评论
How forecasting works?
example: y = xlsread("file.xlsx");
SARIMA_y = arima('Constant',NaN,'ARLags',[],'D',1,'MALags',1,'SARLags',12,'Seasonality',0,'SMALags',[],'Distribution','Gaussian');
SARIMA_y = estimate(SARIMA_y,y,'Display','off');
Y = forecast(SARIMA_y(y),y,12);
Even though the values of y go up and down, the result of Y is a 12x1 vector that only goes up.
How to forecast demand?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Conditional Mean Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!