O'Reilly logo
  • Asjad Rahman thinks this is interesting:

Measures of center

At the ordinal level, the median is usually an appropriate way of defining the center of the data. The mean, however, would be impossible because division is not allowed at this level. We can also use the mode like we could at the nominal level.

We will now look at an example of using the median:

Imagine you have conducted a survey among your employees asking "how happy are you to be working here on a scale from 1-5", and your results are as follows:

5, 4,...


Cover of Principles of Data Science


Mean,Median,Mode and Range

The "mean" is the "average" you're used to, where you add up all the numbers and then divide by the number of numbers. The "median" is the "middle" value in the list of numbers. To find the median, your numbers have to be listed in numerical order from smallest to largest, so you may have to rewrite your list before you can find the median. The "mode" is the value that occurs most often. If no number in the list is repeated, then there is no mode for the list.

The "range" of a list a numbers is just the difference between the largest and smallest values.

Find the mean, median, mode, and range for the following list of values...