SlideShare a Scribd company logo
Section 13.1


                Comparing Two Means
Objectives:
1. Identify situations in which two-sample problems might arise.
2. Describe the three conditions necessary for doing inference
involving two population means.
3. Clarify the difference between the two-sample z statistic and the
two-sample t statistic.
4. Identify the two practical options for using two-sample t procedures
and how they differ in terms of computing the number of degrees of
freedom.
5. Conduct a two-sample significance test for the difference between
two independent means using the Inference Toolbox.
6. Compare the robustness of two-sample procedures with that of
one-sample procedures. Discuss the role of equal sample size.
7. Explain what is meant by "pooled two-sample t procedures," when
pooling can be justfied, and why it is advisable not to pool.
Inference for Two Independent Samples




                        Pop    Pop    Sample   Sample
Population   Variable   Mean   S.D.   Mean     S.D.
    1          X1         µ1   σ1      x1       s1
    2          X2         µ2   σ2      x2       s2



 You should use more descriptive subscripts than "1"
 and "2" when doing an actual problem.
Inference for Two Independent Samples

Conditions:

    1)   SRS from both populations

    2)   Both sampling distributions are normally
         distributed.

    3)   Sample size is less than 1/10 population
         size.

    4)   σ from at least one population is unknown.
Inference for Two Independent Samples

We will be doing inference primarily about the difference
between two means.

So, for a confidence interval, we will look at µ1 – µ2.

For a hypothesis test, our null hypothesis will typically be:

        H0: µ1 = µ2        or             H0: µ1 – µ2 = 0
Inference for Two Independent Samples

A statistics student designed an experiment to test the life of brand
name and generic batteries. He used 6 pairs of AA batteries from
each of a brand name and generic battery manufacturer.

He kept a battery powered CD player running with the same CD set
on the same volume until no more music was heard.

Identify each of the following:

    Factor

    Level

    Response variable


To account for changes in CD player performance over time, he
randomized the order of the batteries.
Inference for Two Independent Samples

Here is the data:

Brand Name Generic
   194.0     190.7
   205.5     203.5
   199.2     203.5
   172.4     206.5
   184.0     222.5
   169.5     209.4

What should we do first?
Inference for Two Independent Samples

Always look at the data before performing any
inference procedure!!

When working with two samples, it is frequently
a good idea to do some kind of comparative plot
(back to back stem-and-leaf plots, or side-by-
side boxplots.)
Inference for Two Independent Samples

Why is this situation independent samples and
not matched pairs?
Inference for Two Independent Samples

Perform the hypothesis test, using the
inference toolbox.
Inference for Two Independent Samples

Wait a minute! What do we use for a test
statistic?

Recall that the general form for any test statistic
is:
Inference for Two Independent Samples

So, our test statistic will have the form:
Inference for Two Independent Samples

Terminology Note:

Standard Deviation of the Sample Means:




Standard Error of the Sample Means:
Inference for Two Independent Samples

Technical Detail: Technically, the two sample test
statistic does not follow the t-distribution, but it's
close enough for our purposes. (You don't need to
comment on this.)
Inference for Two Independent Samples

    Because the computation for the two-sample test
    (and confidence interval) is so complicated, we use
    the calculator to do the calculations.


                   Just say no to pooling!




The calculator uses a very complicated formula to find the degrees
of freedom. You don't need to write down this formula!
Inference for Two Independent Samples

The book presents a more conservative method to
compute the degrees of freedom. You don't need to
worry about how to do this! Just use the calculator.
Inference for Two Independent Samples

      We can also use the calculator to compute a two-
      sample confidence interval.

                                          Degrees of freedom




                                              Confidence
Don't pool here                               Interval
either.
Inference for Two Independent Samples
Let's try another example.
An educator believes that new reading activities for elementary school
children will improve reading comprehension scores. She randomly assigns
third graders to an eight-week program in which some will use these activities
and others will experience traditional teaching methods. At the end of the
experiment, both groups take a reading comprehension exam. Their scores
are shown in the back-to-back stem-and-leaf display. Do these results
suggest that the new activities are better? Test an appropriate hypothesis
and state your conclusion.
Inference for Two Independent Samples
Inference for Two Independent Samples

two samples     difference in means   two means



matched pairs   mean difference       one mean
Inference for Two Independent Samples
American League baseball teams play their games with the designated hitter
rule, meaning that pitchers do not bat. The league believes that replacing the
pitcher, traditionally a weak hitter, with another player in the batting order
produces more runs and generates more interest among fans. Below are the
average numbers of runs scored in American League and National League
stadiums for the first half of the 2001 season.
Inference for Two Independent Samples

More Related Content

PPTX
Stats chapter 13
DOCX
Spss paired samples t test Reporting
PPT
Independent sample t test
PDF
Quality Engineering material
PPTX
Chapter 4 estimation of parameters
DOCX
Chapter 9
PPT
Student t t est
PPTX
Two Means, Two Dependent Samples, Matched Pairs
Stats chapter 13
Spss paired samples t test Reporting
Independent sample t test
Quality Engineering material
Chapter 4 estimation of parameters
Chapter 9
Student t t est
Two Means, Two Dependent Samples, Matched Pairs

