ARIMA 制作斜率直线 [英] ARIMA produced slope straight line

查看:22
本文介绍了ARIMA 制作斜率直线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是使用 SARIMA 模型的时间序列的新手,我按照教程构建模型并尝试预测未来趋势.事情一开始很顺利,但是当产生结果时,它显示了斜率直线.我在 Jupyter NoteBook 上构建它

I am new to the time series with using the SARIMA model, and I followed the tutorial to build the model and trying to forecast the future trend. The thing goes well at the beginning but when produced the results it shows the slope straight line. and I build it on the Jupyter NoteBook

首先我检查了我的数据,并直观地制作了数据,但实际上,似乎数据正确,然后我尝试更改 P、D、Q 的值,但又失败了

First thing I checked my data, and make the data visually, but in fact, it seems the right data then I tried to change the values of P, D, Q and failed again

https://github.com/Dongmingguoguo/Prediciton

https://github.com/Dongmingguoguo/Prediciton这是GitHub链接,请去查看,我的期望是预测未来3天.

https://github.com/Dongmingguoguo/Prediciton Here is the GitHub link please go to check and my expectancy is to make the forecast for the next 3days.

推荐答案

当你的数据没有很强的季节性并且模型很难预测未来时会发生这种情况,因为它只是取你以前的值的平均值并预测为未来.因此,您将获得直线.

This happen when your data doesn't have strong seasonality and model finds difficult to predict the future there fore it simply take average of your previous values and predict as future. There fore you are getting straight line.

这篇关于ARIMA 制作斜率直线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