powered by
Generalized Fisher's p-value combination statistic.
stat.GFisher(p, df = 2, w = 1)
- vector of input p-values.
- vector of degrees of freedom for inverse chi-square transformation for each p-value. If all df's are equal, it can be defined by the constant.
- vector of weights.
GFisher statistic sum_i w_i*qchisq(1 - p_i, df_i).
Hong Zhang and Zheyang Wu. "Accurate p-Value Calculation for Generalized Fisher's Combination Tests Under Dependence", <arXiv:2003.01286>.
# NOT RUN { n = 10 pval = runif(n) stat.GFisher(pval, df=2, w=1) stat.GFisher(pval, df=rep(2,n), w=rep(1,n)) stat.GFisher(pval, df=1:n, w=1:n) # }
Run the code above in your browser using DataLab