calcL10ApproximateBayesFactorWenStephens: Approximate Bayes factor

View source: R/quantgen.R

calcL10ApproximateBayesFactorWenStephensR Documentation

Approximate Bayes factor

Description

Calculate the log10(ABF) of Wen & Stephens in Annals of Applied Statistics (2014, http://dx.doi.org/10.1214/13-AOAS695) according to the "exchangeable standardized effects" model.

Usage

calcL10ApproximateBayesFactorWenStephens(sstats, phi2, oma2)

Arguments

sstats

matrix of summary statistics with one row per subgroup and three columns, "bhat", "sebhat" and "t"

phi2

prior variance of the b_s given \bar{b}; controls the prior expected degree of heterogeneity among subgroups

oma2

prior variance of \bar{b}; controls the prior expected size of the average effect across subgroups

Value

numeric

Author(s)

Xiaoquan Wen [aut], Timothee Flutre [ctb,cre]

See Also

makeGridWenStephens, calcL10ApproximateBayesFactorWen


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.