StoufferZTransform: Calculates a combined p-value using the weighted Z-method

Description Usage Arguments Value References Examples

Description

Combines a vector of one-sided p-values from independent tests into a single combined two-sided p-value

Usage

1

Arguments

ps

A vector of independent one-sided p-values to be combined. Note that these p-values must be one-sided to account for the fact that different tests could suggest a difference from the null in both directions, which should result in less overall evidence against the null when combined.

Value

A two-sided combined p-value.

References

Whitlock, M.C. 2005. Combining probability from independent tests: the weighted Z-method is superior to Fisher's approach. J. evol. biol 18(5): 1368-1373.

Examples

1
2
ps <- c(.05, .007, .4, .2)
StoufferZTransform(ps)

esander91/PredictImportance documentation built on May 16, 2019, 8:51 a.m.