Mean, Medium, Mode
Mean ()
The average of all the integers in a set of values. Here is the basic formula for calculating the mean of a set of values: , where is the element of the set.
The midpoint value of a data set for which an equal number of samples are less than and greater than the value. For an odd sample size, this is the middle element of the sorted sample; for an even sample size, this is the average of the middle elements of the sorted sample.
The element(s) that occur most frequently in a data set. For the set , the mode is because the number appears three times in the set and every other number in the set has a frequency . In contrast, the set is multimodal because no number in the set appears more than time, so every number in the set is a valid mode.
These are important terms to understand when formatting your output:
Precision refers to the number of significant digits in a number. For example, the numbers and both have a precision of .
Scale refers to the number of significant digits to the right of the decimal point. For example, the number has a scale of decimal places. This term is sometimes misrepresented as precision in documentation.
Last updated