Cost per No. of Applications

Measures of Central Tendency

Tutorial Navigation

Getting StartedGeneral Instructions | Introduction to Your Study
Descriptive StatisticsHistograms | Scatter Plots | Central Tendency | Standard Deviation | Confidence Intervals
Relating VariablesCorrelation
Important ConceptsThe Normal Distribution | Z Scores | Probability Distributions
LevelsYou are currently on Central Tendency at level 2. Level 1 | Level 2 | Level 3
Next Topic Frequency Histograms | Standard Deviation

Explanation

Calculating Measures of Central Tendency
Level 1 showed how the three different measures of central tendency are each suited to different types of data. We will now see how the different measures can give different results depending on the pattern of values in your data. We will also show you how to calculate the values of the three different measures.
  • The mode is calculated by counting how often each value occurs. There is no formula, you just count the values and see which one occurs most often. That value is the mode;
  • The median is found by first sorting your data in order and then finding the middle value. If you have an even number of data points, there won't be a value right in the middle, so you take the two middle values, add them together and divide the answer by 2;
  • The mean is calculated using a formula which adds all the values together and then divides by the number of values there are.
Now we know how to calculate the values, we can see how each different measure performs with different patterns of data.
  • The mean is badly affected by extreme values. Imagine you had the data: 1,2,3,4,400. The mean is 410/5 = 82, which doesn't really reflect where any of the data lies
  • The mode can be misleading if several values all appear equally often. It is useless if all the values in your data are different, as they each appear once only!
  • The median can smooth out extreme values but can produce the least frequently occurring value, as in this example: 1,1,1,2,3,3,3

Exploration

Here is the formula for calculating the mean of a set of numbers. Hover over any part of the formula for an explanation of what it signifies.
The sum of all the values in the data
The whole formula means 'The mean of x (where x is any numeric variable, such as no. apps) is the sum of its values divided by the number of values there are.'

Application

Here is the data from your study:
CostNo. Apps
715
66362
980110
13812
86183
14541
49346
54875
25123
1024100
43541
77275
7110
66359
38162
13815
86178
14559
49356
54856
25127
1009110
43546
772110
49346
54872
25123
988100
43541
66359
Calculator
( You need to enable Java to see this applet. )
Help
The Mean
Now we will calculate the mean of cost.
  1. Use the calculator to add up all the values in the cost column.
    Enter that value here:   Help
  2. Count the number of values in the data (n). Enter that value here:   Help
  3. Now divide the sum from step 1 by n. Enter that value here using 2 decimal places:   Help
  4. Now repeat the process for the no. apps column and enter the mean here:   Help
To calculate the median and the mode, it is much easier to sort your data into order first.
Here is your data sorted with the position of each value noted along the top row.
Position123456789101112131415161718192021222324252627282930
Cost717113813814514525125125138143543543549349349354854854866366366377277286186198098810091024
No. Apps5101215232327414141464646565659595962627275757883100100110110110

The Mode
Now we will calculate the mode, if we can, for cost.
Find the mode by counting how many times each value appears and noting which appears most often. Also check to see if more than one value appears equally most often.

  1. Let's see if it makes sense to calculate a mode for this data. The mode is the value that appears more than any other value. Is there a single mode for your data?   Help
The Median
The median is in the middle of the ordered list of values.
  1. Looking at cost, how many values are there?   Help
  2. Is there an exact midway point, or does the middle span two values?   Help
  3. At what position is the mid point? Enter its position or the first position if it spans two.   Help
  4. Find the value in the cost row at that position. If the mid point spans two places, add the numbers at those two positions together and divide what you get by two. The number you get is the median of cost. Enter it to 2 decimal places:   Help
  5. Now enter the median of no. apps. Use 2 decimal places   Help

Reporting Your Findings
Once you have calculated your measures of central tendency, you usually want to report them. The best way to do this is in a table.
Cost
MeanModeMedian
517.53663493

Frequency Histograms | Standard Deviation