p.soft {TFisher} | R Documentation |
CDF of soft-thresholding Fisher's p-value combination statistic under the null hypothesis.
Description
CDF of soft-thresholding Fisher's p-value combination statistic under the null hypothesis.
Usage
p.soft(q, n, tau1, M = NULL)
Arguments
q |
- quantile, could be a vector. |
n |
- dimension parameter, i.e. the number of p-values to be combined. |
tau1 |
- truncation parameter=normalization parameter. tau1 > 0. |
M |
- correlation matrix of the input statistics. Default = NULL assumes independence. |
Value
The left-tail probability of the null distribution of soft-thresholding Fisher's p-value combination statistic at the given quantile.
References
1. Hong Zhang and Zheyang Wu. "TFisher Tests: Optimal and Adaptive Thresholding for Combining p-Values", submitted.
See Also
stat.soft
for the definition of the statistic.
Examples
pval <- runif(100)
softstat <- stat.soft(p=pval, tau1=0.05)
p.soft(q=softstat, n=100, tau1=0.05)
M = matrix(0.3,100,100) + diag(1-0.3,100)
p.soft(q=softstat, n=100, tau1=0.05, M=M)
[Package TFisher version 0.2.0 Index]