and the Triola Statistics Series - UFPRdenis.santos/Arquivos/Slides/Triola_Cap_09... · Overview...

85
Lecture Slides Elementary Statistics Tenth Edition Tenth Edition and the Triola Statistics Series by Mario F. Triola Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. by Mario F. Triola

Transcript of and the Triola Statistics Series - UFPRdenis.santos/Arquivos/Slides/Triola_Cap_09... · Overview...

Lecture Slides

Elementary StatisticsTenth Edition Tenth Edition

and the Triola Statistics Series

by Mario F. Triola

SlideSlide 1Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

by Mario F. Triola

Chapter 9 Inferences from Two Samples

9-1 Overview9-1 Overview

9-2 Inferences About Two Proportions

9-3 Inferences About Two Means: Independent Samples

9-4 Inferences from Matched Pairs

SlideSlide 2Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

9-4 Inferences from Matched Pairs

9-5 Comparing Variation in Two Samples

Section 9 -1Overview

SlideSlide 3Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Created by Erin Hodgess, Houston, TexasRevised to accompany 10th Edition, Tom Wegleitner, Centreville, VA

Overview

There are many important and meaningful There are many important and meaningful situations in which it becomes necessary to compare two sets of sample data.

This chapter extends the same methods introduced in Chapters 7 and 8 to situations involving two samples instead of only one.

SlideSlide 4Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

involving two samples instead of only one.

Section 9 -2 Inferences About Two

ProportionsProportions

SlideSlide 5Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Created by Erin Hodgess, Houston, TexasRevised to accompany 10th Edition, Tom Wegleitner, Centreville, VA

Key Concept

This section presents methods for using two sample proportions for constructing a sample proportions for constructing a confidence interval estimate of the difference between the corresponding population proportions, or testing a claim made about the two population proportions.

SlideSlide 6Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Requirements

1. We have proportions from two 1. We have proportions from two independent simple random samples.

2. For each of the two samples, the number of successes is at least 5 and the number of failures is at least 5.

SlideSlide 7Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Notation for Two ProportionsFor population 1, we let:

p1

= population proportionn = size of the sample

1n1 = size of the samplex1 = number of successes in the sample

p̂1

= x1 (the sample proportion)n1

SlideSlide 8Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

The corresponding meanings are attached top

2, n

2, x

2, p

2. and q

2, which come from population 2.^^

q1

= 1 – p1̂

^

� The pooled sample proportion

is denoted by p and is given by:

Pooled Sample Proportion

is denoted by p and is given by:

=p n1

+ n2

x1

+ x2

SlideSlide 9Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

� We denote the complement of p by q,

so q = 1 – p

Test Statistic for Two Proportions

For H0: p1 = p

2

H : p ≠≠≠≠ p , H : p < p , H : p > pH1: p1 ≠≠≠≠ p

2 , H1: p1

< p2

, H1: p 1> p

2

+

z =( p

1 – p

2 ) – ( p

1– p

2 )^ ^

pq pq

SlideSlide 10Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

+n1

pqn2

pq

Test Statistic for Two Proportions - cont

For H0: p1 = p

2

p ≠≠≠≠ p p < p p > p

where p1 – p

2= 0 (assumed in the null hypothesis)

=p̂ x1

n p̂ x2=and

H1: p1 ≠≠≠≠ p

2 , H1: p1

< p2

, H1: p 1> p

2

SlideSlide 11Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

=p1

^n

1

p2

^n

2

=and

and q = 1 – pn

1 + n

2

p = x

1 + x

2

Test Statistic for Two Proportions - cont

P-value: Use Table A -2. (Use the computed value of the test statistic z and find its P-value value of the test statistic z and find its P-value by following the procedure summarized by Figure 8 -6 in the text.)

Critical values: Use Table A -2. (Based on the significance level α, find critical values by using the procedures introduced in Section

SlideSlide 12Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

using the procedures introduced in Section 8-2 in the text.)

Example: For the sample data listed in the Table below, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped.

SlideSlide 13Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Example: For the sample data listed in the previous Table, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped.

