SlideShare une entreprise Scribd logo
1  sur  28
11- 1

                    Chapter Eleven
                    Two Sample Tests of Hypothesis
GOALS
When you have completed this chapter, you will be able to:

 ONE
 Understand the difference between dependent and independent samples.

TWO
Conduct a test of hypothesis about the difference between two independent
population means when both samples have 30 or more observations.

THREE
Conduct a test of hypothesis about the difference between two independent
population means when at least one sample has less than 30 observations.



McGraw-Hill/Irwin                           Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 2

                    Chapter Eleven             continued
            Two Sample Tests of Hypothesis
GOALS
When you have completed this chapter, you will be able to:


FOUR
Conduct a test of hypothesis about the mean difference between paired or
dependent observations.



FIVE
Conduct a test of hypothesis regarding the difference in two population
proportions.




McGraw-Hill/Irwin                               Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 3


         Comparing two populations
    We     wish to know whether the distribution
       of the differences in sample means has a
       mean of 0.

    If  both samples contain at least 30
       observations we use the z distribution as
       the test statistic.



McGraw-Hill/Irwin               Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 4


         Comparing two populations
 No assumptions about the shape of the
  populations are required.
 The samples are from independent populations.

 The formula for computing the value of z is:

                         X1 − X 2
                    z=
                          2   2
                         s1 s 2
                            +
                         n1 n2



McGraw-Hill/Irwin                   Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 5


         EXAMPLE 1

     Two cities, Bradford and Kane are separated only by the
     Conewango River. There is competition between the two
     cities. The local paper recently reported that the mean
     household income in Bradford is $38,000 with a standard
     deviation of $6,000 for a sample of 40 households. The same
     article reported the mean income in Kane is $35,000 with a
     standard deviation of $7,000 for a sample of 35 households.
     At the .01 significance level can we conclude the mean
     income in Bradford is more?




McGraw-Hill/Irwin                     Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 6


         EXAMPLE 1             continued

  Step      1: State the null and alternate hypotheses.
               H0: µB µK ; H1: µB > µK
Step  2: State the level of significance. The .01
significance level is stated in the problem.
Step 3: Find the appropriate test statistic. Because both

samples are more than 30, we can use z as the test statistic.




McGraw-Hill/Irwin                          Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 7


         Example 1 continued
  Step      4: State the decision rule.
               The null hypothesis is rejected if z is greater than
                2.33.

Step       5: Compute the value of z and make a decision.


                           $38,000 − $35,000
                     z=                                     = 1.98
                          ($6,000) 2 ($7,000) 2
                                    +
                              40         35

McGraw-Hill/Irwin                       Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 8


         Example 1 continued
       The decision is to not reject the null hypothesis.
       We cannot conclude that the mean household
       income in Bradford is larger.



       The p-value is:

                P(z > 1.98) = .5000 - .4761 = .0239



McGraw-Hill/Irwin                      Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 9


         Small Sample Tests of Means
         The t distribution is used as the test statistic if one
          or more of the samples have less than 30
          observations.
    The  required assumptions are:
          1.     Both populations must follow the
    normal distribution.
          2.     The populations must have equal
    standard deviations.
          3.     The samples are from independent
    populations.

McGraw-Hill/Irwin                       Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 10


         Small sample test of means continued
  Finding     the value of the test statistic requires two steps.
    1.      Pool the sample standard deviations.
                                     2              2
                           (n1 − 1) s1 + (n2 − 1) s 2
                      s2 =
                       p
                                 n1 + n2 − 2

  Determine the value of t from the following formula.



                                   X1 − X 2
                           t=
                                  2  1  1 
                                 sp
                                       +  
                                     n1 n2 
McGraw-Hill/Irwin                             Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 11


         EXAMPLE 2
       A recent EPA study compared the highway fuel
       economy of domestic and imported passenger
       cars. A sample of 15 domestic cars revealed a
       mean of 33.7 mpg with a standard deviation of
       2.4 mpg. A sample of 12 imported cars
       revealed a mean of 35.7 mpg with a standard
       deviation of 3.9. At the .05 significance level
       can the EPA conclude that the mpg is higher on
       the imported cars?



McGraw-Hill/Irwin                  Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 12


         Example 2       continued


