SSS_postmean_Laplace {SequenceSpikeSlab} | R Documentation |
Compute posterior means of data points for the Laplace(lambda) slab
SSS_postmean_Laplace(x, logpsi, postprobs, sigma, lambda)
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 |
lambda |
parameter of Laplace slab density |
Vector of n posterior means