View source: R/SequenceSpikeSlab.R
SSS_discrete_spike_slab | R Documentation |
Compute marginal posterior probabilities (slab probabilities) that data points have non-zero mean for the discretized spike-and-slab prior.
SSS_discrete_spike_slab(log_phi_psi, dLambda, show_progress = TRUE)
log_phi_psi |
List {logphi, logpsi} containing two vectors of the same length n
that represent a preprocessed version of the data. logphi and logpsi should contain
the logs of the phi and psi densities of the data points, as produced for instance
by |
dLambda |
Discretized Lambda prior, as generated by either discretize_Lambda or discretize_Lambda_beta. |
show_progress |
Boolean that indicates whether to show a progress bar |
Returns a vector with marginal posterior slab probabilities that x[i]
has
non-zero mean for i=1,...,n
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.