Re: [R] help on dirichlet distribution

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

Gianna Monti <gianna.monti <at>> 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
> 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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.