ACAT: Aggregated Cauchy Assocaition Test

Description Usage Arguments Value Author(s) References Examples

View source: R/ACAT.R

Description

A p-value combination method using the Cauchy distribution.

Usage

1
ACAT(Pvals, weights = NULL, is.check = TRUE)

Arguments

Pvals

a numeric vector/matrix of p-values. When it is a matrix, each column of p-values is combined by ACAT.

weights

a numeric vector/matrix of non-negative weights for the combined p-values. When it is NULL, the equal weights are used.

is.check

logical. Should the validity of Pvals (and weights) be checked? When the size of Pvals is large and one knows Pvals is valid, then the checking part can be skipped to save memory.

Value

The p-value(s) of ACAT.

Author(s)

Yaowu Liu

References

Liu, Y., & Xie, J. (2019). Cauchy combination test: a powerful test with analytic p-value calculation under arbitrary dependency structures. Journal of American Statistical Association,115(529), 393-402. (pub)

Examples

1
2
p.values<-c(2e-02,4e-04,0.2,0.1,0.8);ACAT(Pvals=p.values)
ACAT(matrix(runif(1000),ncol=10))

yaowuliu/ACAT documentation built on July 8, 2021, 8:26 p.m.