Re: [R] using mle2 for multinomial model optimization

2010-02-12 Thread Ben Bolker
Ravi Varadhan jhmi.edu> writes: > > > Use "Nelder-Mead" as the method in optim. This will give you the correct solution. > > m1 <- mle2(mfun, start=svec, vecpar=TRUE, fixed=svec[1:(l-1)], > method="Nelder") > > Hope this is helpful, > Ravi. > {Resending because it doesn't seem to have g

Re: [R] using mle2 for multinomial model optimization

2010-02-12 Thread Ben Bolker
Ravi Varadhan jhmi.edu> writes: > > > Use "Nelder-Mead" as the method in optim. This will give you the correct solution. > > m1 <- mle2(mfun, start=svec, vecpar=TRUE, fixed=svec[1:(l-1)], > method="Nelder") > > Hope this is helpful, > Ravi. Well-meaning though it is, this solution doesn'

Re: [R] using mle2 for multinomial model optimization

2010-02-12 Thread Ravi Varadhan
Use "Nelder-Mead" as the method in optim. This will give you the correct solution. m1 <- mle2(mfun, start=svec, vecpar=TRUE, fixed=svec[1:(l-1)], method="Nelder") Hope this is helpful, Ravi. Ravi Varadhan, Ph.D. Assistant