开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

Sallyrrr · 2024年02月25日

老师x和y的方差应该怎么算呀

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

Corr(X,Y)=Cov(X,Y)σxσyCorr(X,Y)=\frac { Cov(X,Y) }{ { \sigma }_{ x }{ \sigma }_{ y } } ,

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

可以告诉一下公式吗

3 个答案

品职助教_七七 · 2024年03月04日

嗨,爱思考的PZer你好:


@Nicole Cai

Cov(X,Y)​=E[((X-E(X))(Y-E(Y)))],所以问题先转化为求E(X)和E(Y)

根据表格,X一共有三个值。其中X=-2的概率就是当X=-2时的边际概率,0.2+0+0=0.2;同理,X=1的概率为0+0.6+0=0.6,X=4的概率为0+0+0.2=0.2.

求期望就是求(加权)平均的过程,所以E(X)=0.2×(-2)+0.6×1+0.2×4=1,

同理,E(Y)=0.2×5+0.6×2+0.2×(-3)=1.6.

所以Cov(X,Y)​=0.2×(-2-1)×(5-1.6)+0.6×(1-1)×(2-1.6)+0.2×(4-1)×(-3-1.6)=-4.8

----------------------------------------------
就算太阳没有迎着我们而来,我们正在朝着它而去,加油!

品职助教_七七 · 2024年02月29日

嗨,爱思考的PZer你好:


@ Sallyrrr

对于不涉及抽样的题目,σ就是standard deviation的符号,单个资产的标准差和组合标准差都是这样表示。这类问题里没有s。

在涉及到总体和样本的问题中,总体标准差用σ表示,样本标准差用s表示。

这是两类不同的题型。

----------------------------------------------
虽然现在很辛苦,但努力过的感觉真的很好,加油!

品职助教_七七 · 2024年02月25日

嗨,从没放弃的小努力你好:


根据表格,X一共有三个值。其中X=-2的概率就是当X=-2时的边际概率,0.2+0+0=0.2;同理,X=1的概率为0+0.6+0=0.6,X=4的概率为0+0+0.2=0.2.

求期望就是求(加权)平均的过程,所以E(X)=0.2×(-2)+0.6×1+0.2×4=1,

同理,E(Y)=0.2×5+0.6×2+0.2×(-3)=1.6.


通过方差的公式得到Var(X)=E[(Xi-E(X))^2]=0.2×(-2-1)^2+0.6×(1-1)^2+0.2×(4-1)^2=3.6,即σx=1.8974

Var(Y)=0.2×(5-1.6)^2+0.6×(2-1.6)^2+0.2×(-3-1.6)^2=6.64,即σY=2.5768

----------------------------------------------
加油吧,让我们一起遇见更好的自己!

Sallyrrr · 2024年02月29日

老师我突然晕了 σ这个是portfolio的standard deviation符号吗?sample的standard deviation符号是S?

Nicole Cai · 2024年03月04日

老师,继续往下的计算是怎么做的?Cov(X,Y)=-4.8, 是怎么算出来的?

  • 3

    回答
  • 0

    关注
  • 248

    浏览
相关问题

NO.PZ2015120604000064 问题如下 Accorng to the above table, whis the correlation of X anY, given the joint probability table above? A.-0.98. B.0.16. C.0.98. A is correctCorr(X,Y)=Cov(X,Y)σxσyCorr(X,Y)=\fr{ Cov(X,Y) }{ { \sigma }_{ x }{ \sigma }_{ y } } Corr(X,Y)=σx​σy​Cov(X,Y)​,Cov(X,Y)=-4.8, stanrviations of X anY are 1.90 an2.58, calculatebefore,thus correlation of X anY is -0.98 如题,看了之前的解析,还是不知道X和Y 的标准差怎么求出来的,能不能仔细讲解一下

2024-07-09 12:54 1 · 回答

NO.PZ2015120604000064 问题如下 Accorng to the above table, whis the correlation of X anY, given the joint probability table above? A.-0.98. B.0.16. C.0.98. A is correctCorr(X,Y)=Cov(X,Y)σxσyCorr(X,Y)=\fr{ Cov(X,Y) }{ { \sigma }_{ x }{ \sigma }_{ y } } Corr(X,Y)=σx​σy​Cov(X,Y)​,Cov(X,Y)=-4.8, stanrviations of X anY are 1.90 an2.58, calculatebefore,thus correlation of X anY is -0.98 因为要求correlation,所以要分别求出公式里面的covariance和stanrviation分别求E(x)和E(y),得出1和1.6求方差variance,然后开根号得出标准差stanrviation,-- 1.8974和2.5768求covariance: - 4.8把第二点的标准差和第三点的协方差带入correlation的公式求出结果

2024-04-01 14:52 1 · 回答

NO.PZ2015120604000064问题如下Accorng to the above table, whis the correlation of X anY, given the joint probability table above?A.-0.98.B.0.16.C.0.98.A is correctCorr(X,Y)=Cov(X,Y)σxσyCorr(X,Y)=\fr{ Cov(X,Y) }{ { \sigma }_{ x }{ \sigma }_{ y } } Corr(X,Y)=σx​σy​Cov(X,Y)​,Cov(X,Y)=-4.8, stanrviations of X anY are 1.90 an2.58, calculatebefore,thus correlation of X anY is -0.98为什么计算出VarX 和VarY后,最后一步代入公式 不用开根号?

2024-02-19 23:28 1 · 回答

NO.PZ2015120604000064问题如下Accorng to the above table, whis the correlation of X anY, given the joint probability table above?A.-0.98.B.0.16.C.0.98.A is correctCorr(X,Y)=Cov(X,Y)σxσyCorr(X,Y)=\fr{ Cov(X,Y) }{ { \sigma }_{ x }{ \sigma }_{ y } } Corr(X,Y)=σx​σy​Cov(X,Y)​,Cov(X,Y)=-4.8, stanrviations of X anY are 1.90 an2.58, calculatebefore,thus correlation of X anY is -0.98那怎么这里没有用呢红色圈

2024-02-17 15:37 2 · 回答