Filter löschen
Filter löschen

setting MaxFunEvals in estimate command

1 Ansicht (letzte 30 Tage)
Ruben
Ruben am 8 Mär. 2013
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 Kommentar
Ruben
Ruben am 8 Mär. 2013
or is there a way to set the maximum function evaluations without the optimset command?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by