|
From: | Ana Norman |
Subject: | fminunc function |
Date: | Wed, 10 Nov 2010 16:47:09 +1000 |
'MaxFunEvals',10000,'MaxIter',MAXITERS,'TolX',PARAMTOL,'TolFun',LLTOL,'DerivativeCheck','off');
[paramhat,fval,exitflag,output,grad,hessian]=fminunc(@loglik,param,options);
The logit model I want to run in octave then returns the following error message:
Checking the data and specifications.
Inputs have been checked and look fine.
Start estimation
The negative of the log-likelihood is minimized,
which is the same as maximizing the log-likelihood.
warning: unrecognized option: LargeScale
warning: unrecognized option: Display
warning: unrecognized option: DerivativeCheck
warning: fminunc: some elements in list of return values are undefined
Estimation took 0.010417 minutes.
Convergence not achieved.
The current value of the parameters and hessian
can be accesses as variables paramhat and hessian.
Please, could anyone help me with the code? Is there another function I can use instead of fminunc?
Cheers
[Prev in Thread] | Current Thread | [Next in Thread] |