What are the accepted data types for p,d,q in ARIMA model?

4 ビュー (過去 30 日間)
boshra awwad
boshra awwad 2022 年 7 月 19 日
コメント済み: boshra awwad 2022 年 7 月 20 日
Hi all,
What are the accepted data types for ARIMA(p,d,q)? I used a variables and defined them as int64 to be integer variable. However, when I run the code, I have this error ""The value of 'P' is invalid. Expected P to be one of these types:double,Instead its type was int64."" and if I keep it double as is, I have this error: '''Error using arima (line 638) The value of 'P' is invalid. Expected P to be integer-valued.""
How can I fix this?
Thanks,

採用された回答

Monica Roberts
Monica Roberts 2022 年 7 月 19 日
The doc identifies that p, D, and q must be "nonnegative integers" of type double. Can you just round your data before passing it in?
  1 件のコメント
boshra awwad
boshra awwad 2022 年 7 月 20 日
Thank you, I round the data and it's worked.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConditional Mean Models についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by