SSS_postmean_Cauchy: Compute posterior means of data points for the Cauchy(gamma)...

View source: R/SequenceSpikeSlab.R

SSS_postmean_CauchyR Documentation

Compute posterior means of data points for the Cauchy(gamma) slab

Description

Compute posterior means of data points for the Cauchy(gamma) slab

Usage

SSS_postmean_Cauchy(x, logpsi, postprobs, sigma, gamma)

Arguments

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 SSS_log_phi_psi_Cauchy.

postprobs

Vector of marginal posterior slab probabilities that x[i] has non-zero mean for i=1,...,n.

sigma

standard deviation of observations

gamma

parameter of Cauchy slab density

Value

Vector of n posterior means


SequenceSpikeSlab documentation built on Sept. 8, 2023, 6:06 p.m.