ga3h {regrap} | R Documentation |
Graphical approach for three hypotheses
Description
Graphical approach for three hypotheses
Usage
ga3h(w, G, p, alpha)
Arguments
w |
a vector of initial weights |
G |
a matrix of initial transaction weights |
p |
a vector of p-values |
alpha |
a number of significance level |
Value
a logical vector indicating whether the hypothesis is rejected: TRUE = rejected, FALSE = accepted
Author(s)
Jiangtao Gou
References
Bretz, F., Maurer, W., Brannath, W., and Posch, M. (2009). A graphical approach to sequentially rejective multiple test procedures. Statistics in Medicine 28, 586–-604. <doi:10.1002/sim.3495>
Examples
w <- c(0.3,0.5,0.2)
G <- matrix(c(0,1/3,2/3, 1/2,0,1/2, 1/5,4/5,0),nrow=3,byrow=TRUE)
p <- c(0.012, 0.051, 0.021)
p <- c(0.012, 0.051, 0.019)
alpha <- 0.05
ga3h(w=w,G=G,p=p, alpha=alpha)
[Package regrap version 1.0.1 Index]