Description Usage Arguments Value Author(s)
Create Stan-based spike-mixture DP based density estimation function.
1 | ddirichletprocess_spike(mcmc, mode = "est", K = 200, spike_scale = 1e-05, ...)
|
mcmc |
MCMC samples. |
mode |
posterior or est. |
K |
Number of DP components (Default: 200) |
spike_scale |
Numeric (Default: .00001). The scale of the half-normal spike. |
... |
Not used. |
Function.
Stephen R Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.