200n1

n1= 200

x1 = 24

p1 = x1 = 24 = 0.120^

n = 1400

H0: p1 = p2, H1: p1 > p2

p = x1 + x2 = 24 + 147 = 0.106875n1 + n2 200+1400

q = 1 – 0.106875 = 0.893125.

SlideSlide 14Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2

n2 = 1400x2 = 147p2 = x2 = 147 = 0.105

1400

^

Example: For the sample data listed in the previous Table, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped .

200n1

n1= 200

x1 = 24

p1 = x1 = 24 = 0.120^

n = 1400

(0.120 – 0.105) – 0

(0.106875)(0.893125) + (0.106875)(0.893125)200 1400

z = 0.64

z=

SlideSlide 15Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2

n2 = 1400x2 = 147p2 = x2 = 147 = 0.105

1400

^

Example: For the sample data listed in the previous Table, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped.

200n1

n1= 200

x1 = 24

p1 = x1 = 24 = 0.120^

n = 1400

z = 0.64This is a right-tailed test, so the P-value is the area to the right of the test statistic z = 0.64. The P-value is 0.2611.

Because the P-value of 0.2611 is

SlideSlide 16Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2

n2 = 1400x2 = 147p2 = x2 = 147 = 0.105

1400

^

Because the P-value of 0.2611 is greater than the significance level of αααα = 0.05, we fail to reject the null hypothesis.

z = 0.64

Example: For the sample data listed in the previous Table, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped.

200n1

n1= 200

x1 = 24

p1 = x1 = 24 = 0.120^

n = 1400

z = 0.64

Because we fail to reject the null hypothesis, we conclude that there is not sufficient evidence to support the claim that the proportion of black drivers stopped by police is greater than that for white drivers. This does

SlideSlide 17Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2

n2 = 1400x2 = 147p2 = x2 = 147 = 0.105

1400

^

than that for white drivers. This does not mean that racial profiling has been disproved. The evidence might be strong enough with more data.

Example: For the sample data listed in the previous Table, use a 0.05 significance level to test the cl aim that the proportion of black drivers stopped by the police is greater than the proportion of white driv ers who are stopped.

200n1

n1= 200

x1 = 24

p1 = x1 = 24 = 0.120^

n = 1400

SlideSlide 18Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2

n2 = 1400x2 = 147p2 = x2 = 147 = 0.105

1400

^

Confidence Interval Estimate of p

1 - p

2

n1 n2

p1

q1

p2 q

2+^ ^^ ^

where E = zαααα////2222

( p1

– p2 ) – E < ( p

1 – p

2) < ( p

1 – p

2 ) + E^ ^ ^^̂

SlideSlide 19Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Example: For the sample data listed in the previous Table, find a 90% confidence interval estimate of t he difference between the two population proportions.

+p

1q

1p

2 q

2^ ^^ ^

E = zn1= 200

x1 = 24

p1 = x1 = 24 = 0.120n1 200

^

n2 = 1400

n1 n2+E = zαααα////2222

E = 1.645200 1400

(.12)(.88)+(0.105)(0.895)

E = 0.040

SlideSlide 20Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2 = 1400

x2 = 147

p2 = x2 = 147 = 0.105n2 1400

^

Why Do the Procedures of This Section Work?

The text contains a detailed explanation of how and why the test statistic given for hypothesis tests is justified. Be sure to study it carefully.

SlideSlide 22Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Recap

In this section we have discussed:

� Requirements for inferences about two proportions.

� Notation.

� Pooled sample proportion.

SlideSlide 23Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

� Hypothesis tests.

Section 9 -3 Inferences About Two Means: Independent Means: Independent

Samples

SlideSlide 24Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Created by Erin Hodgess, Houston, TexasRevised to accompany 10th Edition, Tom Wegleitner, Centreville, VA

Key Concept

This section presents methods for using This section presents methods for using sample data from two independent samples to test hypotheses made about two population means or to construct confidence interval estimates of the difference between two population means.

