On 2013-01-16, majeti dinesh <firstname.lastname@example.org> wrote: > Hi,
> Does anyone know how to sample mean / covariance etc from a posterior distribution? Does anyone know how to use Metropolis algorithm to do this sampling?
A posterior distribution is a distribution. One should sample only if there are no better ways, and there usually are better ways. The Metropolis algorithm is one way of creating samples with the desired limiting distribution, but estimating errors from it can be quite difficult; importance sampling instead is more efficient and is computationally as easy.
-- This address is for information only. I do not claim that these views are those of the Statistics Department or of Purdue University. Herman Rubin, Department of Statistics, Purdue University email@example.com Phone: (765)494-6054 FAX: (765)494-0558