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
______________________________________________
[email protected] 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.