Learn R Programming

TFisher (version 0.2.0)

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

Description

Construct soft-thresholding Fisher's p-value combination statistic.

Usage

stat.soft(p, tau1)

Arguments

p

- input p-values.

tau1

- truncation parameter=normalization parameter. tau1 > 0.

Value

Soft-thresholding Fisher's p-value combination statistic.

Details

Let \(p_{i}\), \(i = 1,...,n\) be a sequence of p-values, the soft-thresholding statistic $$Soft = \sum_{i=1}^n -2\log(p_i/\tau_1)I(p_i\leq\tau_1)$$. Soft-thresholding is the special case of TFisher when tau1=tau2.

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.soft(p=pval, tau1=0.05)
# }

Run the code above in your browser using DataLab