fwgtmat: Weight matrix for all intersection hypotheses

View source: R/RcppExports.R

fwgtmatR Documentation

Weight matrix for all intersection hypotheses

Description

Obtains the weight matrix for all intersection hypotheses.

Usage

fwgtmat(w, G)

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))


lrstat documentation built on June 23, 2024, 5:06 p.m.