What's hot (20)

PDF
Practice Test 4A Hypothesis Testing Solution
PPTX
Contingency Tables
PDF
Population and sample mean
PDF
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
PPT
Chapter 7 – Confidence Intervals And Sample Size
PPT
hypothesis test
PPTX
Basic of Statistical Inference Part-III: The Theory of Estimation from Dexlab...
PPTX
Hypothesis testing
PPTX
Estimating a Population Proportion
PDF
Thesigntest
PPTX
PPTX
Estimating a Population Standard Deviation or Variance
PPTX
Goodness of Fit Notation
PPTX
Basics of Hypothesis Testing
PPT
PPTX
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
DOCX
Unit 4 Tests of Significance
PDF
Practice test 4A Hypothesis testing
Practice Test 4A Hypothesis Testing Solution
Contingency Tables
Population and sample mean
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Chapter 7 – Confidence Intervals And Sample Size
hypothesis test
Basic of Statistical Inference Part-III: The Theory of Estimation from Dexlab...
Hypothesis testing
Estimating a Population Proportion
Thesigntest
Estimating a Population Standard Deviation or Variance
Goodness of Fit Notation
Basics of Hypothesis Testing
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Unit 4 Tests of Significance
Practice test 4A Hypothesis testing
Ad

Similar to AP Stats Procedures for Two Independent Samples (20)

DOCX
Analysis of variance for experimentsANOVA.docx
PPT
Chap011.ppt
PDF
Quality Engineering material
PPT
Statistical Power And Sample Size Calculations .ppt
PPT
Chapter 11
PPTX
hypothesis testing.pptx
PPTX
Principles of design of experiments (doe)20 5-2014
DOCX
TitleABC123 Version X1Time to Practice – Week Four .docx
PPTX
3.1 Inference about Two Population Mean_Summer 2025.pptx
DOCX
TEST #1Perform the following two-tailed hypothesis test, using a.docx
PPTX
DOCX
Module 05 – Hypothesis Tests Using Two SamplesClass Objectives
PPTX
Significance of significance testing
DOCX
Social Science Statistics STA2122.501 ● ONLINE Project 3
DOCX
U3 IP.savMKTG420_U3IP.docUnit 3 Individual Project .docx
PPTX
To Explain Or To Predict?
DOC
Regression Analysis of NBA Points Final
PPTX
SPTC-0502-Q3-FPtkhdhkdyidyidiykyryiriyrF.pptx
DOCX
Social Science Statistics STA2122.501 ● ONLINE Project 3.docx
Analysis of variance for experimentsANOVA.docx
Chap011.ppt
Quality Engineering material
Statistical Power And Sample Size Calculations .ppt
Chapter 11
hypothesis testing.pptx
Principles of design of experiments (doe)20 5-2014
TitleABC123 Version X1Time to Practice – Week Four .docx
3.1 Inference about Two Population Mean_Summer 2025.pptx
TEST #1Perform the following two-tailed hypothesis test, using a.docx
Module 05 – Hypothesis Tests Using Two SamplesClass Objectives
Significance of significance testing
Social Science Statistics STA2122.501 ● ONLINE Project 3
U3 IP.savMKTG420_U3IP.docUnit 3 Individual Project .docx
To Explain Or To Predict?
Regression Analysis of NBA Points Final
SPTC-0502-Q3-FPtkhdhkdyidyidiykyryiriyrF.pptx
Social Science Statistics STA2122.501 ● ONLINE Project 3.docx
Ad

More from June Patton (20)

PDF
Section 8 2 Notes
PDF
HPC Section 12.7
PDF
HPC Sections 12.5 and 12.6
PDF
HPC Section 12.4
PDF
HPC Section 12.3(4)
PDF
HPC Section 12.3(4)
PDF
HPC Section 12.3(3)
PDF
HPC Section 12.3(2)
PDF
HPC Section 12.3(1)
PDF
HPC Section 12.2
PDF
HPC Section 12.1
PDF
HPC Chapter 11 Review
PDF
HPC Section 11.4(2)
PDF
Section 11.4(2)
PDF
HPC Section 11.4(1)
PDF
HPC Section 11.3
PDF
HPC Section 11.2
PDF
HPC Section 11.1(5)
PDF
HPC Section 11.1(4)
PDF
HPC Section 11.1(4)
Section 8 2 Notes
HPC Section 12.7
HPC Sections 12.5 and 12.6
HPC Section 12.4
HPC Section 12.3(4)
HPC Section 12.3(4)
HPC Section 12.3(3)
HPC Section 12.3(2)
HPC Section 12.3(1)
HPC Section 12.2
HPC Section 12.1
HPC Chapter 11 Review
HPC Section 11.4(2)
Section 11.4(2)
HPC Section 11.4(1)
HPC Section 11.3
HPC Section 11.2
HPC Section 11.1(5)
HPC Section 11.1(4)
HPC Section 11.1(4)

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Supply Chain Operations Speaking Notes -ICLT Program
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Trump Administration's workforce development strategy
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Classroom Observation Tools for Teachers
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Supply Chain Operations Speaking Notes -ICLT Program
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Trump Administration's workforce development strategy
Final Presentation General Medicine 03-08-2024.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharmacology of Heart Failure /Pharmacotherapy of CHF
VCE English Exam - Section C Student Revision Booklet
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
RMMM.pdf make it easy to upload and study
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Yogi Goddess Pres Conference Studio Updates
O7-L3 Supply Chain Operations - ICLT Program
Cell Structure & Organelles in detailed.
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Module 4: Burden of Disease Tutorial Slides S2 2025
Classroom Observation Tools for Teachers