SlideSlide 25Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Part 1: Independent Samples with Part 1: Independent Samples with σ1 and σ2 Unknown and Not

Assumed Equal

SlideSlide 26Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Definitions

Two samples are independent if the sample values selected from one population are not related to or somehow paired or not related to or somehow paired or matched with the sample values selected from the other population.

Two samples are dependent (or consist of matched pairs ) if the members of one

SlideSlide 27Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

matched pairs ) if the members of one sample can be used to determine the members of the other sample.

Requirements

1. σ1 an σ2 are unknown and no assumption is made about the equality of σ1 and σ2 . 1 2

2. The two samples are independent .

3. Both samples are simple random samples .

4. Either or both of these conditions are satisfied: The two sample sizes are both

SlideSlide 28Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

satisfied: The two sample sizes are both large (with n1 > 30 and n2 > 30) or both samples come from populations having normal distributions.

Hypothesis Test for Two Means: Independent Samples

(x1 – x2) – (µ1 – µ2)t =

n1 n2+

s1. s2

22

SlideSlide 29Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Hypothesis Test - cont

Test Statistic for Two Means: Independent Samples

Degrees of freedom: In this book we use this simple and conservative estimate: df = smaller of n1 – 1 and n2 – 1.

P-values: Refer to Table A -3. Use the procedure summarized in

SlideSlide 30Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

procedure summarized in Figure 8-6.

Critical values: Refer to Table A -3.

McGwire Versus Bonds

Sample statistics are shown for the distances of th e home runs hit in record-setting seasons by Mark McGwire and Barry Bonds. Use a 0.05 significance McGwire and Barry Bonds. Use a 0.05 significance level to test the claim that the distances come fro m populations with different means.

McGwire Bonds

n 70 73

SlideSlide 31Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

x 418.5 403.7

s 45.5 30.6

McGwire Versus Bonds - cont

Below is a Statdisk plot of the data

SlideSlide 32Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Claim: µµµµ1 ≠≠≠≠ µµµµ2

Ho : µµµµ1 = µµµµ2

McGwire Versus Bonds - cont

Ho : µµµµ1 = µµµµ2

H1 : µµµµ1 ≠≠≠≠ µµµµ2

αααα = 0.05

n1 – 1 = 69n – 1 = 72

SlideSlide 33Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n2 – 1 = 72df = 69t.025 = 1.994

Test Statistic for Two Means:

McGwire Versus Bonds - cont

(x1 – x2) – (µ1 – µ2)t =

n1 n2+

s1 s222

SlideSlide 34Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Test Statistic for Two Means:

McGwire Versus Bonds - cont

(418.5 – 403.7) – 0t =

70+45.52 30.62

73

SlideSlide 35Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

= 2.273

McGwire Versus Bonds - contClaim: µµµµ1 ≠≠≠≠ µµµµ2

Ho : µµµµ1 = µµµµ2

H : µµµµ ≠≠≠≠ µµµµH1 : µµµµ1 ≠≠≠≠ µµµµ2

αααα = 0.05

SlideSlide 36Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

McGwire Versus Bonds - contClaim: µµµµ1 ≠≠≠≠ µµµµ2

Ho : µµµµ1 = µµµµ2

H : µµµµ ≠≠≠≠ µµµµ

There is significant evidence to support the claim that there is a difference between the mean home run distances of Mark McGwire and Barry Bonds.H1 : µµµµ1 ≠≠≠≠ µµµµ2

αααα = 0.05

and Barry Bonds.

Reject the

SlideSlide 37Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Reject the Null

Hypothesis

Confidence Intervals

(x – x ) – E < (µ – µ ) < (x – x ) + E(x1 – x2) – E < (µ1 – µ2) < (x1 – x2) + E

+n1 n2

s1 s2where E = zα/α/α/α/2222

22

SlideSlide 38Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Using the data given in the preceding example, construct a 95% confidence interval estimate of the

McGwire Versus BondsConfidence Interval Method

construct a 95% confidence interval estimate of the difference between the mean home run distances of Mark McGwire and Barry Bonds.

n1 n2+

