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.
===== 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 http://www.geocities.com/jg_liao ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
