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

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

小熊猫 · 2023年10月27日

用另一个公式算?

NO.PZ2023091601000019

问题如下:

A quantitative analyst is constructing a stock selection algorithm that will be employed in making intraday trades and uses the annual returns of two utility stocks, stock A and stock B, to test the model’s capacity to capture dependence between stock returns. The 5 years of annual returns data for each stock used in the test are shown in the following table:

The analyst estimates that the sample means of the returns of stock A (μA) and stock B (μB) are 0.146 and 0.138, respectively. What is the unbiased estimate of the sample covariance of stocks A and B?

选项:

A.

0.003828

B.

0.003892

C.

0.004785

D.

0.004865

解释:

D is correct. Using the formula for the sample covariance estimator but dividing by n-1 for an unbiased estimate, we get

𝜎𝐴𝐵=1/(𝑛−1)Σ(𝑅𝐴,𝑖𝜇𝐴)(𝑅𝐵,𝑖𝜇𝐵)

Which is expanded as

1/4[(0.18−0.146)(0.32−0.138)+(0.13−0.146)(0.22−0.138)+(0.04−0.146)(0.00−0.138)+(0.30−0.146)(0.10−0.138)+(0.08−0.146)(0.05−0.138)]=(14)(0.01946)=0.004865

A is incorrect. This is the result when the two means are switched in the summation formula and the multiplier used is 1/5.

B is incorrect. This is the result when the multiplier used is 1/5 instead of 1/(5-1).

C is incorrect. This is the result when the two means are switched in the summation formula.

为什么不能用cov=E(AB)-E(A)E(B)这个公式算?算完是b

1 个答案
已采纳答案

李坏_品职助教 · 2023年10月27日

嗨,努力学习的PZer你好:


你写的公式计算的是A和B这两个总体的Cov, 总体的Cov实际上除以的是n(只是cov=E(AB)-E(A)E(B)这个公式里面没有体现出来)。

题目要求的是sample(样本)的Cov,样本的Cov是要除以n-1的。


B算出来以后,0.003892相当于是除以n之后的结果,还要把这个总体的cov乘以n / (n-1),也就是0.003892 * 5/4 = 0.004865, 得出正确答案。



----------------------------------------------
努力的时光都是限量版,加油!

  • 1

    回答
  • 0

    关注
  • 244

    浏览
相关问题