stat.tpm {TFisher} | R Documentation |
Construct truncated product method statistic.
Description
Construct truncated product method statistic.
Usage
stat.tpm(p, tau1)
Arguments
p |
- input p-values. |
tau1 |
- truncation parameter. 0 < tau1 <= 1. |
Details
Let p_{i}
, i = 1,...,n
be a sequence of p-values, the TPM statistic
TPM = \sum_{i=1}^n -2\log(p_i)I(p_i\leq\tau_2)
. TPM is the special case of TFisher when tau2=1.
Value
Truncated product method statistic.
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
Examples
pval <- runif(100)
stat.tpm(p=pval, tau1=0.05)
[Package TFisher version 0.2.0 Index]