Step         1: State the null and alternate hypotheses.
               H0: µD µI ; H1: µD < µI
  Step  2: State the level of significance.The .05
  significance level is stated in the problem.
  Step 3: Find the appropriate test statistic. Both

  samples are less than 30, so we use the t
  distribution.


McGraw-Hill/Irwin                    Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 13


         EXAMPLE 2                       continued



  Step 4: The decision rule is to reject H0 if t<-1.708.
                    There are 25 degrees of freedom.


    Step 5: We compute the pooled variance:
                                2                  2
                     (n1 − 1)( s1 ) + (n 2 − 1)( s 2 )
                s2 =
                 p
                             n1 + n 2 − 2
                      (15 − 1)(2.4) 2 + (12 − 1)(3.9) 2
                    =                                   = 9.918
                                15 + 12 − 2

McGraw-Hill/Irwin                                    Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 14


         Example 2 continued
    We compute the value of t as follows.
                           X 1 −X 2
                    t =
                             1     1 
                          s2 
                           p     +    
                              n1   n2 
                                       
                           33.7 −35.7
                     =                     =− .640
                                             1
                               1   1 
                          8.312  +   
                               15 12 


    H0 is not rejected. There is insufficient sample evidence
    to claim a higher mpg on the imported cars.



McGraw-Hill/Irwin                           Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
Hypothesis Testing Involving Paired
                                                                                         11- 15



         Observations
  Independent    samples are samples that are not
    related in any way.
Dependent     samples are samples that are paired or
related in some fashion. For example:
    If you wished to buy a car you would look at the

    same car at two (or more) different dealerships and
    compare the prices.
    If you wished to measure the effectiveness of a new

    diet you would weigh the dieters at the start and at the
    finish of the program.
McGraw-Hill/Irwin                  Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
Hypothesis Testing Involving Paired
                                                                                        11- 16



         Observations
 Use the following test when the samples are dependent:
                          d
                    t=
                       sd / n
  where   d is the mean of the differences
  s is the standard deviation of the differences
    d
  n is the number of pairs (differences)




McGraw-Hill/Irwin                 Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 17


         EXAMPLE 3
  An   independent testing agency is comparing the daily
    rental cost for renting a compact car from Hertz and
    Avis. A random sample of eight cities revealed the
    following information. At the .05 significance level
    can the testing agency conclude that there is a
    difference in the rental charged?




McGraw-Hill/Irwin                 Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 18


         EXAMPLE 3    continued



        City        Hertz ($)                         Avis ($)
      Atlanta         42                                40
      Chicago         56                                52
     Cleveland        45                                43
      Denver          48                                48
     Honolulu         37                                32
    Kansas City       45                                48
          Miami        41                                     39
          Seattle      46                                     50


McGraw-Hill/Irwin                 Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 19


         EXAMPLE 3             continued


 Step        1: H0 : µd = 0       H1: µd ≠ 0


Step 2: H0 is rejected if t < -2.365 or t > 2.365.
 We use the t distribution with 7 degrees of
freedom.




McGraw-Hill/Irwin                          Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 20


         Example 3 continued
 City               Hertz   Avis   d    d2
 Atlanta            42      40     2    4
 Chicago            56      52     4    16
 Cleveland          45      43     2    4
 Denver             48      48     0    0
 Honolulu           37      32     5    25
 Kansas City        45      48     -3   9
 Miami              41      39     2    4
 Seattle            46      50     -4   16




McGraw-Hill/Irwin                        Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 21


         Example 3 continued
                          Σd 8.0
                       d=    =   = 1.00
                           n   8


                           Σd 2 −
                                  ( Σd ) 2     78 −
                                                    82
                    sd =                n    =       8 = 3.1623
                                n −1            8−1


                                d              1.00
                     t=                 =                      = 0.894
                           sd       n        3.1623       8




McGraw-Hill/Irwin                                  Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 22


         Example 3 continued
 Step   3: Because 0.894 is less than the critical
    value, do not reject the null hypothesis. There is
    no difference in the mean amount charged by
    Hertz and Avis.




McGraw-Hill/Irwin              Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 23


         Two Sample Tests of Proportions
  We  investigate whether two samples came from
    populations with an equal proportion of successes.

  The      two samples are pooled using the following formula.
                             X1 + X 2
                        pc =
                             n1 + n2


    where X1 and X2 refer to the number of successes in the
    respective samples of n1 and n2.

