View source: R/SequenceSpikeSlab.R
SSS_log_phi_psi_Laplace | R Documentation |
Calculate log of densities phi and psi for data vector x, where
phi[i] = Normal(x[i], sigma^2)
psi[i]) = E_Laplace(\theta)[Normal(x[i] - \theta, sigma^2)]
SSS_log_phi_psi_Laplace(x, sigma, lambda)
x |
data vector |
sigma |
standard deviation of observations |
lambda |
parameter of Laplace slab density |
list (phi, psi), containing logs of phi and psi densities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.