p.soft: CDF of soft-thresholding Fisher's p-value combination...

Description Usage Arguments Value References See Also Examples

View source: R/p.soft.R

Description

CDF of soft-thresholding Fisher's p-value combination statistic under the null hypothesis.

Usage

1
p.soft(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=normalization parameter. tau1 > 0.

M

- correlation matrix of the input statistics. Default = NULL assumes independence.

Value

The left-tail probability of the null distribution of soft-thresholding Fisher's p-value combination statistic at the given quantile.

References

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

See Also

stat.soft for the definition of the statistic.

Examples

1
2
3
4
5
pval <- runif(100)
softstat <- stat.soft(p=pval, tau1=0.05)
p.soft(q=softstat, n=100, tau1=0.05)
M = matrix(0.3,100,100) + diag(1-0.3,100)
p.soft(q=softstat, n=100, tau1=0.05, M=M)

TFisher documentation built on March 21, 2018, 5:11 p.m.