SlideShare a Scribd company logo
1 of 14
Elementary Statistics
Chapter 9: Inferences
from Two Samples
9.2 Two Means:
Independent Samples
1
Chapter 9: Inferences from Two Samples
9. 1 Two Proportions
9.2 Two Means: Independent Samples
9.3 Two Dependent Samples (Matched Pairs)
9.4 Two Variances or Standard Deviations
2
Objectives:
• Test the difference between two proportions.
• Test the difference between sample means, using the z test.
• Test the difference between two means for independent samples, using the t test.
• Test the difference between two means for dependent samples.
• Test the difference between two variances or standard deviations.
9.2 Two Means: Independent Samples
Requirements
1. The two samples are independent.
2. Both samples are simple random samples.
3. 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.
3
The values of σ1 and σ2 are known: Use the z test for
comparing two means from independent populations
𝑇𝑆: 𝑧 =
(𝑥1 − 𝑥2) − (𝜇1 − 𝜇2)
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
Or 𝑧 =
𝑥1 − 𝑥2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
𝐸 = 𝑧𝛼
2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
TI Calculator:
2 - Sample Z - test
1. Stat
2. Tests
3. 2 ‒ SampZTest
4. Enter Data or Stats
𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒏𝟐,
5. Choose RTT, LTT,
or 2TT
6. Calculate
TI Calculator:
2 - Sample Z - Interval
1. Stat
2. Tests
3. 2 ‒ SampZInt
4. Enter Data or Stats
𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒏𝟐,
5. Choose RTT, LTT, or
2TT
6. Calculate
Step 4: Decision:
a. Reject H0
b. The claim is True
c. There is enough evidence to support the
claim that the means are not equal.
Hence, there is a significant difference
in the rates. 4
A survey found that the average hotel room rate in an upscale area is
$88.42 and the average room rate in downtown area is $80.61. Each
sample contained 50 hotels. Assume that the standard deviations of the
populations are $5.62 and $4.83, respectively. At α = 0.05, can it be
concluded that there is a significant difference in the rates?
Example 1a: CV Method
Step 3: CV: α = 0.05 → 𝑧 = ±1.96
Step 1: H0: μ1 = μ2 , H1: μ1  μ2 (claim), 2TT
Given: SRS:
𝑈𝑝𝑠𝑐𝑎𝑙𝑒: 𝑥1 = $88.42,
𝑛1= 50, 𝜎1 = $5.62
𝐷𝑜𝑤𝑛𝑡𝑜𝑤𝑛: 𝑥2 = $80.61,
𝑛2= 50, 𝜎2 = $4.83
Step 2: 𝑇𝑆: 𝑧 =
88.42−80.61
5.622
50
+
4.832
50
= 7.45
𝑇𝑆: 𝑧 =
(𝑥1 − 𝑥2) − (𝜇1 − 𝜇2)
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
Or 𝑧 =
𝑥1 − 𝑥2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There
is / is not sufficient evidence
to support the claim that…
TI Calculator:
2 - Sample Z - test
1. Stat
2. Tests
3. 2 ‒ SampZTest
4. Enter Data or Stats
𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒏𝟐,
5. Choose RTT, LTT,
or 2TT
6. Calculate
5
A survey found that the average hotel room rate in an upscale area is $88.42
and the average room rate in downtown area is $80.61. Each sample
contained 50 hotels. Assume that the standard deviations of the populations
are $5.62 and $4.83, respectively. At α = 0.05, can it be concluded that there
is a significant difference in the rates? Find the 95% confidence interval for
the difference between the means.
Example 1b: CI Method
Given: SRS:
𝑈𝑝𝑠𝑐𝑎𝑙𝑒:
𝑥1= $88.42, 𝑛1 = 50, 𝜎1 = $5.62
Downtown:
𝑥2 = $80.61, 𝑛2 = 50, 𝜎2 = $4.83
(88.42 − 80.61) ± 2.05
5.76 < 𝜇1 − 𝜇2 < 9.86
= 2.05
𝐸 = 1.96
5.622
50
+
4.832
50
7.81 − 2.05 < 𝜇1 − 𝜇2 < 7.81 + 2.05
Interpretation: The confidence interval limits
do not contain 0, therefore, there is a
significant difference between the two average
rates. The confidence interval indicates that
the value of 𝜇1 is greater than the value of 𝜇2,
so there seems to be sufficient evidence to
support the claim that there is a significant
difference in the rates.
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There
is / is not sufficient evidence
to support the claim that…
TI Calculator:
2 - Sample Z - Interval
1. Stat
2. Tests
3. 2 ‒ SampZInt
4. Enter Data or Stats
𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒏𝟐,
5. Choose RTT, LTT, or
2TT
6. Calculate
𝐸 = 𝑧𝛼
2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
9.2 Two Means: Independent Samples
Requirements
1. The two samples are independent.
2. Both samples are simple random samples.
3. 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.
6
The values of σ1 and σ2 are unknown:
Use the t test for comparing two means from independent
populations
Unequal Variances: df = smaller of n1 – 1 or n2 – 1.
𝐸 = 𝑡𝛼
2
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
𝑇𝑆: 𝑡 =
(𝑥1 − 𝑥2) − (𝜇1 − 𝜇2)
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
Or 𝑡 =
𝑥1 − 𝑥2
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
TI Calculator:
2 - Sample T - test
1. Stat
2. Tests
3. 2 ‒ SampTTest
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: No
7. Calculate
TI Calculator:
2 - Sample T - Interval
1. Stat
2. Tests
3. 2 ‒ SampTInt
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: No
7. Calculate
Step 4: Decision:
a. Do not Reject H0
b. The claim is True
c. There is sufficient evidence to support the claim
that female professors and male professors have
the same mean course evaluation score. 7
Listed below are stats for student course evaluation scores for courses
taught by female professors and male professors.
Females: 𝑥1= 3.8667, 𝑛1 = 12, 𝑠1 = 0.5630, Males: 𝑥2 = 3.9933, 𝑛2 = 15, 𝑠2 = 0.3955
Use a 0.05 significance level to test the claim that the two samples are from populations with
the same mean.? Assume the populations are normally distributed.
Example 2a: CV Method
Step 3: CV: α = 0.05,
df = smaller of n1 – 1 or
n2 – 1 = 12 – 1 = 11 →
t = ±2.201
Step 1: H0: μ1 = μ2 , Claim & H1: μ1  μ2 , 2TT
Step 2: 𝑇𝑆: 𝑡 =
3.8667−3.9933
0.56302
12
+
0.39552
15
= −0.660
𝑡 =
(𝑥1 − 𝑥2) − (𝜇1 − 𝜇2)
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There
is / is not sufficient evidence
to support the claim that…
TI Calculator:
2 - Sample T - test
1. Stat
2. Tests
3. 2 ‒ SampTTest
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: No
7. Calculate
8
Listed below are stats for student course evaluation scores for courses taught by female
professors and male professors. 𝐹𝑒𝑚𝑎𝑙𝑒𝑠: 𝑥1= 3.8667, 𝑛1 = 12, 𝑠1 = 0.5630,
𝑀𝑎𝑙𝑒𝑠: 𝑥2 = 3.9933, 𝑛2 = 15, 𝑠2 = 0.3955
Assume the populations are normally distributed. Find the 95% confidence interval for the
difference between the means.
Example 2b: CI Method & P-Value
𝐸 = 2.201
0.56302
12
+
0.39552
15
= 0.42245
−0.5491 < 𝜇1 − 𝜇2 < 0.2959
P-Value Method: 2TT
t = −0.660, df = 11
t –Distribution table:
the P-value > 0.20
Technology: the P-value = 0.5174
the P-value > α = 0.05
Interpretation: The confidence interval limits does contain 0, therefore,
there is a no significant difference between the two the means. The
confidence interval suggests that the value of 𝜇1 is the same as the value of
𝜇2, so there is sufficient evidence to support the claim that female
professors and male professors have the same mean course evaluation score.
TI Calculator:
2 - Sample T - Interval
1. Stat
2. Tests
3. 2 ‒ SampTInt
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: No
7. Calculate
𝐸 = 𝑡𝛼
2
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
9.2 Two Means: Independent Samples
Requirements
1. The two samples are independent.
2. Both samples are simple random samples.
3. 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.
The values of σ1 and σ2 are unknown:
Use the t test for comparing two means from independent
populations
Alternate Methods: Assume that σ1 = σ 2 and Pool the
Sample Variances
Equal Variances: df = n1 – 1 + n2 – 1.
9
𝐸 = 𝑡𝛼
2
𝑠𝑝
2
𝑛1
+
𝑠𝑝
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
𝑡 =
(𝑥1 − 𝑥2) − (𝜇1 − 𝜇2)
𝑠𝑝
2
𝑛1
+
𝑠𝑝
2
𝑛2
𝑠𝑝
2 =
(𝑛1 − 1)𝑠1
2
+ (𝑛2 − 1)𝑠2
2
(𝑛1 − 1) + (𝑛2 − 1)
Pooled Sample Variance
Strategy:
Assume that s1 and s2 are unknown,
do not assume that s1 = s2.
TI Calculator:
2 - Sample T - test
1. Stat
2. Tests
3. 2 ‒ SampTTest
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: Yes
7. Calculate
TI Calculator:
2 - Sample T - Interval
1. Stat
2. Tests
3. 2 ‒ SampTInt
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: Yes
7. Calculate
Step 4: Decision:
a. Do not Reject H0
b. The claim is False
c. There is not enough evidence to support the claim that those treated
with magnets have a greater reduction in pain than those given a
sham treatment. 10
Researchers conducted a study to determine whether magnets are effective in treating back
pain. Reduction in pain level after magnet treatment: 𝑛1= 20, 𝑥1= 0.49, 𝑠1 = 0.96
Reduction in pain level after sham treatment 𝑛2= 20, : 𝑥2 = 0.44, : 𝑠2 = 1.4.
a. Use a 0.05 significance level to test the claim that those treated with magnets have a
greater reduction in pain than those given a sham treatment (similar to a placebo).
b. Find a 90% CI.
Example 3
Step 3: CV: α = 0.05,
df = smaller of n1 – 1 or n2 – 1
= 20 – 1 =19 → 𝑡 = 1.729
Step 1: H0: μ1 = μ2 & H1: μ1 > μ2 , claim, RTT
= 0.1320
Step 2: 𝑇𝑆: 𝑡 =
0.49−0.44
0.962
20
+
1.42
20
=
0.05
0.3796
Find the P-value.
RTT: the P-value = The area
to the right of TS: t = 0.1320
The P-value = 0.4483
𝐸 = 𝑡𝛼
2
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
−0.61 < 𝜇1 − 𝜇2 < 0.71
90%𝐶𝐼:
𝐸 = 1.729(0.3796) = 0.66
(𝑥1 − 𝑥2) ± 𝐸
𝑡 =
𝑥1 − 𝑥2
𝑠1
2
𝑛1
+
𝑠2
2
𝑛2
Decision:
a. Do not Reject H0
b. The claim is False
c. There is not enough evidence to support the claim
that those treated with magnets have a greater
reduction in pain than those given a sham treatment. 11
Researchers conducted a study to determine whether magnets are effective in treating back pain.
Reduction in pain level after magnet treatment: 𝑛1= 20, 𝑥1 = 0.49, 𝑠1 = 0.96
Reduction in pain level after sham treatment 𝑛2= 20, : 𝑥2 = 0.44, : 𝑠2 = 1.4.
a. Use a 0.05 significance level to test the claim that those treated with magnets have a greater
reduction in pain than those given a sham treatment (similar to a placebo).
b. Find a 90% CI.
Example 3 again: Assume equal variances
CV: α = 0.05,
df = n1 – 1 + n2 – 1 = 38 → 𝑡 = 1.686
H0: μ1 = μ2 & H1: μ1 > μ2 (claim), RTT
0.05
0.3796
= 0.1320
𝑇𝑆: 𝑧 =
0.49 − 0.44
1.44082
20
+
1.44082
20
𝑠𝑝
2
=
𝑛1 − 1 𝑠1
2
+ 𝑛2 − 1 𝑠2
2
𝑛1 − 1 + 𝑛2 − 1
=
20 − 1 0.962
+ 20 − 1 1. 42
20 − 1 + 20 − 1
54.7504
38
= 1.4408
Note: Normally TS from
this part is not equal to TS
from the previous part
except whenever: 𝑛1= 𝑛2
The CI is slightly Narrower due to the
assumption of equal SD which
introduces a little more certainty.
TI Calculator:
2 - Sample T - test
1. Stat
2. Tests
3. 2 ‒ SampTTest
4. Enter Data or Stats
𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐
𝒏𝟏 , 𝒔𝟐,
5. Choose RTT, LTT,
or 2TT
6. Pooled: Yes
7. Calculate
𝑡 =
𝑥1 − 𝑥2
𝑠𝑝
2
𝑛1
+
𝑠𝑝
2
𝑛2
(𝑥1 − 𝑥2) ± 𝐸
𝑠𝑝
2
=
(𝑛1 − 1)𝑠1
2
+ (𝑛2 − 1)𝑠2
2
(𝑛1 − 1) + (𝑛2 − 1)
Decision:
a. Do not Reject H0
b. The claim is False
c. There is not enough evidence to support the claim that colleges
offer more sports for males than they do for females. 12
A researcher hypothesizes that the average number of sports that colleges offer
for males is greater than the average number of sports that colleges offer for
females. A sample of the number of sports offered by colleges results in
Males: 𝑥1= 8.6, 𝑛1 = 50, & Females: 𝑥2 = 7.9, 𝑛2 = 50. At α = 0.10,
is there enough evidence to support the claim? Assume 1 and 2 = 3.3.
Example 4
CV: α = 0.10
→ 𝑧 = 1.285
H0: μ1 = μ2 & H1: μ1 > μ2 (claim), RTT
Given: SRS: α = 0.10
Males: 𝑥1= 8.6, 𝑛1 = 50, 𝜎1 = 3.3
Females: 𝑥2 = 7.9, 𝑛2 = 50, 𝜎2 = 3.3
= 1.06
𝑇𝑆: 𝑧 =
8.6 − 7.9
3. 32
50
+
3. 32
50
Find the P-value.
RTT: the P-value = The area
to the right of TS: z = 1.06..
The P-value = 0.1446.
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There
is / is not sufficient evidence
to support the claim that…
𝑧 =
𝑥1 − 𝑥2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
InferencesAbout Two Means: Independent Samples: Hypothesis Test Statistic for Two
Means: Independent Samples (with H0: µ1 = µ2)
Degrees of freedom
1. Use this simple and conservative estimate:
df = smaller of n1 − 1 and n2 − 1.
2. Technologies typically use the more accurate but more difficult estimate given by
the following formula:
13
P-Values & Critical Values: Refer to the t distribution Table
The P-value method of hypothesis testing, the critical value method of hypothesis
testing, and confidence intervals all use the same distribution and standard error, so
they are all equivalent in the sense that they result in the same conclusions.
𝑑𝑓 =
𝐴+𝐵 2
𝐴2
𝑛1−1
+
𝐵2
𝑛2−1
, A =
𝑠1
2
𝑛1
, 𝐵 =
𝑠2
2
𝑛2
14
Methods for Inferences About Two Independent Means

