Aggregates a vector of p-values using Fisher's method, which tests the union null hypothesis that all component tests are null. This method is powerful when multiple weak signals are present across independent or weakly correlated tests.
Details
The test statistic is \(T = -2 \sum \log(p_i)\), which follows a chi-squared distribution with \(2k\) degrees of freedom under the null, where \(k\) is the number of p-values.
Examples
if (FALSE) { # \dontrun{
p <- c(0.01, 0.2, 0.04)
combine_fisher(p)
} # }