9 covY = array(dim = c(q,q,k))
10 covY[,,1] = 0.1*diag(q)
11 covY[,,2] = 0.2*diag(q)
13 beta = array(dim = c(p,q,2))
14 beta[,,2] = matrix(c(rep(2,(D)),rep(0, p*q-D)))
15 beta[,,1] = matrix(c(rep(1,D),rep(0, p*q-D)))
21 data = generateXY(meanX,covX,covY, pi, beta, n)
26 res_valse = valse(X,Y)