McGraw-Hill/Irwin                       Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 24


         Two Sample Tests of Proportions continued
 The    value of the test statistic is computed from
    the following formula.

                                p1 − p 2
                    z=
                         pc (1 − pc ) pc (1 − pc )
                                     +
                              n1          n2




McGraw-Hill/Irwin                          Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 25


         Example 4
 Are    unmarried workers more likely to be absent
    from work than married workers? A sample of
    250 married workers showed 22 missed more
    than 5 days last year, while a sample of 300
    unmarried workers showed 35 missed more than
    five days. Use a .05 significance level.




McGraw-Hill/Irwin             Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 26


         Example 4       continued


 The        null and the alternate hypothesis are:

     H0: : U U      M          H1: : U > >M


  The null hypothesis is rejected if the computed
  value of z is greater than 1.65.




McGraw-Hill/Irwin                     Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 27


         Example 4 continued
 The        pooled proportion is
                                    35 + 22
                              pc =
                                   300 + 250


     The value of the teat statistic is
                                     35   22
                                        −
                    z=              300 250              = 1.10
                         .1036(1 −.1036) .1036(1 −.1036)
                                        +
                               300             250




McGraw-Hill/Irwin                            Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
11- 28


         Example 4 continued
 The   null hypothesis is not rejected. We cannot
    conclude that a higher proportion of unmarried
    workers miss more days in a year than the
    married workers.

The        p-value is:

                    P(z > 1.10) = .5000 - .3643 = .1457


McGraw-Hill/Irwin                    Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.

Contenu connexe

Tendances

Measures of central tendency mean
Measures of central tendency  meanMeasures of central tendency  mean
Measures of central tendency meansuncil0071
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersionsCapricorn
 
Topic 4 Measures of Dispersion & Numericals.pptx
Topic 4  Measures of Dispersion & Numericals.pptxTopic 4  Measures of Dispersion & Numericals.pptx
Topic 4 Measures of Dispersion & Numericals.pptxCallplanetsDeveloper
 
One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using RSean Stovall
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVAParag Shah
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.sonia gupta
 
Anova lecture
Anova lectureAnova lecture
Anova lecturedoublem44
 
Business Statistics Chapter 8
Business Statistics Chapter 8Business Statistics Chapter 8
Business Statistics Chapter 8Lux PP
 
Two-sample Hypothesis Tests
Two-sample Hypothesis Tests Two-sample Hypothesis Tests
Two-sample Hypothesis Tests mgbardossy
 
Chapter 1 introduction to statistics.
Chapter 1 introduction to statistics.Chapter 1 introduction to statistics.
Chapter 1 introduction to statistics.OliviaNightingale2
 
Chapter 16
Chapter 16Chapter 16
Chapter 16bmcfad01
 
hypothesis test
 hypothesis test hypothesis test
hypothesis testUnsa Shakir
 

Tendances (20)

Statistics an introduction (1)
Statistics  an introduction (1)Statistics  an introduction (1)
Statistics an introduction (1)
 
Business statistics
Business statisticsBusiness statistics
Business statistics
 
Measures of central tendency mean
Measures of central tendency  meanMeasures of central tendency  mean
Measures of central tendency mean
 
Chapter 15
Chapter 15 Chapter 15
Chapter 15
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersions
 
Topic 4 Measures of Dispersion & Numericals.pptx
Topic 4  Measures of Dispersion & Numericals.pptxTopic 4  Measures of Dispersion & Numericals.pptx
Topic 4 Measures of Dispersion & Numericals.pptx
 
One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using R
 
Chapter 09
Chapter 09 Chapter 09
Chapter 09
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Chi square test
Chi square test Chi square test
Chi square test
 
Workshop on Data Analysis and Result Interpretation in Social Science Researc...
Workshop on Data Analysis and Result Interpretation in Social Science Researc...Workshop on Data Analysis and Result Interpretation in Social Science Researc...
Workshop on Data Analysis and Result Interpretation in Social Science Researc...
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Business Statistics Chapter 8
Business Statistics Chapter 8Business Statistics Chapter 8
Business Statistics Chapter 8
 
