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

Prof J C Nash (U30A) nashjc at uottawa.ca
Tue Jun 24 15:06:21 CEST 2014


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-request at r-project.org wrote:
> Message: 11
> Date: Mon, 23 Jun 2014 09:14:23 -0700
> From: Ferra Xu <ferra.xu at yahoo.com>
> To: "r-sig-geo at r-project.org" <r-sig-geo at r-project.org>,
> 	"r-help at r-project.org" <r-help at r-project.org>
> Subject: [R] Problem with "nlm" function to minimize the negative log
> 	likelihood
> Message-ID:
> 	<1403540063.64234.YahooMailNeo at 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



More information about the R-help mailing list