Redundancy of sets yj by one set x
Regression of several subsets of variables Yj by another set X. SUCCESSIVE SOLUTIONS
concorsreg(x, px, y, py, r)
x
: are the n
times p
and n
times q
matrices of p
and q
centered columnpx
: The row vector which contains the numbers pi, i = 1,...,kx, of the kx subsets xi of x : =sum(px)=p. px is the partition vector of xy
: See x
py
: The partition vector of y. A row vector containing the numbers qi
for i = 1,...,ky
of the ky
subsets yi
of y : sum(qi)=sum(py)=q
.r
: The number of wanted successive solutionsA list
with following components: - cx: a n
times r
matrix of the r explanatory components
v: is a matrix of ky row blocks () of axes in Rqi relative to yi;
varexp: is a matrix; each column k contains ky explained variances
x <- matrix(runif(50),10,5);y <- matrix(runif(90),10,9) x <- scale(x);y <- scale(y) crs <- concorsreg(x,c(2,3),y,c(3,2,4),2) crs$varexp[1,1,]