Two-sample Hypothesis Tests
Two-sample Hypothesis Tests Two-sample Hypothesis Tests
Two-sample Hypothesis Tests
 
Chapter 1 introduction to statistics.
Chapter 1 introduction to statistics.Chapter 1 introduction to statistics.
Chapter 1 introduction to statistics.
 
Chapter 16
Chapter 16Chapter 16
Chapter 16
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 

En vedette

MTH120_Chapter9
MTH120_Chapter9MTH120_Chapter9
MTH120_Chapter9Sida Say
 
A.6 confidence intervals
A.6  confidence intervalsA.6  confidence intervals
A.6 confidence intervalsUlster BOCES
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements DrZahid Khan
 
Chapter 3 Confidence Interval
Chapter 3 Confidence IntervalChapter 3 Confidence Interval
Chapter 3 Confidence Intervalghalan
 
Hypothesis testing examples on z test
Hypothesis testing examples on z testHypothesis testing examples on z test
Hypothesis testing examples on z testJags Jagdish
 

En vedette (7)

MTH120_Chapter9
MTH120_Chapter9MTH120_Chapter9
MTH120_Chapter9
 
A.6 confidence intervals
A.6  confidence intervalsA.6  confidence intervals
A.6 confidence intervals
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Chapter 3 Confidence Interval
Chapter 3 Confidence IntervalChapter 3 Confidence Interval
Chapter 3 Confidence Interval
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Hypothesis testing examples on z test
Hypothesis testing examples on z testHypothesis testing examples on z test
Hypothesis testing examples on z test
 

Similaire à MTH120_Chapter11

MTH120_Chapter6
MTH120_Chapter6MTH120_Chapter6
MTH120_Chapter6Sida Say
 
MTH120_Chapter2
MTH120_Chapter2MTH120_Chapter2
MTH120_Chapter2Sida Say
 
MTH120_Chapter3
MTH120_Chapter3MTH120_Chapter3
MTH120_Chapter3Sida Say
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaSelvin Hadi
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samplesshoffma5
 
Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)shafi khan
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
MTH120_Chapter1
MTH120_Chapter1MTH120_Chapter1
MTH120_Chapter1Sida Say
 
Housing Price Models
Housing Price ModelsHousing Price Models
Housing Price ModelsGaetan Lion
 
Lecture 15 - Hypothesis Testing (1).pdf
Lecture 15 - Hypothesis Testing (1).pdfLecture 15 - Hypothesis Testing (1).pdf
Lecture 15 - Hypothesis Testing (1).pdfRufaidahKassem1
 
chapter08 (1).ppt
chapter08 (1).pptchapter08 (1).ppt
chapter08 (1).pptDunakanshon
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxdaniahendric
 
MTH120_Chapter8
MTH120_Chapter8MTH120_Chapter8
MTH120_Chapter8Sida Say
 
Ch 10-Two populations.pptx
Ch 10-Two populations.pptxCh 10-Two populations.pptx
Ch 10-Two populations.pptxtharkistani
 

Similaire à MTH120_Chapter11 (20)

MTH120_Chapter6
MTH120_Chapter6MTH120_Chapter6
MTH120_Chapter6
 
MTH120_Chapter2
MTH120_Chapter2MTH120_Chapter2
MTH120_Chapter2
 
MTH120_Chapter3
MTH120_Chapter3MTH120_Chapter3
MTH120_Chapter3
 
Chap011.ppt
Chap011.pptChap011.ppt
Chap011.ppt
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anova
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
 
Biomath12
Biomath12Biomath12
Biomath12
 
Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Les5e ppt 08
Les5e ppt 08Les5e ppt 08
Les5e ppt 08
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
MTH120_Chapter1
MTH120_Chapter1MTH120_Chapter1
MTH120_Chapter1
 
t test for single mean
t test for single meant test for single mean
t test for single mean
 
Housing Price Models
Housing Price ModelsHousing Price Models
Housing Price Models
 
Lecture 15 - Hypothesis Testing (1).pdf
Lecture 15 - Hypothesis Testing (1).pdfLecture 15 - Hypothesis Testing (1).pdf
Lecture 15 - Hypothesis Testing (1).pdf
 
chapter08 (1).ppt
chapter08 (1).pptchapter08 (1).ppt
chapter08 (1).ppt
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
 
