dppost_sim2: Simulate many Distributions from DP Posteriors

Description Usage Arguments

Description

Simulate many Distributions from DP Posteriors

Usage

1
dppost_sim2(M, F0, sticks, dat, N, ...)

Arguments

M

An integer. The precision parameter in a Dirichlet Process Prior.

F0

Either a function or a non-empty character string naming the function to be called.

sticks

An integer. The number of sticks to break when simulating from DP(M, F0) using the stick breaking construction.

dat

A vector. Observed data.

N

An integer. The number of distributions to simulate for each value of M.

...

Named arguments to pass to to the centering function.


sctyner/dprocsim documentation built on June 30, 2019, 11:51 a.m.