pprob.uniform: Bayesian diagnostic test for multiple testing p-values.
Description
This function accepts a vector of simulated null p-values from a single simulated study.
The null p-values should representa subset of all the simulated p-values corresponding
to the tests with no signal.
An vector of null p-values from a single simulated study.
alpha
The range of the first parameter for the prior on the beta distribution.
beta
The range of the second parameter for the prior on the beta distribution.
eps
Maximum integration error when computing the posterior distribution.
Value
pp
The posterior probability that p is a sample from the uniform distribution.
Details
The pprob.uniform function calculates the posterior probability that a set of null p-values
come from the uniform distribution as described in Leek and Storey (2009). The p-values
should be simulated from a realistic distribution and only the null p-values should
be passed to the pprob.uniform function.
References
J.T. Leek and J.D. Storey, "The Joint Null Distribution of Multiple Hypothesis Tests."