Solved – Distribution of the difference of two independent uniform variables, truncated at 0

random variableself-study

Let $X$ and $Y$ be two independent random variables having the same uniform distribution $U(0,1)$ with density

$f(x)=1$ if $0≤x≤1$ (and $0$ elsewhere).

Let $Z$ be a real random variable defined by:

$Z=X-Y$ if $X>Y$ (and $0$ elsewhere).

  1. Derive the distribution of $Z$.

  2. Compute the expectation $E(Z)$ and variance $V(Z)$.

Best Answer

Check p. 18 of Probability Distributions as Program Variables, by Dimitrios Milios.

He has discussed the problem in an fairly detailed manner.

Related Question