computePC: Compute partial conjunction p-values

Description Usage Arguments Value

View source: R/classical_methods.R

Description

Compute partial conjunction p-values

Usage

1
computePC(p.vec, r, method = c("Bonferroni", "Fisher", "Simes"))

Arguments

p.vec

a vector of p-values of length n

r

the required replicability level, i.e. the smallest number of nonnull individual hypotheses for a nonnull PC hypotheses

method

the method to construct partial conjunction p-values. There are currently 3 options: "Bonferroni", "Fisher" and "Simes". The default is "Bonferroni".

Value

a vector of partial conjunction p-values


jingshuw/adaFilter documentation built on July 28, 2021, noon