The doctrine of the mean