
Last chance! 50% off unlimited learning
Sale ends in
stoufferTest(pvalues, weights)
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.
## Generate test weights ##
weights<-runif(10, 1,100)
weights<-sort(weights)
## Generate test p-values##
pvals<-runif(10,0,1)
## run stoufferTest ##
stoufferTest(pvalues = pvals, weights=1/weights)
Run the code above in your browser using DataLab