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!
回答(1 个)
Gabriel Rodriguez Rondon
2019-2-9
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 System Identification Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!