I have two discrete random variavles; $X$ and $Y$ with:
And I want to calculate $Cov(Y,Y+e^X)$, and I've tried the following:
\[ScriptCapitalD] = EmpiricalDistribution[{1/8, 2/8, 5/8} -> {1, 2, 3}];
\[ScriptCapitalD]1 = EmpiricalDistribution[{1/5, 4/5} -> {-1, 1}];
Covariance[\[ScriptCapitalD]1, \[ScriptCapitalD]1 + e^\[ScriptCapitalD]]
But this doesnt return any value, what am I doing wrong?
I have also tried calculating stuff like $P(X=3,Y=1)$ and $P(X\cdot Y \geq 2)$ without any luck
e
; there'sE
- Mathematica is case sensitive. $\endgroup$