More Related Content

What's hot

Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Meannszakir
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Marina Santini
 
Graphs that Enlighten and Graphs that Deceive
Graphs that Enlighten and Graphs that DeceiveGraphs that Enlighten and Graphs that Deceive
Graphs that Enlighten and Graphs that DeceiveLong Beach City College
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introductionGeetika Gulyani
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 

What's hot (20)

Chapter10
Chapter10Chapter10
Chapter10
 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a Proportion
 
Regression
RegressionRegression
Regression
 
Sampling Distributions
Sampling DistributionsSampling Distributions
Sampling Distributions
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
 
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation
 
z-test
z-testz-test
z-test
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
Graphs that Enlighten and Graphs that Deceive
Graphs that Enlighten and Graphs that DeceiveGraphs that Enlighten and Graphs that Deceive
Graphs that Enlighten and Graphs that Deceive
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Sampling Distributions and Estimators
Sampling Distributions and EstimatorsSampling Distributions and Estimators
Sampling Distributions and Estimators
 
Normal Distribution.pptx
Normal Distribution.pptxNormal Distribution.pptx
Normal Distribution.pptx
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
 

Similar to Two Means, Independent Samples

10 ch ken black solution
10 ch ken black solution10 ch ken black solution
10 ch ken black solutionKrunal Shah
 
Hypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansHypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansNadeem Uddin
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsLong Beach City College
 
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
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Long Beach City College
 
Sampling distribution.pptx
Sampling distribution.pptxSampling distribution.pptx
Sampling distribution.pptxssusera0e0e9
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 

Similar to Two Means, Independent Samples (20)

Two Means Independent Samples
Two Means Independent Samples  Two Means Independent Samples
Two Means Independent Samples
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
10 ch ken black solution
10 ch ken black solution10 ch ken black solution
10 ch ken black solution
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Chapter11
Chapter11Chapter11
Chapter11
 
Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
 
Two variances or standard deviations
Two variances or standard deviations  Two variances or standard deviations
Two variances or standard deviations
 
Hypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansHypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of means
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
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
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Sampling distribution.pptx
Sampling distribution.pptxSampling distribution.pptx
Sampling distribution.pptx
 
Sd,t test
Sd,t testSd,t test
Sd,t test
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
T test statistics
T test statisticsT test statistics
T test statistics
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Statistics chm 235
Statistics chm 235Statistics chm 235
Statistics chm 235
 

More from Long Beach City College

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesLong Beach City College
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionLong Beach City College
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Long Beach City College
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceLong Beach City College
 

More from Long Beach City College (17)

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
Practice Test 2 Probability
Practice Test 2 ProbabilityPractice Test 2 Probability
Practice Test 2 Probability
 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
 
