[R] minimization routines in R

Emmanuel Paradis paradis at isem.univ-montp2.fr
Fri Jan 9 13:35:13 CET 2004

At 22:02 08/01/2004 -0800, vous avez écrit:
>I spent several hours trying out another function, nlm, which worked
>out so much better than optim. The iteration from nlm gives a very
>clear picture where the iteration is going while the two algorithms in
>optim just wander around. Thought this might be useful to others.

I confirm this statement from my (limited) experience with likelihood 
estimation: I have used nlm for some time now and tried optim so see if the 
results were similar, but the latter failed in spite of me trying several 
methods. Anyway, nlm is much easier to use than optim.

Emmanuel Paradis

>Jason G. Liao, Ph.D.
>Division of Biometrics
>University of Medicine and Dentistry of New Jersey
>335 George Street, Suite 2200
>New Brunswick, NJ 08903-2688
>phone 732-235-5429, fax (732) 235-5464
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list