Problems with ARMA model
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Working with the arima function from the Econometrics toolbox. When I use an AR or an MA model, no problem. However I get an error message when using an ARMA(1,1) model. The self-contained code is
data = randi([-10 10],1,30)';
model=arima(1,0,1);
result=estimate(model,data)
Running this I receive the error message 'Index exceeds the number of array elements (2).'
1 commentaire
Aman
le 24 Sep 2024
Hi Ronald,
I tried running the code, and it worked fine for me. Could you please share the actual code that you are trying to run, as this piece of code is not giving any error?
data = randi([-10 10],1,30)';
model=arima(1,0,1);
result=estimate(model,data)
Réponses (0)
Voir également
Catégories
En savoir plus sur Conditional Mean Models dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!