t.decision.Bonf: Accept or reject hypotheses at specified alpha level for a...

Description Usage Arguments Value Author(s) Examples

Description

Accept or reject hypotheses at specified alpha level for a vector of p-values

Usage

1
2
t.decision.Bonf(tp, sig.level)
t.decision.FDR(tp, sig.level)

Arguments

tp

1 column matrix of p-values

sig.level

Significance level (alpha)

Value

Vector of logicals indicating whether the hypothsis was rejected (TRUE) or accepted (FALSE).

Author(s)

Peng Liu peng\_liu@groton.pfizer.com

Examples

1
2
3
4
  p <- matrix(seq(0,0.01,by=0.001),ncol=1)
  bonf <- t.decision.Bonf(p, 0.05)
  fdr  <- t.decision.FDR(p, 0.05)
  data.frame("P-value"=p,"Bonferonni Reject"=bonf, "FDR Reject"=fdr)

warnes/exp.ssize documentation built on May 4, 2019, 12:59 a.m.