dirichletprocess (version 0.2.1)

PosteriorDraw: Draw from the posterior distribution

Description

Draw from the posterior distribution

Usage

PosteriorDraw(mdObj, x, n = 1, ...)

Arguments

mdObj

Mixing Distribution

x

Data

n

Number of draws

...

For a non-conjugate distribution the starting parameters. Defaults to a draw from the prior distribution.

Value

A sample from the posterior distribution