• We are pleased to announce that the winner of our Feedback Prize Draw for the Winter 2024-25 session and winning £150 of gift vouchers is Zhao Liang Tay. Congratulations to Zhao Liang. If you fancy winning £150 worth of gift vouchers (from a major UK store) for the Summer 2025 exam sitting for just a few minutes of your time throughout the session, please see our website at https://www.acted.co.uk/further-info.html?pat=feedback#feedback-prize for more information on how you can make sure your name is included in the draw at the end of the session.
  • Please be advised that the SP1, SP5 and SP7 X1 deadline is the 14th July and not the 17th June as first stated. Please accept out apologies for any confusion caused.

Chp 4: How to calculate E[XY] and cov[X,Y] for dependent variables?

keepcalmandstudyon

Made first post
Hi,

I'm on chapter 4 and have a question about how to calculate E[XY] and cov[X,Y] for continuous dependent variables.

I understand that this formula below is only true when X and Y are independent random variables (because cov(X,Y)=E[XY]−E[X]E[Y]=0 only if X and Y are independent random variables).
E[X,Y]=∫∫xy f(x,y) dx dy​
(This formula is based on page 18 of chapter 4. I understand that E[X,Y] and E[XY] are the same thing and that g(x,y) is xy. Please correct me if I'm wrong here!)

So my question is - when X and Y are dependent, or when we don’t know whether or not X and Y are independent, how can we calculate E(XY)?

Page 22 of Chapter 4 mentions that we can find E[XY] for dependent random variables by using E[XY] = E[X]E[Y] + cov[X,Y]. But this seems to assume that we already know what cov[X,Y] is.

If we don’t know what cov[X,Y] is, how can we calculate cov[X,Y] when X and Y are dependent, or when we don’t know whether or not X and Y are independent?

I understand that cov[X,Y] = E[XY] – E[X]E[Y], but this formula wouldn’t help to find cov[X,Y] when we don’t know what E[XY] is.

Thanks in advance!
 
E[XY]=∫∫xy f(x,y) dx dy can be calculated by integrating.

See the question and solution on pages 25-26 for an example with U and V, you calculate E[UV] and cov(U,V).

Hope this helps.
 
Back
Top