statistics 1. how long is a name? to answer this question, we might collect some data on the length...

44
Statistics 1

Upload: hilary-porter

Post on 12-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Statistics 1

Page 2: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

How long is a name?

• To answer this question, we might collect some data on the length of a name.

Page 3: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

How long is a name?

• First we need to establish our target population.

Page 4: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

How long is a name?

• First we need to establish our target population.

• Let’s say in this mathematics class.

Page 5: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

How long is a name?

• What names should we use?

Page 6: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

How long is a name?

• What names should we use?

• Names as listed on the roll.

Page 7: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Data

Page 8: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Averaging

• We call this a central tendency.

• There are 3 measures which we can use.

• MEAN

• MEDIAN

• MODE

Page 9: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Mean

• Usually when we say average, we are referring to the mean.

• To find the mean, we add up all the numbers and divide by how many there are.

Page 10: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the mean of 4, 0, 2, 1, 6

Page 11: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

In Excel we can use the formula

• =average(highlight cells)

Page 12: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Data on names

Page 13: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Median

• A median is the middle value when the data is put in order.

• If there are an odd number of data, the middle is unique.

• If there is an even number of data, we need to average the two middles.

Page 14: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the median of 4, 8, 2, 9, 1

• First put them in order

• 1, 2, 4, 8, 9

Page 15: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the median of 4, 8, 2, 9, 1

• First put them in order

• 1, 2, 4, 8, 9

• The middle number is ‘4’

Page 16: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the median of 4, 8, 2, 9, 1, 6

• First put them in order

• 1, 2, 4, 6, 8, 9

• The middle number is ‘4’ and ‘6’

• Averaging gives median is 5.

Page 17: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Sort data on Excel or use formula =median(data)

Page 18: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Mode

• The mode is the most common number.

• You can have 2 modes but not more than 2.

Page 19: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the mode of 6, 4, 3, 7, 8, 6, 7, 2

Page 20: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• Find the mode of 6, 4, 3, 7, 8, 6, 7, 2

• There are two modes 6 and 7

Page 21: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Using Excel

• Formula =mode(data)

• You must be careful as Excel will only give one mode

Page 22: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Which average is the best?

• Generally we use the mean as it includes all the data but if we have extreme values, the median is a better measure as it is not affected by extreme values.

Page 23: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• These are the incomes of a group of university students.

• $2400, $1500, $2000, $1800, $22 000

• Find the best ‘average’.

Page 24: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example

• $2400, $1500, $2000, $1800, $22 000

• The mean is not representative whereas the median is.

Page 25: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Frequency tables

Length Tally Frequency

3 ll 2

4 llll 5

5 llll llll llll 14

6 llll ll 7

7 llll 5

8 ll 2

Page 26: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Mode is 5

Length Tally Frequency

3 ll 2

4 llll 5

5 llll llll llll 14

6 llll ll 7

7 llll 5

8 ll 2

Page 27: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Median is also 5

Length Tally Frequency

3 ll 2

4 llll 5

5 llll llll llll 14

6 llll ll 7

7 llll 5

8 ll 2

Page 28: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Mean is 5.4

Length Tally Frequency

3 ll 2

4 llll 5

5 llll llll llll 14

6 llll ll 7

7 llll 5

8 ll 2

Page 29: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Calculating the mean by hand

Page 30: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Using the calculator

• STAT mode• Place data in list 1• Place frequency in list 2• CALC, SET, • 1Var Xlist list1• 1Var Freq list2• Exe• 1Var

Page 31: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Measures of spread

• It is not enough to just give the ‘average’.

• The mean, median and mode is the same for all 3 sets of data:

• 48 49 50 50 51 52• 40 45 50 50 50 55 60• 0 0 50 50 50 100 100• But the data sets are quite different

Page 32: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Measures of spread

• Range is

• (highest number) - (lowest number)

• For our data set the first names have a range of 8 - 3 = 5

Page 33: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Measures of spread

• Again, if there are extreme values, the range can distort the true spread of the data.

Page 34: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

5-number summary

• We often sort the data into a 5 number summary.

• The data is split into 4 groups

Page 35: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 1

• 1 14 29 35 43 48 49 78 82 82 92 95 95

• 13 numbers

Page 36: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 1

• 1 14 29 35 43 48 49 78 82 82 92 95 95

• Lowest is 1

• Median is 49

• Highest is 95

Page 37: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 1

• 1 14 29 35 43 48 49 78 82 82 92 95 95

• Lowest is 1

• Lower quartile is 35

• Median is 49

• Upper quartile is 82

• Highest is 95

Page 38: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 2

• 9 11 17 22 23 28 30 36

Page 39: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 2

• 9 11 17 22 23 28 30 3622.514

29

Page 40: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Example 2

• 9 11 17 22 23 28 30 36

• 5-number summary is

• 9 14 22.5 29 36

22.514

29

Page 41: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

For first names in our class

• The 5-number summary is 3 4 5 6 8

• Lower quartile is 4

• Upper quartile is 6

• Interquartile range is the difference between quartiles 6 - 4 = 2

Page 42: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Statistics so far

• Central tendencies:

• Mean = 5.4

• Median = 5

• Mean = 5

• Because the mean and median are about the same, we wouldn’t expect extreme values.

Page 43: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Statistics so far

• Measures of spread:

• Range = 5

• Interquartile range = 2

Page 44: Statistics 1. How long is a name? To answer this question, we might collect some data on the length of a name

Statistics so far

• 5 - number summary

• 3 4 5 6 8