ClassicalMTP: Classical procedures for partial conjunction hypotheses

Description Usage Arguments Value

View source: R/classical_methods.R

Description

Classical procedures for partial conjunction hypotheses

Usage

1
2
ClassicalMTP(p.matrix, alpha, r, method = c("Bonferroni", "Fisher",
  "Simes"), type.I.err = c("FWER", "FDR", "PFER"))

Arguments

p.matrix

an M * n matrix of p-values. M is the number of PC hypotheses and n is the number of studies. Missing values are allowed.

alpha

control level of the chosen simultaneous error. Default is 0.05.

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".

type.I.err

one of "FDR", "FWER" or "PFER", with the default type I error "FDR". For FWER and PFER control, the adaFilter Bonferroni procedure is performed; for FDR control, the adaFilter BH procedure is performed.

Value

a list of objects

decision

a length M vector of 1 and 0s indicating whether the corresponding PC hypothesis is rejected or not

PC.pvalues

the length M vector of partial conjunction p-values


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