Mean and standard deviation of random variables