[R] Problem with "nlm" function to minimize the negative log likelihood

2014-06-24 Thread Prof J C Nash (U30A)
a Xu > To: "r-sig-...@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> >

[R] Problem with "nlm" function to minimize the negative log likelihood

2014-06-23 Thread Ferra Xu
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 y

Re: [R] Problem with nlm() function.

2007-09-17 Thread Rolf Turner
A couple of people have expressed an interest in having a look at the problematic code/package which led my cri de coeur posted yesterday. I have therefore made the package accessible by putting it up on my UNB web page: http://www.math.unb.ca/~rolf Click on ``Hidden generalized li

Re: [R] Problem with nlm() function.

2007-09-17 Thread bbolker
Rolf Turner-3 wrote: > > > In the course of revising a paper I have had occasion to attempt to > maximize a rather > complicated log likelihood using the function nlm(). This is at the > demand of a referee > who claims that this will work better than my proposed use of a home- > grown i

[R] Problem with nlm() function.

2007-09-16 Thread Rolf Turner
In the course of revising a paper I have had occasion to attempt to maximize a rather complicated log likelihood using the function nlm(). This is at the demand of a referee who claims that this will work better than my proposed use of a home- grown implementation of the Levenberg-Marquardt