Q :
A continuous random variable has the probability density function f(x) = 1/3 , for x between -1 and +2 , and 0 elsewhere . Its mean , variance and median are :
Here , how do we calculate the variance and median .
Rain Man, for median, you need to find a point x such that P(X>=x) >= 1/2 and P(X=<x) >= 1/2. Since we have a uniform distribution, x is easily seen to be the midway point, or 1/2.