Estimate ARIMA model parameters (MATLAB2012a)
Show older comments
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!
Answers (1)
Gabriel Rodriguez Rondon
on 9 Feb 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.
Categories
Find more on System Identification Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!