| prior_spike_slab | R Documentation |
Used with smoothbp_ss() to place a point-mass spike at zero on selected
coefficients.
prior_spike_slab(
pi = 0.5,
slab = prior_normal(0, 2),
learn_pi = FALSE,
a = 1,
b = 1
)
pi |
Prior inclusion probability. Default |
slab |
A |
learn_pi |
Logical; if |
a |
Shape parameter for the Beta hyperprior. Default |
b |
Shape parameter for the Beta hyperprior. Default |
A smoothbp_spike_slab object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.