measuring center - lecture 15 sections 5.1 -...

Post on 20-Jul-2020

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Measuring CenterLecture 15

Sections 5.1 - 5.2

Robb T. Koether

Hampden-Sydney College

Mon, Feb 8, 2010

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 1 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 2 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 3 / 54

Homework Review

Exercise 36, p. 262.Manufacturing Plants A and B produce sports shoes. The histogram of all20 shoe prices for the 20 different shoes made at Plant A is given by thefollowing figure:

20 25 30 35 40 450

2

1

Frequency

Class50 55

4

3

5

60 65 70

6

7

Prices of Shoes for Plant A

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 4 / 54

Homework Review

Exercise 36, p. 262.(a) How many different shoes produced by Plant A were priced at $40 or

higher?

15.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 5 / 54

Homework Review

Exercise 36, p. 262.(a) How many different shoes produced by Plant A were priced at $40 or

higher?15.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 5 / 54

Homework Review

Solution(b) The following are prices of all 20 sports shoes produced by Plant B:

27, 37, 29, 44, 31, 33, 34, 46, 58, 5932, 32, 56, 57, 63, 33, 56, 58, 62, 51.

Make a histogram of shoe prices for Plant B. (Use a lower limit = 20,an upper limit = 65, and a class width = 5.)

20 25 30 35 40 450

2

1

Frequency

Class50 55

4

3

5

60 65 70

6

7

Prices of Shoes for Plant B

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 6 / 54

Homework Review

Solution(b) The following are prices of all 20 sports shoes produced by Plant B:

27, 37, 29, 44, 31, 33, 34, 46, 58, 5932, 32, 56, 57, 63, 33, 56, 58, 62, 51.

Make a histogram of shoe prices for Plant B. (Use a lower limit = 20,an upper limit = 65, and a class width = 5.)

20 25 30 35 40 450

2

1

Frequency

Class50 55

4

3

5

60 65 70

6

7

Prices of Shoes for Plant B

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 6 / 54

Homework Review

Exercise 36, p. 262.(c) Select the description(s) appropriate for the distribution of show prices

for Plant A.(i) symmetric.(ii) unimodal.(iii) bimodal.(iv) skewed left.(v) skewed right.(vi) uniform.

Symmetric and unimodal.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 7 / 54

Homework Review

Exercise 36, p. 262.(c) Select the description(s) appropriate for the distribution of show prices

for Plant A.(i) symmetric.(ii) unimodal.(iii) bimodal.(iv) skewed left.(v) skewed right.(vi) uniform.

Symmetric and unimodal.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 7 / 54

Homework Review

Exercise 36, p. 262.(d) Select the description(s) appropriate for the distribution of show prices

for Plant B.(i) symmetric.(ii) unimodal.(iii) bimodal.(iv) skewed left.(v) skewed right.(vi) uniform.

Symmetric and bimodal.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 8 / 54

Homework Review

Exercise 36, p. 262.(d) Select the description(s) appropriate for the distribution of show prices

for Plant B.(i) symmetric.(ii) unimodal.(iii) bimodal.(iv) skewed left.(v) skewed right.(vi) uniform.

Symmetric and bimodal.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 8 / 54

Homework Review

Exercise 36, p. 262.(e) An unknown shoe (that is, it is not known whether it was produced at

Plant A or Plant B) has a price tag of $55. We wish to test thefollowing hypotheses:

H0: Unknown shoe comes from Plant A.H1: Unknown shoe comes from Plant B.

(i) What is the direction of extreme?

The direction of extreme is to the left and the right (two-sided).(ii) Find the p-value corresponding to the observed price of $55.

Using the Plant A distribution (H0), there are 2 shoes with prices atleast as great as $55. And there are 2 shoes whose prices are equallyextreme to the left (< $35). So the p-value is 4/20 = 0.20.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 9 / 54

Homework Review

Exercise 36, p. 262.(e) An unknown shoe (that is, it is not known whether it was produced at

Plant A or Plant B) has a price tag of $55. We wish to test thefollowing hypotheses:

H0: Unknown shoe comes from Plant A.H1: Unknown shoe comes from Plant B.

(i) What is the direction of extreme?The direction of extreme is to the left and the right (two-sided).

(ii) Find the p-value corresponding to the observed price of $55.Using the Plant A distribution (H0), there are 2 shoes with prices atleast as great as $55. And there are 2 shoes whose prices are equallyextreme to the left (< $35). So the p-value is 4/20 = 0.20.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 9 / 54

Homework Review

Exercise 36, p. 262.(e) An unknown shoe (that is, it is not known whether it was produced at

Plant A or Plant B) has a price tag of $55. We wish to test thefollowing hypotheses:

