Estimate ARIMA model parameters (MATLAB2012a)

Hi,
I am trying to estimate the parameters of an ARIMA model by using the function fit = estimate(model,Y). However, I am getting the following error even when I am running the relevant example from the webpage
Index exceeds matrix dimensions.
Error in internal.econ.arma0 (line 162) d = covariance(Q+2:Q+P+1);
Error in arima/estimate (line 631) [AR0, MA0, constant, variance] = internal.econ.arma0(I(Y), LagOpAR0, LagOpMA0);
Any suggestions?
Thanks!

Réponses (1)

Gabriel Rodriguez Rondon
Gabriel Rodriguez Rondon le 9 Fév 2019

0 votes

I kept getting this error as well. Took me a while, but I realized I had a function named autocorr in my current folder (shouldnt have given it the same name as an internal function) and this was being used intead of the original when running the garch and thus causing the issue.

Catégories

En savoir plus sur System Identification Toolbox dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by