NO.PZ2015120604000064
问题如下:
According to the above table, what is the correlation of X and Y, given the joint probability table above?
选项:
A.-0.98.
B.0.16.
C.0.98.
解释:
A is correct
,
Cov(X,Y)=-4.8, standard deviations of X and Y are 1.90 and 2.58, as calculated before,
thus correlation of X and Y is -0.98
想问下x和y的方差可以用population variance=E(x^2) - [E(x)^2]来计算吗?
如果可以的话,计算[E(x)^2]的时候,可以直接加和x^2然后除以3吗?(即[E(x)^2]= (4 +1+16)/3=7)
用这个算法得出的x的方差和助教老师算的不太一样(https://class.pzacademy.com/qa/145159),不太懂为什么这个方法不行,求帮助