search for: ysvd

Displaying 1 result from an estimated 1 matches for "ysvd".

Did you mean: rsvd
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...2, 105, 130, 135, 137, 133), E5 = c(120, 129, 134, 138, 151, 153, 155)) rownames(Y) = c("G1", "G2", "G3", "G4", "G5", "G6", "G7") Y = scale(Y, center = TRUE, scale = FALSE) YG = matrix(rowMeans(Y)) %*% rep(1,ncol(Y)) YGE = Y - YG Ysvd = svd(Y) # Singular value decomposition G = U = Ysvd$u H = Ysvd$v %*% diag(Ysvd$d) # Formula: SSGk = diag(U? YG YG? U) SSGk = diag(crossprod(crossprod(YG,U))) # Formula: SSGEk = diag(U? YGE YGE? U) SSGEk = diag(crossprod(crossprod(YGE,U))) # Proportion of SS for each axis TSS = sum(Y^2) AxisProp =...