Re: [R] compute maximum likelihood estimator for a multinomial function

2009-11-04 Thread Ben Bolker
Benedikt Gehr wrote: > > Hi there > > I am trying to learn how to compute mle in R for a multinomial negative > log likelihood function. > I am using for this the book by B. Bolker "Ecological models and data in > R", chapter 6: "Likelihood an all that". But he has no example for > multinom

[R] compute maximum likelihood estimator for a multinomial function

2009-11-04 Thread Benedikt Gehr
Hi there I am trying to learn how to compute mle in R for a multinomial negative log likelihood function. I am using for this the book by B. Bolker "Ecological models and data in R", chapter 6: "Likelihood an all that". But he has no example for multinomial functions. What I did is the follo