Presentation is loading. Please wait.

Presentation is loading. Please wait.

Comparing mean and median measures of central tendency.

Similar presentations


Presentation on theme: "Comparing mean and median measures of central tendency."— Presentation transcript:

1 Comparing mean and median measures of central tendency

2 Mean and median 1.How to calculate the mean and median 2.Geometric interpretation 3.What they tell us about the data

3 Procedure: add values and divide by number of values x = [4, 1, -2, 2, 0] x = (4 + 1 – 2 + 2 + 0)/5 = 1 Fancy formula: data: Mean aka “average” or “arithmetic mean” average: Example:

4 x = [4, 1, -2, 2, 0] x = (4 + 1 – 2 + 2 + 0)/5 = 1 Geometric interpretation of mean Example: -2 0 2 1 3 4 The mean is the balance point (or center of mass) if points are weighted by distance to balance point 3 + 11 + 3 -2 0 2 1 3 4 2 1 + 2 + 4

5 Procedure: sort values and take one in middle position x = [4, 1, -2, 2, 0] Median median Example:[-2 0, 1, 2, 4] reorder For an even number of values – take average of middle two x = [4, 1, -2, 2, 0, 2] median: Example:[-2 0, 1, 2, 2, 4] reorder (1 + 2 )/2 = 1.5

6 -2 0 2 1 3 4 1 + 1 x = [4, 1, -2, 2, 0] Geometric interpretation of median Example: The median is the balance point (or center of mass) if points each have a weight of 1 -2 0 2 1 3 4 1 1 + 1 + 1 median [-2 0, 1, 2, 4] reorder

7 x = [100, 1, -2, 2, 0] x = (100 + 1 – 2 + 2 + 0)/5 = 20.2 What happens for outliers? Example: -2 0 2 1 3 4 The outlier changes the mean but not the median. 3 + 11 + 99 -2 0 2 1 3 4 1 + 1 median is still one x = [4, 1, -2, 2, 0]


Download ppt "Comparing mean and median measures of central tendency."

Similar presentations


Ads by Google