Using a previously created Mixing Distribution Object (mdObject
) create a Dirichlet process object.
`alphaPriorParameters
sets the parameters for alpha using the shape-rate specification of the gamma distribution.
DirichletProcessCreate(
x,
mdObject,
alphaPriorParameters = c(1, 1),
mhDraws = 250
)
Data
Mixing Distribution Object
Prior parameters for the concentration parameter of the Dirichlet Process
Number of posterior samples to take in the nonconjugate case