Re: [R] Non-linear maximization function in R

2011-10-19 Thread peter dalgaard
On Oct 18, 2011, at 20:12 , aazaff wrote: > > # My understanding of how this is supposed to work is that the final line of > the HOF function: > "sum(-dbinom(y,M,fv,log=TRUE))" is supposed to give the negative log-odds of > that function being a good fit. > >> HOF(p,x=Sample,y=Aequipecten,model

Re: [R] Non-linear maximization function in R

2011-10-19 Thread John C Nash
[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

[R] Non-linear maximization function in R

2011-10-18 Thread aazaff
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. # I currently have two vectors Aequipecten<-c(0, 0, 1, 0, 0, 0, 0, 0,