MTH120_Chapter8
MTH120_Chapter8MTH120_Chapter8
MTH120_Chapter8
 
117 chap8 slides
117 chap8 slides117 chap8 slides
117 chap8 slides
 
Ch 10-Two populations.pptx
Ch 10-Two populations.pptxCh 10-Two populations.pptx
Ch 10-Two populations.pptx
 

Dernier

MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 

Dernier (20)

MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 

MTH120_Chapter11

  • 1. 11- 1 Chapter Eleven Two Sample Tests of Hypothesis GOALS When you have completed this chapter, you will be able to: ONE Understand the difference between dependent and independent samples. TWO Conduct a test of hypothesis about the difference between two independent population means when both samples have 30 or more observations. THREE Conduct a test of hypothesis about the difference between two independent population means when at least one sample has less than 30 observations. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 2. 11- 2 Chapter Eleven continued Two Sample Tests of Hypothesis GOALS When you have completed this chapter, you will be able to: FOUR Conduct a test of hypothesis about the mean difference between paired or dependent observations. FIVE Conduct a test of hypothesis regarding the difference in two population proportions. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 3. 11- 3 Comparing two populations We wish to know whether the distribution of the differences in sample means has a mean of 0. If both samples contain at least 30 observations we use the z distribution as the test statistic. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 4. 11- 4 Comparing two populations No assumptions about the shape of the populations are required. The samples are from independent populations. The formula for computing the value of z is: X1 − X 2 z= 2 2 s1 s 2 + n1 n2 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 5. 11- 5 EXAMPLE 1 Two cities, Bradford and Kane are separated only by the Conewango River. There is competition between the two cities. The local paper recently reported that the mean household income in Bradford is $38,000 with a standard deviation of $6,000 for a sample of 40 households. The same article reported the mean income in Kane is $35,000 with a standard deviation of $7,000 for a sample of 35 households. At the .01 significance level can we conclude the mean income in Bradford is more? McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 6. 11- 6 EXAMPLE 1 continued  Step 1: State the null and alternate hypotheses. H0: µB µK ; H1: µB > µK Step 2: State the level of significance. The .01 significance level is stated in the problem. Step 3: Find the appropriate test statistic. Because both samples are more than 30, we can use z as the test statistic. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 7. 11- 7 Example 1 continued  Step 4: State the decision rule. The null hypothesis is rejected if z is greater than 2.33. Step 5: Compute the value of z and make a decision. $38,000 − $35,000 z= = 1.98 ($6,000) 2 ($7,000) 2 + 40 35 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 8. 11- 8 Example 1 continued The decision is to not reject the null hypothesis. We cannot conclude that the mean household income in Bradford is larger. The p-value is: P(z > 1.98) = .5000 - .4761 = .0239 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 9. 11- 9 Small Sample Tests of Means  The t distribution is used as the test statistic if one or more of the samples have less than 30 observations. The required assumptions are: 1. Both populations must follow the normal distribution. 2. The populations must have equal standard deviations. 3. The samples are from independent populations. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 10. 11- 10 Small sample test of means continued  Finding the value of the test statistic requires two steps. 1. Pool the sample standard deviations. 2 2 (n1 − 1) s1 + (n2 − 1) s 2 s2 = p n1 + n2 − 2 Determine the value of t from the following formula. X1 − X 2 t= 2 1 1  sp  +    n1 n2  McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 11. 11- 11 EXAMPLE 2 A recent EPA study compared the highway fuel economy of domestic and imported passenger cars. A sample of 15 domestic cars revealed a mean of 33.7 mpg with a standard deviation of 2.4 mpg. A sample of 12 imported cars revealed a mean of 35.7 mpg with a standard deviation of 3.9. At the .05 significance level can the EPA conclude that the mpg is higher on the imported cars? McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 12. 11- 12 Example 2 continued Step 1: State the null and alternate hypotheses. H0: µD µI ; H1: µD < µI Step 2: State the level of significance.The .05 significance level is stated in the problem. Step 3: Find the appropriate test statistic. Both samples are less than 30, so we use the t distribution. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 13. 11- 13 EXAMPLE 2 continued Step 4: The decision rule is to reject H0 if t<-1.708. There are 25 degrees of freedom. Step 5: We compute the pooled variance: 2 2 (n1 − 1)( s1 ) + (n 2 − 1)( s 2 ) s2 = p n1 + n 2 − 2 (15 − 1)(2.4) 2 + (12 − 1)(3.9) 2 = = 9.918 15 + 12 − 2 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 14. 11- 14 Example 2 continued We compute the value of t as follows. X 1 −X 2 t = 1 1  s2  p +   n1 n2   33.7 −35.7 = =− .640 1 1 1  8.312 +  15 12  H0 is not rejected. There is insufficient sample evidence to claim a higher mpg on the imported cars. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 15. Hypothesis Testing Involving Paired 11- 15 Observations  Independent samples are samples that are not related in any way. Dependent samples are samples that are paired or related in some fashion. For example: If you wished to buy a car you would look at the same car at two (or more) different dealerships and compare the prices. If you wished to measure the effectiveness of a new diet you would weigh the dieters at the start and at the finish of the program. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 16. Hypothesis Testing Involving Paired 11- 16 Observations Use the following test when the samples are dependent: d t= sd / n  where d is the mean of the differences  s is the standard deviation of the differences d  n is the number of pairs (differences) McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 17. 11- 17 EXAMPLE 3  An independent testing agency is comparing the daily rental cost for renting a compact car from Hertz and Avis. A random sample of eight cities revealed the following information. At the .05 significance level can the testing agency conclude that there is a difference in the rental charged? McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 18. 11- 18 EXAMPLE 3 continued City Hertz ($) Avis ($) Atlanta 42 40 Chicago 56 52 Cleveland 45 43 Denver 48 48 Honolulu 37 32 Kansas City 45 48 Miami 41 39 Seattle 46 50 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 19. 11- 19 EXAMPLE 3 continued Step 1: H0 : µd = 0 H1: µd ≠ 0 Step 2: H0 is rejected if t < -2.365 or t > 2.365. We use the t distribution with 7 degrees of freedom. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 20. 11- 20 Example 3 continued City Hertz Avis d d2 Atlanta 42 40 2 4 Chicago 56 52 4 16 Cleveland 45 43 2 4 Denver 48 48 0 0 Honolulu 37 32 5 25 Kansas City 45 48 -3 9 Miami 41 39 2 4 Seattle 46 50 -4 16 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 21. 11- 21 Example 3 continued Σd 8.0 d= = = 1.00 n 8 Σd 2 − ( Σd ) 2 78 − 82 sd = n = 8 = 3.1623 n −1 8−1 d 1.00 t= = = 0.894 sd n 3.1623 8 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 22. 11- 22 Example 3 continued Step 3: Because 0.894 is less than the critical value, do not reject the null hypothesis. There is no difference in the mean amount charged by Hertz and Avis. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 23. 11- 23 Two Sample Tests of Proportions  We investigate whether two samples came from populations with an equal proportion of successes.  The two samples are pooled using the following formula. X1 + X 2 pc = n1 + n2 where X1 and X2 refer to the number of successes in the respective samples of n1 and n2. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 24. 11- 24 Two Sample Tests of Proportions continued The value of the test statistic is computed from the following formula. p1 − p 2 z= pc (1 − pc ) pc (1 − pc ) + n1 n2 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 25. 11- 25 Example 4 Are unmarried workers more likely to be absent from work than married workers? A sample of 250 married workers showed 22 missed more than 5 days last year, while a sample of 300 unmarried workers showed 35 missed more than five days. Use a .05 significance level. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 26. 11- 26 Example 4 continued The null and the alternate hypothesis are: H0: : U U M H1: : U > >M The null hypothesis is rejected if the computed value of z is greater than 1.65. McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 27. 11- 27 Example 4 continued The pooled proportion is 35 + 22 pc = 300 + 250 The value of the teat statistic is 35 22 − z= 300 250 = 1.10 .1036(1 −.1036) .1036(1 −.1036) + 300 250 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 28. 11- 28 Example 4 continued The null hypothesis is not rejected. We cannot conclude that a higher proportion of unmarried workers miss more days in a year than the married workers. The p-value is: P(z > 1.10) = .5000 - .3643 = .1457 McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.