Measure of central tendency formula