p.tpm {TFisher} | R Documentation |
CDF of truncated product method statistic under the null hypothesis.
Description
CDF of truncated product method statistic under the null hypothesis.
Usage
p.tpm(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. 0 < tau1 <= 1. |
M |
- correlation matrix of the input statistics. Default = NULL assumes independence. |
Value
The left-tail probability of the null distribution of truncated product method statistic at the given quantile.
References
1. Hong Zhang and Zheyang Wu. "TFisher Tests: Optimal and Adaptive Thresholding for Combining p-Values", submitted.
2. Zaykin, D.V., Zhivotovsky, L. A., Westfall, P.H. and Weir, B.S. (2002), Truncated product method for combining P-values. Genet. Epidemiol., 22: 170–185. doi:10.1002/gepi.0042
See Also
stat.tpm
for the definition of the statistic.
Examples
pval <- runif(100)
tpmstat <- stat.tpm(p=pval, tau1=0.05)
p.tpm(q=tpmstat, n=100, tau1=0.05)
M = matrix(0.3,100,100) + diag(1-0.3,100)
p.tpm(q=tpmstat, n=100, tau1=0.05, M=M)
[Package TFisher version 0.2.0 Index]