What are the accepted data types for p,d,q in ARIMA model?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
boshra awwad
le 19 Juil 2022
Commenté : boshra awwad
le 20 Juil 2022
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,
0 commentaires
Réponse acceptée
Monica Roberts
le 19 Juil 2022
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?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Conditional Mean Models dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!