H0: Unknown shoe comes from Plant A.H1: Unknown shoe comes from Plant B.

(i) What is the direction of extreme?The direction of extreme is to the left and the right (two-sided).

(ii) Find the p-value corresponding to the observed price of $55.

Using the Plant A distribution (H0), there are 2 shoes with prices atleast as great as $55. And there are 2 shoes whose prices are equallyextreme to the left (< $35). So the p-value is 4/20 = 0.20.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 9 / 54

Homework Review

Exercise 36, p. 262.(e) An unknown shoe (that is, it is not known whether it was produced at

Plant A or Plant B) has a price tag of $55. We wish to test thefollowing hypotheses:

H0: Unknown shoe comes from Plant A.H1: Unknown shoe comes from Plant B.

(i) What is the direction of extreme?The direction of extreme is to the left and the right (two-sided).

(ii) Find the p-value corresponding to the observed price of $55.Using the Plant A distribution (H0), there are 2 shoes with prices atleast as great as $55. And there are 2 shoes whose prices are equallyextreme to the left (< $35). So the p-value is 4/20 = 0.20.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 9 / 54

Homework Review

Solution(e) (iii) At α = 0.05, what is your decision?

If α = 0.05, then we accept H0 because p-value > α.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 10 / 54

Homework Review

Solution(e) (iii) At α = 0.05, what is your decision?

If α = 0.05, then we accept H0 because p-value > α.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 10 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 11 / 54

Measuring the Center

Often, we would like to have one number that that is “representative”of a population or sample.

It seems reasonable to choose a number that is near the “center” ofthe distribution rather than in the left or right extremes.But there is no single “correct” way to do this.Instead, we will have two (or three) ways to measure the center.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 12 / 54

Measuring the Center

Often, we would like to have one number that that is “representative”of a population or sample.It seems reasonable to choose a number that is near the “center” ofthe distribution rather than in the left or right extremes.

But there is no single “correct” way to do this.Instead, we will have two (or three) ways to measure the center.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 12 / 54

Measuring the Center

Often, we would like to have one number that that is “representative”of a population or sample.It seems reasonable to choose a number that is near the “center” ofthe distribution rather than in the left or right extremes.But there is no single “correct” way to do this.

Instead, we will have two (or three) ways to measure the center.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 12 / 54

Measuring the Center

Often, we would like to have one number that that is “representative”of a population or sample.It seems reasonable to choose a number that is near the “center” ofthe distribution rather than in the left or right extremes.But there is no single “correct” way to do this.Instead, we will have two (or three) ways to measure the center.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 12 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 13 / 54

Measuring the Center

Definition (Mean)The mean is the simple average of a set of numbers.

Definition (Median)The median is the value that divides the set of numbers into a lower halfand an upper half.

Definition (Mode)The mode is the most frequently occurring value in the set of numbers.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 14 / 54

Mean, Median, and Mode

If a distribution is symmetric and unimodal, then the mean, median,and mode are all the same and are all at the center of the distribution.

MeanMedian

Mode

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 15 / 54

Mean, Median, and Mode

However, if the distribution is skewed, then the mean, median, andmode are all different.The mode is at the peak.

Mode

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 16 / 54

Mean, Median, and Mode

However, if the distribution is skewed, then the mean, median, andmode are all different.The mean is shifted in the direction of skewing.

MeanMode

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 17 / 54

Mean, Median, and Mode

However, if the distribution is skewed, then the mean, median, andmode are all different.The median is between the mode and the mean.

MeanModeMedian

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 18 / 54

The Median vs. The Mean

If the data are strongly skewed, then the median generally gives amore representative value.If the data are not skewed, then the mean is usually preferred.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 19 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 20 / 54

The Mean

Why is the average usually a good measure of the center?If we have only two numbers, the average is half way between them.What if we have more than two numbers?The mean balances the “deviations” on the left with the “deviations”on the right.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 21 / 54

The Mean

1 2 3 4 5 6 7 8 9 10

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 22 / 54

The Mean

1 2 3 4 5 6 7 8 9 10

Average

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 23 / 54

The Mean

1 2 3 4 5 6 7 8 9 10

Average

-5

-2

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 24 / 54

The Mean

1 2 3 4 5 6 7 8 9 10

Average

-5

-2

+4

+2

+1

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 25 / 54

The Median

1 2 3 4 5 6 7 8 9 10

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 26 / 54

The Median

1 2 3 4 5 6 7 8 9 10

Median

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 27 / 54

The Median

1 2 3 4 5 6 7 8 9 10

Median

-6

-3

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 28 / 54

The Median

1 2 3 4 5 6 7 8 9 10

Median

-6

-3

+3

+1

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 29 / 54

The Mean

