Mean and Variance in Quantum Theory