Mean value and variance of noisy quantized data