fwgtmat {lrstat}R Documentation

Weight matrix for all intersection hypotheses

Description

Obtains the weight matrix for all intersection hypotheses.

Usage

fwgtmat(w = NA_real_, G = NA_real_)

Arguments

w

The vector of weights for elementary hypotheses.

G

The transition matrix.

Value

The weight matrix starting with the global null hypothesis.

Author(s)

Kaifeng Lu, kaifenglu@gmail.com

Examples


w = c(0.5,0.5,0,0)
g = matrix(c(0,0,1,0, 0,0,0,1, 0,1,0,0, 1,0,0,0),
           nrow=4, ncol=4, byrow=TRUE)
(wgtmat = fwgtmat(w,g))


[Package lrstat version 0.2.6 Index]