powered by
Eliminates the duplicated/q-plicated elements in a T-vector of multivariate moments and cumulants.
EliminMatr(d, q, useSparse = FALSE)
Elimination matrix of order \(\eta_{d,q} \times d^q= {d+q-1 \choose q}\). If useSparse=TRUE an object of the class "dgCMatrix" is produced.
useSparse=TRUE
dimension of a vector x
power of the Kronecker product
TRUE or FALSE.
Gy. Terdik, Multivariate statistical methods - going beyond the linear, Springer 2021. Section 1.3.2 Multi-Indexing, Elimination, and Duplication, p.21,(1.32)
Other Matrices and commutators: EliminIndx(), QplicIndx(), QplicMatr(), SymIndx(), SymMatr(), UnivMomCum()
EliminIndx()
QplicIndx()
QplicMatr()
SymIndx()
SymMatr()
UnivMomCum()
x<-c(1,2,3) y<-kronecker(kronecker(x,x),x) ## Distinct elements of y z<-as.matrix(EliminMatr(3,3))%*%y ## Restore eliminated elements in z as.vector(QplicMatr(3,3)%*%z)
Run the code above in your browser using DataLab