Learn R Programming

TFisher (version 0.2.0)

stat.tfisher: Construct thresholding Fisher's p-value combination statistic.

Description

Construct thresholding Fisher's p-value combination statistic.

Usage

stat.tfisher(p, tau1, tau2)

Arguments

p

- input p-values.

tau1

- truncation parameter. 0 < tau1 <= 1.

tau2

- normalization parameter. tau2 >= tau1.

Value

Thresholding Fisher's p-value combination statistic.

Details

Let \(p_{i}\), \(i = 1,...,n\) be a sequence of p-values, the thresholding Fisher's p-value combination statistic $$TFisher = \sum_{i=1}^n -2\log(p_i/\tau_2)I(p_i\leq\tau_2)$$

References

1. Hong Zhang and Zheyang Wu. "TFisher Tests: Optimal and Adaptive Thresholding for Combining p-Values", submitted.

Examples

Run this code
# NOT RUN {
pval <- runif(100)
stat.tfisher(p=pval, tau1=0.05, tau2=0.25)
# }

Run the code above in your browser using DataLab