Note on mean and variance of sum of random variables