On 2/27/2016 1:34 PM, Michael Friendly wrote:
You might also find that an HE plot (library (heplots))
is illuminating.

Follow-up:  Try the following with your example

library(heplots)
hs.mod <- lm(cbind(y1, y2) ~ x1 + x2, data=hs.r)
heplot(hs.mod, fill=TRUE)

uv.mod <- lm(cbind(u1, u2) ~ v1 + v2, data = uv)
heplot(uv.mod, fill=TRUE, asp=1)

In the first plot, x1, x2 are highly correlated, but neither is individually significant in predicting y1, y2 by Roy's test.

The second plot is the transformation to canonical space,
where (u1, u2), (v1, v2) are uncorrelated and v1 is a highly
significant predictor of u1.

-Michael

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to