Re: [R] help on dirichlet distribution

From: Ben Bolker <bolker_at_zoo.ufl.edu>
Date: Tue 19 Sep 2006 - 15:38:40 GMT

Gianna Monti <gianna.monti <at> unimib.it> writes:

>
> Dear Gregory R. Warnes,
> I'm a phd student in statistics, at the University of Milano Bicocca.
> I'm interested to the methods of estimate the parameters of the Dirichlet
distribution.
> Do you have implemented an algorithm in R?
> If so, can you give me the script? or, in general, some helps?

  Scrolling through the results of
RSiteSearch("dirichlet") suggests some useful tools in the VGAM package. The gtools package and MCMC packages also have ddirichlet() functions that you could use to construct a (negative log) likelihood function and optimize with optim/nlmin/etc.

   Ben Bolker



R-help@stat.math.ethz.ch 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. Received on Wed Sep 20 01:44:41 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 19 Sep 2006 - 16:30:58 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.