Learn R Programming

dst (version 1.8.0)

mobiusInvHQQ: Mobius inversion of commonality function

Description

Mobius inversion of commonality function

Usage

mobiusInvHQQ(qq, h)

Value

m Mass of the hypothesis

Arguments

qq

Commonality function

h

Hypothesis to be evaluated

Author

Peiyuan Zhu

Examples

Run this code
x <- bca(tt = matrix(c(0,1,1,1,1,0,1,1,1),nrow = 3, byrow = TRUE),
m = c(0.2,0.5, 0.3), cnames = c("a", "b", "c"), varnames = "x", idvar = 1)
qq <- commonality(x$tt,x$spec[,2])
mobiusInvHQQ(qq, matrix(c(0,1,0,1,1,0), nrow = 2, byrow = TRUE))

Run the code above in your browser using DataLab