[R] cancor

2005-05-27 Thread zjao yana
Hello, I'm a beginner to use R. When use cancor to analysis two data set X,Y, for example: can<-cancor(X, Y) then 5 components are returned, that is cor, xcoef, ycoef, xcentre, ycentre; The explained variance can be calculated by X %*% can$xcoef or Y %*% can$ycoef, but how to alculate the cano

Re: [R] Cancor

2004-09-15 Thread Prof Brian Ripley
On (she claimed) Thu, 1 Jan 1998, Irena Komprej wrote: > Dear Gabor, This is R-help, not `Gabor', although you keep sending mail addressed to `Gabor' to this list. > thank you for your answer related to the normalization of cancor > coefficients. If you want to interpret the coefficients in term

[R] Cancor

2004-09-15 Thread Irena Komprej
Dear Gabor, thank you for your answer related to the normalization of cancor coefficients. If you want to interpret the coefficients in terms of variables' contributions to canonical variables, loadings, redundancy measure, etc. , you have to normalize the results so that the canonical variables h

Re: [R] Cancor

2004-09-13 Thread Gabor Grothendieck
Irena Komprej telemach.net> writes: : thank you for your answer, but I am still a little confused because the : values of the xcoef and ycoef are so small. It is true, that I receive : very similar results to the cancor, if I use the proposed formula with : : z <- svd(cov(x,y) %*% solve(var(y)

[R] Cancor

2004-09-13 Thread Irena Komprej
Dear Gabor, thank you for your answer, but I am still a little confused because the values of the xcoef and ycoef are so small. It is true, that I receive very similar results to the cancor, if I use the proposed formula with z <- svd(cov(x,y) %*% solve(var(y), cov(y,x)) %*% solve(var(x))) sq

Re: [R] Cancor

2004-09-12 Thread Gabor Grothendieck
Irena Komprej telemach.net> writes: > > I am strugling with cancor procedure in R. I cannot figure out the > meaning of xcoef and of yxcoef. > Are these: > 1. standardized coefficients > 2. structural coefficients > 3. something else? > Look at the examples at the bottom of ?cancor from which

[R] Cancor

2004-09-11 Thread Irena Komprej
Dear R's! I am strugling with cancor procedure in R. I cannot figure out the meaning of xcoef and of yxcoef. Are these: 1. standardized coefficients 2. structural coefficients 3. something else? I have tried to simulate canonical correlation analysis by checking the eigenstructure of the expressio

[R] Cancor

2004-09-11 Thread Irena Komprej
Dear R's! I am strugling with cancor procedure in R. I cannot figure out the meaning of xcoef and of yxcoef. Are these: 1. standardized coefficients 2. structural coefficients 3. something else? I have tried to simulate canonical correlation analysis by checking the eigenstructure of the expressio