We use the letter x to denote a value from the sample or population.The symbol Σ means “add them all up.”So, ∑

x

means add up all the values in the population or sample (dependingon the context).Then the sample mean is ∑

xn.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 30 / 54

The Mean

We denote the mean of a sample by the symbol x , pronounced “x bar.”We denote the mean of a population by µ, spelled “mu” andpronounced “myoo”.Therefore,

x =

∑x

n

µ =

∑x

N.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 31 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 32 / 54

TI-83 - The Mean

TI-83 MeansEnter the data into a list, say L1.Press STAT > CALC > 1-Var Stats.Press ENTER. “1-Var-Stats” appears in the display.Type L1 and press ENTER.A list of statistics appears. The first one is the mean.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 33 / 54

Practice

PracticeThe Brand B data from 4.36, page 262.

27 37 29 44 31 33 34 46 58 5932 32 56 57 63 33 56 58 62 51

Find the mean of the data.Change the value 63 to 100. How does that affect the mean?

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 34 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 35 / 54

The Median

Definition (Median)The median is the value that divides the set of numbers into a lower halfand an upper half.

The median, by definition, is at the 50th percentile.It separates the lower 50% of the sample from the upper 50%.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 36 / 54

The Median

When n is odd, the median is the middle number, which is in position(n + 1)/2.When n is even, the median is the average of the middle two numbers,which are in positions n/2 and n/2 + 1.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 37 / 54

Practice

PracticeThe Brand B data from 4.36, page 262.

27 37 29 44 31 33 34 46 58 5932 32 56 57 63 33 56 58 62 51

Find the median of the data.How do the mean and the median compare?Change the value 63 to 100. How does that affect the median?

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 38 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 39 / 54

TI-83 - The Median

TI-83 MediansFollow the same procedure that was used to find the mean.When the list of statistics appears, scroll down to the one labeled“Med." It is the median.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 40 / 54

TI-83 - The Median

PracticeUse the TI-83 to find the median value.

27 37 29 44 31 33 34 46 58 5932 32 56 57 63 33 56 58 62 51

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 41 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 42 / 54

The Mode

Definition (Mode)The mode is the most frequently occurring value in the set of numbers.

The mode is a good indicator of the distribution’s central peak, if ithas one.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 43 / 54

The Mode

The problem is that many distributions do not have a peak or theyhave several peaks.In other words, the mode does not necessarily exist or there may beseveral modes.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 44 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 45 / 54

Weighted Means

A student’s average score on the first 10 quizzes is 85%.His average on the last three quizzes is 65%.What is his overall average on the 13 quizzes?

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 46 / 54

Weighted Means

It would not be correct to compute the simple average:

(simple) average =85 + 65

2= 75.

Why?

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 47 / 54

Weighted Means

Instead, compute the weighted average.

(weighted) average =(10)(85) + (3)(65)

13

=104513

= 80.4.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 48 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 49 / 54

Assignment

HomeworkRead Sections 5.1 - 5.2, pages 299 - 311.Let’s Do It! 5.1, 5.2, 5.3, 5.4, 5.5, 5.6.Page 311, exercises 1 - 8.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 50 / 54

Outline

1 Homework Review

2 Introduction

3 Measuring the Center

4 The MeanTI-83 Means

5 The MedianTI-83 Medians

6 The Mode

7 Weighted Means

8 Assignment

9 Answers to Even-numbered Exercises

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 51 / 54

Answers to Even-numbered Exercises

Page 311, Exercises 2, 4, 6, 85.2 The answer is (a).5.4 (a)

mode

median

mean

(b)

mode

median

mean

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 52 / 54

Answers to Even-numbered Exercises

Page 311, Exercises 2, 4, 6, 85.6 (a) The median. It should be smaller than the mean, making it look like

the players aren’t paid much.(b) The mean. It should be higher than the median, making it look like the

players are paid a lot.5.8 (a) Shelf 1: x = 5.11, median= 3.

Shelf 2: x = 9.62, median= 12.Shelf 3: x = 6.53, median= 6.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 53 / 54

Answers to Even-numbered Exercises

Page 311, Exercises 2, 4, 6, 85.8 (b)

0-2 3-5 6-8 9-11 12-14 15-17

Shelf 1

0-2 3-5 6-8 9-11 12-14 15-17

Shelf 2

0-2 3-5 6-8 9-11 12-14 15-17

Shelf 2

0

2

4

6

8

0

2

4

6

8

0

2

4

6

8

1010 10

Shelf 1–unimodal and skewed right, mean > median.Shelf 2–unimodal and skewed left, mean < median.Shelf 3–unimodal and symmetric, mean and median about equal.

Robb T. Koether (Hampden-Sydney College) Measuring Center Mon, Feb 8, 2010 54 / 54

top related