stat.tpm: Construct truncated product method statistic.

Description Usage Arguments Details Value References Examples

Description

Construct truncated product method statistic.

Usage

1
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 = ∑_{i=1}^n -2\log(p_i)I(p_i≤qτ_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

1
2
pval <- runif(100)
stat.tpm(p=pval, tau1=0.05)

Example output

[1] 13.31656

TFisher documentation built on May 2, 2019, 12:20 p.m.

Related to stat.tpm in TFisher...