[R] help on sampling from Dirichlet process

From: Finosaur <mouandny_at_gmail.com>
Date: Sun 17 Sep 2006 - 10:12:20 GMT


Hey,

I have a question on Dirichlet process. I am using a Dirichlet process as a prior. So I end up with a mixture distribution with a continuous component and a random number of discrete components at some mass-points. I tried some algorithms, but it's too too inefficient. Anyone know some efficient algorithm? Any easy-to-read paper or some templates? Thanks a lot. I am so frustrated.

Thaleia

        [[alternative HTML version deleted]]



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 Sun Sep 17 20:15:21 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 Sun 17 Sep 2006 - 13:30:05 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.