Learn R Programming

regrap (version 1.0.1)

rga2h: reverse graphical approach for two hypotheses

Description

reverse graphical approach for two hypotheses

Usage

rga2h(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

References

Gou, J. (2020). Reverse graphical approaches for multiple test procedures. Technical Report.

Examples

Run this code
# NOT RUN {
w <- c(0.3,0.7)
G <- matrix(c(0,1,1,0),nrow=2,byrow=TRUE)
p <- c(0.032, 0.038)
alpha <- 0.05
rga2h(w=w,G=G,p=p, alpha=alpha)

# }

Run the code above in your browser using DataLab