Re: fminserch does not converge for every variable
- From: "John D'Errico" <woodchips@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 19:22:01 +0000 (UTC)
yaoli <yaoli54@xxxxxxxxx> wrote in message
<260070.1214846233318.JavaMail.jakarta@xxxxxxxxxxxxxxxxxxxxxx>...
Hi,could give the correct parameter estimate. To do this, I use fminsearch
I'm doing a longitudinal simulation study to check if my modeling approach
function to find the MLE.
6,'TolX', 1.e-6);
The code is:
options = optimset('MaxFunEvals',100000,'MaxIter',100000,'TolFun',1.e-
[x0new,fval]=fminsearch(@loglike,x0,options,Y,t);could be correctly found whereas the other 3 (always the same 3) could not
where X0 is a vector of 17 parameters' true values and t is the time points.
The problem is, for different generated data, either 14 parameter estimates
be, or the algorithm can not converge.
be handled by simplex?
So could it because that my likelihood function is intrinsically too hard to
Thanks in advance!
yaoli
Returning to the original question, it is not at all
uncommon that an optimizer reaches a different
solution when you start from a different point.
And when you have that many parameters, it is
also common to have multiple local solutions.
Your friends may not even know that they have
not truly found the global solution when they
have solved their own problems, at least if they
have similar objective functions to you.
Finally, if you really have discrete parameters,
then fminsearch is not at all applicable to this
problem.
John
.
- References:
- fminserch does not converge for every variable
- From: yaoli
- fminserch does not converge for every variable
- Prev by Date: Re: Even parity check code
- Next by Date: Re: colorbar title
- Previous by thread: Re: fminserch does not converge for every variable
- Next by thread: 3D matrix of the same slice
- Index(es):