marginal.probability {HighProbability} | R Documentation |
This function estimates the proportion of alternative hypotheses that are true
marginal.probability(p.values, min.probability=0.5, max.iteration=10, tolerance=get.marginal.probability.tolerance(), verbose=FALSE)
p.values |
a vector of p-values |
min.probability |
the lowest posterior probability of an alternative hypothesis for it to be considered true. |
max.iteration |
number of iterations if the estimates do not converge. |
tolerance |
the difference in proportion estimates that defines convergence, the default value is 0.005. |
verbose |
if TRUE, additional diagnostics are printed |
None.
The return value is a numeric vector of length 1 representing the estimate of the proportion of alternative hypotheses that are true.
David R. Bickel (DavidBickel.66846716@bloglines.com, http://www.davidbickel.com) , Zahra Montazeri (zahra@math.carleton.ca)
Bickel, D. R. (2004) "HighProbability determines which alternative hypotheses are highly probable: Genomic applications include detection of differential gene expression," arXiv.org e-print ID q-bio.QM/0402049. Available on-line at http://arxiv.org/abs/q-bio.QM/0402049
This function is used by alternative.probable
and alternative.beneficial
.