Expectation of X squared plus Y from joint PMF chart
Suppose the joint PMF of
| 0.2 | 0.2 | |
| 0.35 | 0.1 | |
| 0.05 | 0.1 |
Define
Solution
First compute the values of
| 0 | 3 | |
| 1 | 4 | |
| 2 | 5 |
Now take the sum, weighted by probabilities:
Expectation of Y two ways and Expectation of XY from joint density
Suppose
(a) Compute
(b) Compute
Solution
(a)
(1) Method One: via marginal PDF
Then expectation:
(2) Method Two: directly, via two-variable formula:
(b) Directly, via two-variable formula: