Learn R Programming

ManyTests (version 1.2)

t_0: Cut-off level corresponding to unit Bayes factor

Description

Calculates the cut-off level corresponding to unit Bayes factor according to the procedure of Wong and Cox (2007).

Usage

t_0(test_statistics)

Arguments

test_statistics
A vector of values of test statistics.

Value

Cut-off level corresponding to unit Bayes factor.

References

Cox, D. R. and Wong, M. Y. (2004). A simple procedure for the selection of significant effects. Journal of the Royal Statistical Society B 66 (2), 395--400.

Wong, M. Y. and Cox, D. R. (2007). On the screening of large numbers of significance tests. Journal of Applied Statistics 34 (7), 779--783.

See Also

FDR

Examples

Run this code
x <- c(rnorm(100, 2, 2), rnorm(50, 0, 2))
t_0(x)

Run the code above in your browser using DataLab