Could the problem be that nlm is for Minimization? In fact in the first line of 
the manual.

JN

On 10/19/2011 06:00 AM, r-help-requ...@r-project.org wrote:
> Message: 62
> Date: Tue, 18 Oct 2011 11:12:09 -0700 (PDT)
> From: aazaff <aaz...@uga.edu>
> To: r-help@r-project.org
> Subject: [R] Non-linear maximization function in R
> Message-ID: <1318961529994-3916240.p...@n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hello,
> 
> # Full disclosure. I am not sure if my problem is a bug(s) in the code, or a
> fundamental misunderstanding on my part about what I am trying to do with
> these statistics. I am not familiar with maximum likelihood tests. 
> 
...
> #Furthermore, if I attempt a non-linear maximization on this function, I
> continue to get a positive negative log-odds and what I think are
> unreasonable looking parameter estimates. What does this mean?
> 
>> >sol<-nlm(HOF,p,x=Sample,y=Aequipecten,model=4)
>> > sol
> $minimum
> [1] 32.72701
>

______________________________________________
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.

Reply via email to