[R] help on dirichlet distribution
Ben Bolker
bolker at zoo.ufl.edu
Tue Sep 19 17:38:40 CEST 2006
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
More information about the R-help
mailing list