logvar: Variance of shinkage rule under logistic prior.

Description Usage Arguments Value Examples

View source: R/logvar.R

Description

Provides the variance of the wavelet shrinkage rule under logistic prior.

Usage

1
logvar(theta, alpha, t, s)

Arguments

theta

Wavelet coefficients vector.

alpha

Weight of the point mass at zero function of the prior.

t

Scale parameter of the logistic prior.

s

Standard deviation of the normal random noise.

Value

Vector of variance of the shrinkage rule.

Examples

1
logvar(c(0,1,2),0.9,1,1)

Alexestat/bayesShrink documentation built on Oct. 6, 2020, 12:42 a.m.