phat: phat

Description Usage Arguments Details Value Author(s)

View source: R/phat.R

Description

Posterior probability of being a signal, using spike-slab prior

Usage

1
phat(y, p, sigma, tau)

Arguments

y

value of y

p

prior probability of signal (slab)

sigma

standard deviation of sampling distribution of y

tau

standard deviation / scale of Gaussian slab

Details

Mixture of point-mass spike at zero, and Gaussian slab

Value

posterior probability of signal

Author(s)

Spencer Woody


spencerwoody/saFAB documentation built on Feb. 18, 2020, 5:56 a.m.