rga3h: reverse graphical approach for three hypotheses

Description Usage Arguments Value Author(s) References Examples

Description

reverse graphical approach for three hypotheses

Usage

1
rga3h(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

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

Examples

1
2
3
4
5
6
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
rga3h(w=w,G=G,p=p, alpha=alpha)

regrap documentation built on July 8, 2020, 6:24 p.m.

Related to rga3h in regrap...