sarimax:计算seasional_order(p,dq,m)值

发布于 2025-01-18 17:41:32 字数 97 浏览 6 评论 0 原文

是否有一个函数或库(例如Auto_arima获取订单(P,D,Q)值)可用于计算Sarimax中的p,d,q和m值(p,d,q,m)中的p,d,q和m值模型。

谢谢,

Is there a function or library (like auto_arima to get the order(p,d,q) values) available to calculate the P, D, Q and M values to be used in Seasional_order(P,D,Q,M) in SARIMAX model.

Thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓬勃野心 2025-01-25 17:41:32

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 parameter m:

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 and D parameters yourself and manually set them in the auto_arima function.

https://alkaline-ml.com/pmdarima/modules/generated/pmdarima.arima.auto_arima.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文