Learn R Programming

gMCP (version 0.3-1)

simConfint: Simultaneous confidence intervals for sequentially rejective multiple test procedures

Description

Calculates simultaneous confidence intervals for sequentially rejective multiple test procedures.

Usage

simConfint(object, pvalues, confintF)

Arguments

object
A graph of class graphMCP.
pvalues
A numeric vector specifying the p-values for the sequentially rejective MTP.
confintF
A function that calculates the confidence intervals. Must be of signature ("character", "numeric"), where the first parameter is the hypothesis name and the second the marginal confidence level. (See examples)

Value

  • A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Details

For details see the given references.

References

Frank Bretz, Willi Maurer, Werner Brannath, Martin Posch: A graphical approach to sequentially rejective multiple test procedures. Statistics in Medicine 2009 vol. 28 issue 4 page 586-604. http://www.meduniwien.ac.at/fwf_adaptive/papers/bretz_2009_22.pdf

See Also

graphMCP

Examples

Run this code
g <- createBonferroniHolmGraph(5)

simConfint(g, pvalues=c(0.01, 0.02, 0.04, 0.04, 0.7), function(node, alpha) {return(1:2)})

Run the code above in your browser using DataLab