mean and variance of probability density function