sarimax:计算seasional_order(p,dq,m)值
是否有一个函数或库(例如Auto_arima获取订单(P,D,Q)值)可用于计算Sarimax中的p,d,q和m值(p,d,q,m)中的p,d,q和m值模型。
谢谢,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
是否有一个函数或库(例如Auto_arima获取订单(P,D,Q)值)可用于计算Sarimax中的p,d,q和m值(p,d,q,m)中的p,d,q和m值模型。
谢谢,
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
auto_arima功能可以做到这一点。您可以设置参数
semainal = true
,并用参数m
给出季节的长度:auto_arima(y = your_data,your_data,seasonal = true,m =长度)
,如果您只想使用没有非季节的季节性组件,则可以通过将相应参数设置为0:
auto_arima(y = your_data,seasonal = true,m = auto_arima(y = your_data), 可以手动将它们关闭。长度,p = 0,d = 0,q = 0)
但是,auto_arima无法真正检测到您的数据是否固定,因此您需要估算
d
和d
参数自己,并在auto_arima
函数中手动设置它们。The auto_arima function can do that. You can set the parameter
seasonal = True
and give the length of the season with the parameterm
:auto_arima(y=your_data, seasonal=True, m=length)
If you want to only use the seasonal components without the non-seasonals, then you can manually turn them off by setting the respective parameters to 0:
auto_arima(y=your_data, seasonal=True, m=length, p=0, d=0, q=0)
However, auto_arima cannot really detect whether your data is stationary and therefore, you need to estimate the
d
andD
parameters yourself and manually set them in theauto_arima
function.https://alkaline-ml.com/pmdarima/modules/generated/pmdarima.arima.auto_arima.html