2
$\begingroup$

How can I calculate a conditional expectation like below?

$E(X^3 - Y^3 | X-Y)$

$\endgroup$
0

1 Answer 1

2
$\begingroup$

$$E(X^3 - Y^3 | X-Y)= E(X^3 | X - Y) - E(Y^3 | X - Y)$$

You never said if the variable was discrete or continuous. I'm going to do the discrete case below.

$$=\sum(X^3 \times \textrm{Pr}(X^3|X-Y)) - \sum(Y^3 \times \textrm{Pr}(Y^3|X-Y)) $$

For the continuous case, you integrate where there's a summation, and use the PDF for the conditional probability.

$\endgroup$
1
  • 1
    $\begingroup$ Thank you.I meant the continuous but it also will be useful for discrete mod. $\endgroup$ Commented Oct 25, 2019 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.