A function to calculate Fisher's sum for a set of p-values
This method combines a set of p-values using Fisher's method:
S = -2 ∑ \log p
A vector of p-values
Replacement for 0 values.
Should NA values be removed before calculating the sum
log(0) results in
Inf we replace p-values of 0 by default with a
small float. If you want to keep them as 0 you have to provide 0
as a parameter in
Note that only p-values between 0 and 1 are allowed to be passed to this method.
Fisher's sum as described above.
Karl Kugler <firstname.lastname@example.org>
Fisher, R.A. (1925). Statistical Methods for Research Workers. Oliver and Boyd (Edinburgh).
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.