Testing a Claim About a Mean
Testing a Claim About a MeanTesting a Claim About a Mean
Testing a Claim About a Mean
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Two Means, Independent Samples

  • 1. Elementary Statistics Chapter 9: Inferences from Two Samples 9.2 Two Means: Independent Samples 1
  • 2. Chapter 9: Inferences from Two Samples 9. 1 Two Proportions 9.2 Two Means: Independent Samples 9.3 Two Dependent Samples (Matched Pairs) 9.4 Two Variances or Standard Deviations 2 Objectives: • Test the difference between two proportions. • Test the difference between sample means, using the z test. • Test the difference between two means for independent samples, using the t test. • Test the difference between two means for dependent samples. • Test the difference between two variances or standard deviations.
  • 3. 9.2 Two Means: Independent Samples Requirements 1. The two samples are independent. 2. Both samples are simple random samples. 3. 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. 3 The values of σ1 and σ2 are known: Use the z test for comparing two means from independent populations 𝑇𝑆: 𝑧 = (𝑥1 − 𝑥2) − (𝜇1 − 𝜇2) 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 Or 𝑧 = 𝑥1 − 𝑥2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 𝐸 = 𝑧𝛼 2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸 TI Calculator: 2 - Sample Z - test 1. Stat 2. Tests 3. 2 ‒ SampZTest 4. Enter Data or Stats 𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒏𝟐, 5. Choose RTT, LTT, or 2TT 6. Calculate TI Calculator: 2 - Sample Z - Interval 1. Stat 2. Tests 3. 2 ‒ SampZInt 4. Enter Data or Stats 𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒏𝟐, 5. Choose RTT, LTT, or 2TT 6. Calculate
  • 4. Step 4: Decision: a. Reject H0 b. The claim is True c. There is enough evidence to support the claim that the means are not equal. Hence, there is a significant difference in the rates. 4 A survey found that the average hotel room rate in an upscale area is $88.42 and the average room rate in downtown area is $80.61. Each sample contained 50 hotels. Assume that the standard deviations of the populations are $5.62 and $4.83, respectively. At α = 0.05, can it be concluded that there is a significant difference in the rates? Example 1a: CV Method Step 3: CV: α = 0.05 → 𝑧 = ±1.96 Step 1: H0: μ1 = μ2 , H1: μ1  μ2 (claim), 2TT Given: SRS: 𝑈𝑝𝑠𝑐𝑎𝑙𝑒: 𝑥1 = $88.42, 𝑛1= 50, 𝜎1 = $5.62 𝐷𝑜𝑤𝑛𝑡𝑜𝑤𝑛: 𝑥2 = $80.61, 𝑛2= 50, 𝜎2 = $4.83 Step 2: 𝑇𝑆: 𝑧 = 88.42−80.61 5.622 50 + 4.832 50 = 7.45 𝑇𝑆: 𝑧 = (𝑥1 − 𝑥2) − (𝜇1 − 𝜇2) 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 Or 𝑧 = 𝑥1 − 𝑥2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… TI Calculator: 2 - Sample Z - test 1. Stat 2. Tests 3. 2 ‒ SampZTest 4. Enter Data or Stats 𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒏𝟐, 5. Choose RTT, LTT, or 2TT 6. Calculate
  • 5. 5 A survey found that the average hotel room rate in an upscale area is $88.42 and the average room rate in downtown area is $80.61. Each sample contained 50 hotels. Assume that the standard deviations of the populations are $5.62 and $4.83, respectively. At α = 0.05, can it be concluded that there is a significant difference in the rates? Find the 95% confidence interval for the difference between the means. Example 1b: CI Method Given: SRS: 𝑈𝑝𝑠𝑐𝑎𝑙𝑒: 𝑥1= $88.42, 𝑛1 = 50, 𝜎1 = $5.62 Downtown: 𝑥2 = $80.61, 𝑛2 = 50, 𝜎2 = $4.83 (88.42 − 80.61) ± 2.05 5.76 < 𝜇1 − 𝜇2 < 9.86 = 2.05 𝐸 = 1.96 5.622 50 + 4.832 50 7.81 − 2.05 < 𝜇1 − 𝜇2 < 7.81 + 2.05 Interpretation: The confidence interval limits do not contain 0, therefore, there is a significant difference between the two average rates. The confidence interval indicates that the value of 𝜇1 is greater than the value of 𝜇2, so there seems to be sufficient evidence to support the claim that there is a significant difference in the rates. Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… TI Calculator: 2 - Sample Z - Interval 1. Stat 2. Tests 3. 2 ‒ SampZInt 4. Enter Data or Stats 𝝈𝟏 , 𝝈𝟐, 𝒙𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒏𝟐, 5. Choose RTT, LTT, or 2TT 6. Calculate 𝐸 = 𝑧𝛼 2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸
  • 6. 9.2 Two Means: Independent Samples Requirements 1. The two samples are independent. 2. Both samples are simple random samples. 3. 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. 6 The values of σ1 and σ2 are unknown: Use the t test for comparing two means from independent populations Unequal Variances: df = smaller of n1 – 1 or n2 – 1. 𝐸 = 𝑡𝛼 2 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸 𝑇𝑆: 𝑡 = (𝑥1 − 𝑥2) − (𝜇1 − 𝜇2) 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 Or 𝑡 = 𝑥1 − 𝑥2 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 TI Calculator: 2 - Sample T - test 1. Stat 2. Tests 3. 2 ‒ SampTTest 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: No 7. Calculate TI Calculator: 2 - Sample T - Interval 1. Stat 2. Tests 3. 2 ‒ SampTInt 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: No 7. Calculate
  • 7. Step 4: Decision: a. Do not Reject H0 b. The claim is True c. There is sufficient evidence to support the claim that female professors and male professors have the same mean course evaluation score. 7 Listed below are stats for student course evaluation scores for courses taught by female professors and male professors. Females: 𝑥1= 3.8667, 𝑛1 = 12, 𝑠1 = 0.5630, Males: 𝑥2 = 3.9933, 𝑛2 = 15, 𝑠2 = 0.3955 Use a 0.05 significance level to test the claim that the two samples are from populations with the same mean.? Assume the populations are normally distributed. Example 2a: CV Method Step 3: CV: α = 0.05, df = smaller of n1 – 1 or n2 – 1 = 12 – 1 = 11 → t = ±2.201 Step 1: H0: μ1 = μ2 , Claim & H1: μ1  μ2 , 2TT Step 2: 𝑇𝑆: 𝑡 = 3.8667−3.9933 0.56302 12 + 0.39552 15 = −0.660 𝑡 = (𝑥1 − 𝑥2) − (𝜇1 − 𝜇2) 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… TI Calculator: 2 - Sample T - test 1. Stat 2. Tests 3. 2 ‒ SampTTest 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: No 7. Calculate
  • 8. 8 Listed below are stats for student course evaluation scores for courses taught by female professors and male professors. 𝐹𝑒𝑚𝑎𝑙𝑒𝑠: 𝑥1= 3.8667, 𝑛1 = 12, 𝑠1 = 0.5630, 𝑀𝑎𝑙𝑒𝑠: 𝑥2 = 3.9933, 𝑛2 = 15, 𝑠2 = 0.3955 Assume the populations are normally distributed. Find the 95% confidence interval for the difference between the means. Example 2b: CI Method & P-Value 𝐸 = 2.201 0.56302 12 + 0.39552 15 = 0.42245 −0.5491 < 𝜇1 − 𝜇2 < 0.2959 P-Value Method: 2TT t = −0.660, df = 11 t –Distribution table: the P-value > 0.20 Technology: the P-value = 0.5174 the P-value > α = 0.05 Interpretation: The confidence interval limits does contain 0, therefore, there is a no significant difference between the two the means. The confidence interval suggests that the value of 𝜇1 is the same as the value of 𝜇2, so there is sufficient evidence to support the claim that female professors and male professors have the same mean course evaluation score. TI Calculator: 2 - Sample T - Interval 1. Stat 2. Tests 3. 2 ‒ SampTInt 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: No 7. Calculate 𝐸 = 𝑡𝛼 2 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸
  • 9. 9.2 Two Means: Independent Samples Requirements 1. The two samples are independent. 2. Both samples are simple random samples. 3. 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. The values of σ1 and σ2 are unknown: Use the t test for comparing two means from independent populations Alternate Methods: Assume that σ1 = σ 2 and Pool the Sample Variances Equal Variances: df = n1 – 1 + n2 – 1. 9 𝐸 = 𝑡𝛼 2 𝑠𝑝 2 𝑛1 + 𝑠𝑝 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸 𝑡 = (𝑥1 − 𝑥2) − (𝜇1 − 𝜇2) 𝑠𝑝 2 𝑛1 + 𝑠𝑝 2 𝑛2 𝑠𝑝 2 = (𝑛1 − 1)𝑠1 2 + (𝑛2 − 1)𝑠2 2 (𝑛1 − 1) + (𝑛2 − 1) Pooled Sample Variance Strategy: Assume that s1 and s2 are unknown, do not assume that s1 = s2. TI Calculator: 2 - Sample T - test 1. Stat 2. Tests 3. 2 ‒ SampTTest 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: Yes 7. Calculate TI Calculator: 2 - Sample T - Interval 1. Stat 2. Tests 3. 2 ‒ SampTInt 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: Yes 7. Calculate
  • 10. Step 4: Decision: a. Do not Reject H0 b. The claim is False c. There is not enough evidence to support the claim that those treated with magnets have a greater reduction in pain than those given a sham treatment. 10 Researchers conducted a study to determine whether magnets are effective in treating back pain. Reduction in pain level after magnet treatment: 𝑛1= 20, 𝑥1= 0.49, 𝑠1 = 0.96 Reduction in pain level after sham treatment 𝑛2= 20, : 𝑥2 = 0.44, : 𝑠2 = 1.4. a. Use a 0.05 significance level to test the claim that those treated with magnets have a greater reduction in pain than those given a sham treatment (similar to a placebo). b. Find a 90% CI. Example 3 Step 3: CV: α = 0.05, df = smaller of n1 – 1 or n2 – 1 = 20 – 1 =19 → 𝑡 = 1.729 Step 1: H0: μ1 = μ2 & H1: μ1 > μ2 , claim, RTT = 0.1320 Step 2: 𝑇𝑆: 𝑡 = 0.49−0.44 0.962 20 + 1.42 20 = 0.05 0.3796 Find the P-value. RTT: the P-value = The area to the right of TS: t = 0.1320 The P-value = 0.4483 𝐸 = 𝑡𝛼 2 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2 −0.61 < 𝜇1 − 𝜇2 < 0.71 90%𝐶𝐼: 𝐸 = 1.729(0.3796) = 0.66 (𝑥1 − 𝑥2) ± 𝐸 𝑡 = 𝑥1 − 𝑥2 𝑠1 2 𝑛1 + 𝑠2 2 𝑛2
  • 11. Decision: a. Do not Reject H0 b. The claim is False c. There is not enough evidence to support the claim that those treated with magnets have a greater reduction in pain than those given a sham treatment. 11 Researchers conducted a study to determine whether magnets are effective in treating back pain. Reduction in pain level after magnet treatment: 𝑛1= 20, 𝑥1 = 0.49, 𝑠1 = 0.96 Reduction in pain level after sham treatment 𝑛2= 20, : 𝑥2 = 0.44, : 𝑠2 = 1.4. a. Use a 0.05 significance level to test the claim that those treated with magnets have a greater reduction in pain than those given a sham treatment (similar to a placebo). b. Find a 90% CI. Example 3 again: Assume equal variances CV: α = 0.05, df = n1 – 1 + n2 – 1 = 38 → 𝑡 = 1.686 H0: μ1 = μ2 & H1: μ1 > μ2 (claim), RTT 0.05 0.3796 = 0.1320 𝑇𝑆: 𝑧 = 0.49 − 0.44 1.44082 20 + 1.44082 20 𝑠𝑝 2 = 𝑛1 − 1 𝑠1 2 + 𝑛2 − 1 𝑠2 2 𝑛1 − 1 + 𝑛2 − 1 = 20 − 1 0.962 + 20 − 1 1. 42 20 − 1 + 20 − 1 54.7504 38 = 1.4408 Note: Normally TS from this part is not equal to TS from the previous part except whenever: 𝑛1= 𝑛2 The CI is slightly Narrower due to the assumption of equal SD which introduces a little more certainty. TI Calculator: 2 - Sample T - test 1. Stat 2. Tests 3. 2 ‒ SampTTest 4. Enter Data or Stats 𝒙𝟏, 𝒔𝟏 , 𝒏𝟏, 𝒙𝟐 𝒏𝟏 , 𝒔𝟐, 5. Choose RTT, LTT, or 2TT 6. Pooled: Yes 7. Calculate 𝑡 = 𝑥1 − 𝑥2 𝑠𝑝 2 𝑛1 + 𝑠𝑝 2 𝑛2 (𝑥1 − 𝑥2) ± 𝐸 𝑠𝑝 2 = (𝑛1 − 1)𝑠1 2 + (𝑛2 − 1)𝑠2 2 (𝑛1 − 1) + (𝑛2 − 1)
  • 12. Decision: a. Do not Reject H0 b. The claim is False c. There is not enough evidence to support the claim that colleges offer more sports for males than they do for females. 12 A researcher hypothesizes that the average number of sports that colleges offer for males is greater than the average number of sports that colleges offer for females. A sample of the number of sports offered by colleges results in Males: 𝑥1= 8.6, 𝑛1 = 50, & Females: 𝑥2 = 7.9, 𝑛2 = 50. At α = 0.10, is there enough evidence to support the claim? Assume 1 and 2 = 3.3. Example 4 CV: α = 0.10 → 𝑧 = 1.285 H0: μ1 = μ2 & H1: μ1 > μ2 (claim), RTT Given: SRS: α = 0.10 Males: 𝑥1= 8.6, 𝑛1 = 50, 𝜎1 = 3.3 Females: 𝑥2 = 7.9, 𝑛2 = 50, 𝜎2 = 3.3 = 1.06 𝑇𝑆: 𝑧 = 8.6 − 7.9 3. 32 50 + 3. 32 50 Find the P-value. RTT: the P-value = The area to the right of TS: z = 1.06.. The P-value = 0.1446. Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… 𝑧 = 𝑥1 − 𝑥2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2
  • 13. InferencesAbout Two Means: Independent Samples: Hypothesis Test Statistic for Two Means: Independent Samples (with H0: µ1 = µ2) Degrees of freedom 1. Use this simple and conservative estimate: df = smaller of n1 − 1 and n2 − 1. 2. Technologies typically use the more accurate but more difficult estimate given by the following formula: 13 P-Values & Critical Values: Refer to the t distribution Table The P-value method of hypothesis testing, the critical value method of hypothesis testing, and confidence intervals all use the same distribution and standard error, so they are all equivalent in the sense that they result in the same conclusions. 𝑑𝑓 = 𝐴+𝐵 2 𝐴2 𝑛1−1 + 𝐵2 𝑛2−1 , A = 𝑠1 2 𝑛1 , 𝐵 = 𝑠2 2 𝑛2
  • 14. 14 Methods for Inferences About Two Independent Means