R语言,求解释code.>U2 U1 X Y plot ( X)> cor(x,y)Q1:plot那图出来,怎么是个菱形的样子,好奇怪?为什么会这样.Q2:X 和Y 是随机independent Q3:U1 和U2 也是随机independent #那图都没plot U1,U2,那怎样知道啊?Q4:X 和 Y 是 linearly dependent Q5:U1 和 U2 linearly dependent吗?

问题描述:

R语言,求解释code.
>U2 U1 X Y plot ( X)
> cor(x,y)
Q1:plot那图出来,怎么是个菱形的样子,好奇怪?为什么会这样.
Q2:X 和Y 是随机independent
Q3:U1 和U2 也是随机independent #那图都没plot U1,U2,那怎样知道啊?
Q4:X 和 Y 是 linearly dependent
Q5:U1 和 U2 linearly dependent吗?

我逐行给你解释
>U2 U1