mean and variance of cumulative distribution function