s1 s2E = tα/α/α/α/222222

SlideSlide 39Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n1 n2

E = 1.99470 73

+45.5 30.622

E = 13.0

Using the data given in the preceding example, construct a 95% confidence interval estimate of the

McGwire Versus BondsConfidence Interval Method - cont

construct a 95% confidence interval estimate of the difference between the mean home run distances of Mark McGwire and Barry Bonds.

(418.5 – 403.7) – 13.0 < (µµµµ1 – µµµµ2) < (418.5 – 403.7) + 13.01.8 < (µµµµ1 – µµµµ2) < 27.8

SlideSlide 40Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

We are 95% confident that the limits of 1.8 ft and 27.8 ft actually do contain the difference between the two population means.

Part 2: Alternative Methods

SlideSlide 41Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Independent Samples with σ and Independent Samples with σ1 and σ2 Known.

SlideSlide 42Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Requirements

1. The two population standard deviations are both known.

2. The two samples are independent .

3. Both samples are simple random samples .

4. Either or both of these conditions are satisfied: The two sample sizes are both

SlideSlide 43Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

satisfied: The two sample sizes are both large (with n1 > 30 and n2 > 30) or both samples come from populations having normal distributions.

Hypothesis Test for Two Means: Independent Samples with σ1

and σ2 Both Known

(x1 – x2) – (µ1 – µ2)z =

n1 n2+

σ1 σ222

SlideSlide 44Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

P-values and critical values : Refer to Table A -2.

Confidence Interval: Independent Samples with σ1 and σ2 Both

Known

(x1 – x2) – E < (µ1 – µ2) < (x1 – x2) + E

+σ1 σ2where E = z

22

SlideSlide 45Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

+n1 n2

σ1 σ2where E = zα/α/α/α/2222

Methods for Inferences About Two Independent Means

SlideSlide 46Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Figure 9-3

Assume that σ = σ and Pool the Assume that σ1 = σ2 and Pool the Sample Variances.

SlideSlide 47Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Requirements

1. The two population standard deviations are not known, but they are assumed to be equal. That is σ1 = σ2.equal. That is σ1 = σ2.

2. The two samples are independent .

3. Both samples are simple random samples .

4. Either or both of these conditions are

SlideSlide 48Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

4. Either or both of these conditions are satisfied: The two sample sizes are both large (with n1 > 30 and n2 > 30) or both samples come from populations having normal distributions.

Hypothesis Test Statistic for Two Means: Independent Samples and

σ1 = σ2

= (n – 1) + (n -1)

(x1 – x2) – (µ1 – µ2)t =

n1 n2+

spsp

22

s .2

Where

s2 s2

SlideSlide 49Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

= (n1 – 1) + (n2 -1)sp.2 s1

2 s22

(n1 – 1) + (n2 – 1)

and the number of degrees of freedom is df = n 1 + n2 - 2

Confidence Interval Estimate of µ1 – µ2: Independent Samples

with σ1 = σ2

(x1 – x2) – E < (µ1 – µ2) < (x1 – x2) + E

+n nsp spwhere E = tαααα////

22

SlideSlide 50Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

+n1 n2

sp pwhere E = tαααα////2222

and number of degrees of freedom is df = n1 + n2 - 2

Strategy

Unless instructed otherwise, use the following strategy:following strategy:

Assume that σ1 and σ2 are unknown, do notassume that σ1 = σ2, and use the test statistic and confidence interval given in Part 1 of this section. (See Figure 9 -3.)

SlideSlide 51Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Recap

In this section we have discussed:

� Independent samples with the standard � Independent samples with the standard deviations unknown and not assumed equal.

� Alternative method where standard deviations are known

� Alternative method where standard

SlideSlide 52Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

� Alternative method where standard deviations are assumed equal and sample variances are pooled.

Section 9 -4 Inferences from Matched

PairsPairs

SlideSlide 53Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Created by Erin Hodgess, Houston, TexasRevised to accompany 10th Edition, Tom Wegleitner, Centreville, VA

Key Concept

