View source: R/SequenceSpikeSlab.R
SSS_postmean_Cauchy | R Documentation |
Compute posterior means of data points for the Cauchy(gamma) slab
SSS_postmean_Cauchy(x, logpsi, postprobs, sigma, gamma)
x |
Data vector of length n |
logpsi |
Vector of length n that represents a preprocessed version of the data.
It should contain the logs of the psi densities of the data points, as produced
by |
postprobs |
Vector of marginal posterior slab probabilities that |
sigma |
standard deviation of observations |
gamma |
parameter of Cauchy slab density |
Vector of n posterior means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.