AP Stats Procedures for Two Independent Samples

  • 1. Section 13.1 Comparing Two Means Objectives: 1. Identify situations in which two-sample problems might arise. 2. Describe the three conditions necessary for doing inference involving two population means. 3. Clarify the difference between the two-sample z statistic and the two-sample t statistic. 4. Identify the two practical options for using two-sample t procedures and how they differ in terms of computing the number of degrees of freedom. 5. Conduct a two-sample significance test for the difference between two independent means using the Inference Toolbox. 6. Compare the robustness of two-sample procedures with that of one-sample procedures. Discuss the role of equal sample size. 7. Explain what is meant by "pooled two-sample t procedures," when pooling can be justfied, and why it is advisable not to pool.
  • 2. Inference for Two Independent Samples Pop Pop Sample Sample Population Variable Mean S.D. Mean S.D. 1 X1 µ1 σ1 x1 s1 2 X2 µ2 σ2 x2 s2 You should use more descriptive subscripts than "1" and "2" when doing an actual problem.
  • 3. Inference for Two Independent Samples Conditions: 1) SRS from both populations 2) Both sampling distributions are normally distributed. 3) Sample size is less than 1/10 population size. 4) σ from at least one population is unknown.
  • 4. Inference for Two Independent Samples We will be doing inference primarily about the difference between two means. So, for a confidence interval, we will look at µ1 – µ2. For a hypothesis test, our null hypothesis will typically be: H0: µ1 = µ2 or H0: µ1 – µ2 = 0
  • 5. Inference for Two Independent Samples A statistics student designed an experiment to test the life of brand name and generic batteries. He used 6 pairs of AA batteries from each of a brand name and generic battery manufacturer. He kept a battery powered CD player running with the same CD set on the same volume until no more music was heard. Identify each of the following: Factor Level Response variable To account for changes in CD player performance over time, he randomized the order of the batteries.
  • 6. Inference for Two Independent Samples Here is the data: Brand Name Generic 194.0 190.7 205.5 203.5 199.2 203.5 172.4 206.5 184.0 222.5 169.5 209.4 What should we do first?
  • 7. Inference for Two Independent Samples Always look at the data before performing any inference procedure!! When working with two samples, it is frequently a good idea to do some kind of comparative plot (back to back stem-and-leaf plots, or side-by- side boxplots.)
  • 8. Inference for Two Independent Samples Why is this situation independent samples and not matched pairs?
  • 9. Inference for Two Independent Samples Perform the hypothesis test, using the inference toolbox.
  • 10. Inference for Two Independent Samples Wait a minute! What do we use for a test statistic? Recall that the general form for any test statistic is:
  • 11. Inference for Two Independent Samples So, our test statistic will have the form:
  • 12. Inference for Two Independent Samples Terminology Note: Standard Deviation of the Sample Means: Standard Error of the Sample Means:
  • 13. Inference for Two Independent Samples Technical Detail: Technically, the two sample test statistic does not follow the t-distribution, but it's close enough for our purposes. (You don't need to comment on this.)
  • 14. Inference for Two Independent Samples Because the computation for the two-sample test (and confidence interval) is so complicated, we use the calculator to do the calculations. Just say no to pooling! The calculator uses a very complicated formula to find the degrees of freedom. You don't need to write down this formula!
  • 15. Inference for Two Independent Samples The book presents a more conservative method to compute the degrees of freedom. You don't need to worry about how to do this! Just use the calculator.
  • 16. Inference for Two Independent Samples We can also use the calculator to compute a two- sample confidence interval. Degrees of freedom Confidence Don't pool here Interval either.
  • 17. Inference for Two Independent Samples Let's try another example. An educator believes that new reading activities for elementary school children will improve reading comprehension scores. She randomly assigns third graders to an eight-week program in which some will use these activities and others will experience traditional teaching methods. At the end of the experiment, both groups take a reading comprehension exam. Their scores are shown in the back-to-back stem-and-leaf display. Do these results suggest that the new activities are better? Test an appropriate hypothesis and state your conclusion.
  • 18. Inference for Two Independent Samples
  • 19. Inference for Two Independent Samples two samples difference in means two means matched pairs mean difference one mean
  • 20. Inference for Two Independent Samples American League baseball teams play their games with the designated hitter rule, meaning that pitchers do not bat. The league believes that replacing the pitcher, traditionally a weak hitter, with another player in the batting order produces more runs and generates more interest among fans. Below are the average numbers of runs scored in American League and National League stadiums for the first half of the 2001 season.
  • 21. Inference for Two Independent Samples