In this section we develop methods for testing claims about the mean difference of matched pairs. matched pairs.

For each matched pair of sample values, we find the difference between the two values, then we use those sample differences to test claims about the population difference or to

SlideSlide 54Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

claims about the population difference or to construct confidence interval estimates of the population difference.

Requirements

1. The sample data consist of matched pairs.

2. The samples are simple random samples. 2. The samples are simple random samples.

3. Either or both of these conditions is satisfied: The number of matched pairs of sample data is large ( n > 30) or the pairs of values have differences that are

SlideSlide 55Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

pairs of values have differences that are from a population having a distribution that is approximately normal.

Notation for Matched Pairsd = individual difference between the two

values of a single matched pair

µd = mean value of the differences d for the

d = mean value of the differences d for the paired sample data (equal to the mean of the x – y values)

µd = mean value of the differences d for the population of paired data

SlideSlide 56Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n = number of pairs of data.

x – y

sd = standard deviation of the differences dfor the paired sample data

Hypothesis Test Statistic for Matched Pairs

t =d – µd

sd

n

SlideSlide 57Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

where degrees of freedom = n – 1

P-values and Critical Values

Use Table A -3 (t-distribution).

SlideSlide 58Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Confidence Intervals for Matched Pairs

d – E < µ < d + E

where E = tαααα/2sdn

d – E < µd < d + E

Critical values of t : Use Table A -3 with

SlideSlide 59Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Critical values of tα/2 : Use Table A -3 with n – 1 degrees of freedom.

Are Forecast Temperatures Accurate?

The following Table consists of five actual low temperatures and the corresponding low temperatures and the corresponding low temperatures that were predicted five days earlier. The data consist of matched pairs, because each pair of values represents the same day. Use a 0.05 significance level to test the claim that there is a difference between the actual low temperatures and the low

SlideSlide 60Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

actual low temperatures and the low temperatures that were forecast five days earlier.

Are Forecast Temperatures Accurate? - cont

SlideSlide 61Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

d = –13.2

Are Forecast Temperatures Accurate? - cont

d = –13.2s = 10.7n = 5tαααα/2 = 2.776 (found from Table A -3 with 4

degrees of freedom and 0.05 in two tails)

SlideSlide 62Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

degrees of freedom and 0.05 in two tails)

H0: µµµµd = 0

Are Forecast Temperatures Accurate? - cont

H0: µµµµd = 0H1: µµµµd ≠≠≠≠ 0

t =d – µd

n

sd

= –13.2 – 0 = –2.75910.75

SlideSlide 63Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

H0: µµµµd = 0

Are Forecast Temperatures Accurate? - cont

H0: µµµµd = 0H1: µµµµd ≠≠≠≠ 0

t =d – µd

n

sd

= –13.2 – 0 = –2.75910.75

SlideSlide 64Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Because the test statistic does not fall in the critical region, we fail to reject the null hypothesis.

H0: µµµµd = 0

Are Forecast Temperatures Accurate? - cont

H0: µµµµd = 0H1: µµµµd ≠≠≠≠ 0

t =d – µd

n

sd

= –13.2 – 0 = –2.75910.75

SlideSlide 65Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

The sample data in the previous Table do not provide sufficient evidence to support the claim that actual and five -day forecast low temperatures are different.

Are Forecast Temperatures Accurate? - cont

SlideSlide 66Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Using the same sample matched pairs

Are Forecast Temperatures Accurate? - cont

Using the same sample matched pairs in the previous Table, construct a 95% confidence interval estimate of µµµµd , which is the mean of the differences between actual low temperatures and

SlideSlide 67Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

five -day forecasts.

s

Are Forecast Temperatures Accurate? - cont

E = tαααα/2sdn

E = (2.776)( )10.7

5

SlideSlide 68Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

= 13.3

Are Forecast Temperatures Accurate? - cont

d – E < µµµµd < d + E–13.2 – 13.3 < µµµµd < –13.2 + 13.3

–26.5 < µµµµd < 0.1

SlideSlide 69Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

In the long run, 95% of such

