NO.PZ2020010304000034
问题如下:
What is the effect on the sample covariance between X and Y if X is scaled by a constant a?
What is the effect on the sample correlation?
选项:
解释:
The sample covariance is defined
n1∑i=1(Xi−X)(Yi−Y).
Multiplying each Xi by a constant a will rescale the sample mean by a so that
n1∑i=1(aXi−aX)(Yi−Y)=n1∑i=1a(Xi−X)(Yi−Y)=an1∑i=1(Xi−X)(Yi−Y)
The final covariance is a times the original covariance. The correlation is then ρ=σXσYσXY so that scaling Xi by a will produce ρ=aσXσYaσXY=σXσYσXY and the samle correlation is invariant to rescaling the data.
解析中的相关系数公式和讲义78页不一致,请问是怎么推导成的?