powered by
Obtains the weight matrix for all intersection hypotheses.
fwgtmat(w, G)
The weight matrix starting with the global null hypothesis.
The vector of weights for elementary hypotheses.
The transition matrix.
Kaifeng Lu, kaifenglu@gmail.com
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))
Run the code above in your browser using DataLab