Are Forecast Temperatures Accurate? - cont

In the long run, 95% of such samples will lead to confidence intervals that actually do contain the true population mean of the differences.

SlideSlide 70Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

differences.

Recap

In this section we have discussed:

� Requirements for inferences from matched pairs.

� Notation.

� Hypothesis test.

SlideSlide 71Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

� Hypothesis test.

� Confidence intervals.

Section 9 -5 Comparing Variation in

Two SamplesTwo Samples

SlideSlide 72Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Created by Erin Hodgess, Houston, TexasRevised to accompany 10th Edition, Tom Wegleitner, Centreville, VA

Key Concept

This section presents the F test for using two samples to compare two population variances samples to compare two population variances (or standard deviations). We introduce the Fdistribution that is used for the F test.

Note that the F test is very sensitive to departures from normal distributions.

SlideSlide 73Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Measures of Variation

s = standard deviation of samples = standard deviation of sample

σσσσ = standard deviation of population

s2 = variance of sample

σσσσ2 = variance of population

SlideSlide 74Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

σσσσ2 = variance of population

Requirements

1. The two populations are 1. The two populations are independent of each other.

2. The two populations are each normally distributed.

SlideSlide 75Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

s1 = larger of the two sample variances2

Notation for Hypothesis Tests with Two Variances or Standard Deviations

n1 = size of the sample with the largervariance

σσσσ1 = variance of the population from which the sample with the larger

2

SlideSlide 76Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

which the sample with the largervariance was drawn

The symbols s2 , n2 , and σσσσ2 are used for the other sample and population.

2 2

s1F =2

Test Statistic for Hypothesis Tests with Two Variances

Where s12 is the larger of the two

Critical Values: Using Table A -5, we obtain critical F values that are determined by the following three values:

s1F = s22

Where s1 is the larger of the two sample variances

SlideSlide 77Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

following three values:

1. The significance level αααα2. Numerator degrees of freedom = n1 – 13. Denominator degrees of freedom = n2 – 1

� The F distribution is not symmetric.

Properties of the F Distribution

� Values of the F distribution cannot be negative.

� The exact shape of the F distribution depends on two different degrees of

SlideSlide 78Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

depends on two different degrees of freedom.

If the two populations have radically

Properties of the F Distribution - cont

If the two populations have radically different variances , then F will be a large number.

Remember, the larger sample variance will be s1 .2

SlideSlide 80Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Consequently, a value of F near 1

Conclusions from the FDistribution

Consequently, a value of F near 1 will be evidence in favor of the conclusion that σσσσ1 = σσσσ2 .2 2

But a large value of F will be evidence against the conclusion

SlideSlide 81Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

evidence against the conclusion of equality of the population variances.

Data Set 12 in Appendix B includes the weights (in pounds) of samples of regular Coke and regular Pepsi. Sample statistics are shown. Use the 0.05

Coke Versus Pepsi

Pepsi. Sample statistics are shown. Use the 0.05 significance level to test the claim that the weigh ts of regular Coke and the weights of regular Pepsi have the same standard deviation.

Regular Coke Regular Pepsi

n 36 36

SlideSlide 82Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

n 36 36

x 0.81682 0.82410

s 0.007507 0.005701

Claim: σσσσ1 = σσσσ2

Ho : σσσσ1 = σσσσ2

Coke Versus Pepsi2 2

2 2Ho : σσσσ1 = σσσσ2

H1 : σσσσ1 ≠≠≠≠ σσσσ2

αααα = 0.05

2 2

Value of F = s1

2

SlideSlide 83Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

Value of F = s2

2

0.005701 20.007507 2=

= 1.7339

Claim: σσσσ1 = σσσσ2

Ho : σσσσ1 = σσσσ2

Coke Versus Pepsi2 2

2 2Ho :

o

σσ

s

s

Recap

In this section we have discussed:

� Requirements for comparing variation in � Requirements for comparing variation in two samples

� Notation.

� Hypothesis test.

� Confidence intervals.

SlideSlide 85Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.

� Confidence intervals.

� F test and distribution.