estimate_variance_parameter: Estimate variance parameter of zero-mean normal prior based...

Description Usage Arguments Value

View source: R/estimate_shrinkage_prior.R

Description

Estimate variance parameter of zero-mean normal prior based on a vector of numbers

Usage

1
estimate_variance_parameter(estimates, prob = 0.95)

Arguments

estimates

a vector (or a matrix) of numbers from which to estimate normal prior parameters

prob

a number to match prob quantile of abs(x) to prob confidence interval of normal distribution

Value

variance parameter sigma^2 (or variance parameters for each column of a matrix) of zero-mean normal distribution


Sun-lab/CARseq documentation built on Oct. 7, 2021, 1:52 p.m.