11
$\begingroup$

Is there an R package (or even a base R function) that implements Fisher's or Stouffer's method for combining p-values? Coding this should be almost trivial, but I'd rather use (and cite) a package.

Example code in this question: Fisher's method for combing p-values - what about the lower tail?

$\endgroup$
10
$\begingroup$

The metap package by Michael Dewey implements many methods for combining p-values:

$\endgroup$
  • $\begingroup$ The vignette is now in the distributed package. $\endgroup$ – mdewey Apr 9 '16 at 12:12
3
$\begingroup$

There's also the combine.test function in the survcomp package (on Bioconductor). Implements Fisher's and Stouffer's method, as well as the logit method.

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ survcomp also works in the edge case of a single pvalue, handles missing values more consistently with base r and encourages contributions by providing an official repo. $\endgroup$ – jan-glx Jan 16 '19 at 10:17
1
$\begingroup$

There is poolr package by Ozan Cinar and Wolfgang Viechtbauer. It includes functions for both Fisher and Stouffer methods.

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ Perhaps worth pointing out that it allows for non-independent p-values. $\endgroup$ – mdewey Jun 16 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.