Description Usage Arguments Details Value
Draw from a mean zero mixture of normals given mixing proportions and mixing standard deviations.
1 | draw_beta(pi_vals, tau_seq, p)
|
pi_vals |
A vector length |
tau_seq |
A vector of length |
p |
An integer. The number of samples to draw. |
Given mixing proportions pi_vals
, and mixing standard
deviations (not variances) tau_seq
, this function will draw
p
samples from the mean zero mixture of normals.
beta A vector of length p
that are drawn from the
mean zero mixture of normals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.