Expectation of Covariance Estimate

2 replies · 2K views · last reply
brojesus111
Messages
38
Reaction score
0
So I'm trying to take the expectation of the covariance estimate.

I'm stuck at this point. I know I have to separate the instances where i=j for the terms of the form E[XiYj], but I'm not quite sure how to in this instance.

Equation: E[σ̂_XY] = E[X_i Y_i] − n⁻¹ Σ_{j=1}^{n} E[X_j Y_i] − n⁻¹ Σ_{k=1}^{n} E[X_i Y_k] + n⁻² Σ_{j=1}^{n} Σ_{k=1}^{n} E[X_j Y_k]


The answer at the end should be biased, and I'm trying to find a way to make it unbiased. But first tings first, I have to simplify the above.
 
Hey brojesus111 and welcome to the forums.

I think you will have to incorporate the mean terms by putting something like + X_bar - X_bar.

Also given your expression, another that comes to find is try and complete the square in the way of getting E[(X-X_bar)(Y-Y_bar)] by matching this expression with the one you have been given.

The difference between the two will give the bias.