setting MaxFunEvals in estimate command

2 次查看(过去 30 天)
I need to fit an ARIMA(7,0,7) model to a set of data (NRV in the code below), however if I don't specify any options, MATLAB stops and says it has reached the maximum number of function evaluations. I tried to set this higher, but MATLAB gives me an error... Anyone have an idea how to fix it? Thanks in advance!
code:
modelNRV = arima(7,0,7);
opt = optimset('MaxFunEvals',5000);
ARMANRV = estimate(modelNRV,NRV(1:timespan),'options',opt);
error:
Index exceeds matrix dimensions.
Error in arima/estimate>linearConstraints (line
1095)
LB(i1:i2) = [-10 ; repmat(-1 + tolerance, nAR +
nMA, 1) ; tolerance(isVarianceConstant)];
Error in arima/estimate (line 755)
conStruct = linearConstraints(LagsAR,
LagsSAR, LagsMA, LagsSMA, ...
  1 个评论
Ruben
Ruben 2013-3-8
or is there a way to set the maximum function evaluations without the optimset command?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Conditional Mean Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by