Description Usage Arguments Details Value Note References Examples
This function performs a weighted Stouffer's mehtod of combining p-values.
1 | stoufferTest(pvalues, weights)
|
pvalues |
A vector of p-values. |
weights |
Optional weights used when combining probabilites. If no weights are given then the p-values are equally weighted. |
For each p-value the inverse standard normal CDF is applied and Z scores are derived. Z-scores are then summed and a new Z score is transformed back to a p-value.
A numeric p-value that represents the standard normal CDF of the combined Z statistic.
This function was adapted from the function written on the Fisher's Method wikipedia page.
https://en.wikipedia.org/wiki/Fisher's_method
Stouffer S, DeVinney L, Suchmen E. The American soldier: Adjustment during army life. Vol. 1. Princeton University Press; Princeton, US: 1949.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.