This is almost always "user error" in setting up the problem, but without a reproducible example, you won't get any real help on this list.
JN On 14-06-24 06:00 AM, r-help-requ...@r-project.org wrote: > Message: 11 > Date: Mon, 23 Jun 2014 09:14:23 -0700 > From: Ferra Xu <ferra...@yahoo.com> > To: "r-sig-...@r-project.org" <r-sig-...@r-project.org>, > "r-help@r-project.org" <r-help@r-project.org> > Subject: [R] Problem with "nlm" function to minimize the negative log > likelihood > Message-ID: > <1403540063.64234.yahoomail...@web125103.mail.ne1.yahoo.com> > Content-Type: text/plain > > Hi all > I have a problem in using "nlm" function to minimize the negative log > likelihood of a function in R. The problem is that it gives me the same > estimated values for all the parameters, except one of them, in each > iteration!! Does anyone have any ideas what may cause this mistake? > > Thank you ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.