MATLAB: Question in the Statistics

statisticstheory

f(x,y)=1 for 0<x,y<1 Let z=xy find E(z)

Best Answer

x and y are independent, so E(z) = E(x)*E(y).
You do not know what E(x) is because all that you are given is the range of x, and nothing about the distribution of x. Likewise with E(y).
If The distribution is Uniform Random, then E() of a uniform random variable is mean() of the range. mean() of 0 to 1 is 1/2.
1/2 * 1/2 gives 1/4