SlideShare a Scribd company logo
1 of 14
Case of Small Sample
(Independent sample t-test):
When Population Variances are
not Equal
The presentation would cover the
highlighted part of the syllabus
When to use the test:
• When the two samples are independent
• The sample sizes are small i.e. less than 30
and population standard deviation is not given
• We are assuming unequal variance of the two
populations
Formulas used for conducting the
test:
• There were two types of drugs (1 and 2) that were tried on some
patients for reducing weight. There were 8 adults who were subject
to drug 1 and seven adults who were administered drug 2. The
decrease in weight (in pounds) is given below:
• Do the drugs differ significantly in their effect on deceasing weight?
You may use 5 percent level of significance. Assume that the
variances of two populations are not same.
Drug 1 Drug 2
10 12
8 10
12 7
14 6
7 12
15 11
13 12
11
Solution:
X1 X2
10 12
8 10
12 7
14 6
7 12
15 11
13 12
11
Sum 90 70
Mean 11.25 10
1. Calculate mean of the two samples:
2
1
: 
 
o
H
2
1
: 
 
a
H
2
1
2
1
Drug
Drug
Let




• 2. Calculate standard deviation or variance
X1 X2 X1-11.25 X2-10 (X1-11.25)2 (X2-10)2
10 12 -1.25 2 1.5625 4
8 10 -3.25 0 10.5625 0
12 7 0.75 -3 0.5625 9
14 6 2.75 -4 7.5625 16
7 12 -4.25 2 18.0625 4
15 11 3.75 1 14.0625 1
13 12 1.75 2 3.0625 4
11 -0.25 0.0625
Sum 90 70 55.5 38
Mean 11.25 10
1
)
( 2




n
x
x
s
517
.
2
816
.
2
2
1


s
s
Additional problems for practice:
• A marketing research firm tests the effectiveness of a new flavoring for a leading beverage using a
sample of 20 people, half of whom taste the beverage with the old flavoring and the other half who
taste the beverage with the new favoring. The people in the study are then given a questionnaire
which evaluates how enjoyable the beverage was. The scores are as in Table 1. Determine whether
there is a significant difference between the perception of the two flavorings at 5 per level of
significance. Assume that the variances of two populations are not same.
New Old
20 12
32 8
2 6
25 16
5 12
18 14
21 10
7 18
28 4
40 11
Answer:
Variable 1 Variable 2
Mean 19.8 11.1
Variance 150.6222 18.76667
Observations 10 10
Hypothesized Mean Difference 0
df 11
t Stat 2.113863
t Critical two-tail 2.200985
• The table below shows the observed pollution
indexes of air samples in two areas of a city. Test
the hypothesis that the mean pollution indexes
are the same for the two areas. Assume that the
variances of two populations are not same. (Use
α = 0.05)
Area A Area B
2.92 1.84
1.88 0.95
5.35 4.26
3.81 3.18
4.69 3.44
4.86 3.69
5.81 4.95
5.55 4.47
Answer:
Variable 1 Variable 2
Mean 4.35875 3.3475
Variance 1.912013 1.833593
Observations 8 8
Hypothesized Mean Difference 0
df 14
t Stat 1.477891
t Critical two-tail 2.144787

More Related Content

Similar to 0. Case of Small Sample Unequal variance assumed.pptx

Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced SwimOral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
Randall Ellis
 
Accounting for Psychological Determinants of Treatment Response in Health Eco...
Accounting for Psychological Determinants of Treatment Response in Health Eco...Accounting for Psychological Determinants of Treatment Response in Health Eco...
Accounting for Psychological Determinants of Treatment Response in Health Eco...
ScHARR HEDS
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
bmcfad01
 
Ch 14 Part 3 additional section Two-Way ANOVA with.pptx
Ch 14 Part 3 additional section Two-Way ANOVA with.pptxCh 14 Part 3 additional section Two-Way ANOVA with.pptx
Ch 14 Part 3 additional section Two-Way ANOVA with.pptx
AKBhalothia
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docx
mccormicknadine86
 
Background Randomized controlled trials are the gold standard for.docx
Background Randomized controlled trials are the gold standard for.docxBackground Randomized controlled trials are the gold standard for.docx
Background Randomized controlled trials are the gold standard for.docx
lascellesjaimie
 

Similar to 0. Case of Small Sample Unequal variance assumed.pptx (20)

Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
Phenhylephrine Hydrocloride Gastro Retentive Floating Matrix Tablets Design a...
Phenhylephrine Hydrocloride Gastro Retentive Floating Matrix Tablets Design a...Phenhylephrine Hydrocloride Gastro Retentive Floating Matrix Tablets Design a...
Phenhylephrine Hydrocloride Gastro Retentive Floating Matrix Tablets Design a...
 
Dr.rk 2
Dr.rk 2Dr.rk 2
Dr.rk 2
 
Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced SwimOral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
Oral Presentation_Antidepressant Efficacy of Dextromethorphan in the Forced Swim
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
 
Accounting for Psychological Determinants of Treatment Response in Health Eco...
Accounting for Psychological Determinants of Treatment Response in Health Eco...Accounting for Psychological Determinants of Treatment Response in Health Eco...
Accounting for Psychological Determinants of Treatment Response in Health Eco...
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
Ch 14 Part 3 additional section Two-Way ANOVA with.pptx
Ch 14 Part 3 additional section Two-Way ANOVA with.pptxCh 14 Part 3 additional section Two-Way ANOVA with.pptx
Ch 14 Part 3 additional section Two-Way ANOVA with.pptx
 
Factorial ANOVA
Factorial ANOVAFactorial ANOVA
Factorial ANOVA
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptx
 
Anova (1)
Anova (1)Anova (1)
Anova (1)
 
Anova (1)
Anova (1)Anova (1)
Anova (1)
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docx
 
Designing Adaptive Programs for Neuropathic Pain and the Product Revenue impl...
Designing Adaptive Programs for Neuropathic Pain and the Product Revenue impl...Designing Adaptive Programs for Neuropathic Pain and the Product Revenue impl...
Designing Adaptive Programs for Neuropathic Pain and the Product Revenue impl...
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretation
 
Background Randomized controlled trials are the gold standard for.docx
Background Randomized controlled trials are the gold standard for.docxBackground Randomized controlled trials are the gold standard for.docx
Background Randomized controlled trials are the gold standard for.docx
 
Ch6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesCh6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, Variances
 
The t test
The t testThe t test
The t test
 
Placebo effects of marketing actions
Placebo effects of marketing actions Placebo effects of marketing actions
Placebo effects of marketing actions
 
Formulation and Evaluation of Immediate Release Tablet for Treatment of Overa...
Formulation and Evaluation of Immediate Release Tablet for Treatment of Overa...Formulation and Evaluation of Immediate Release Tablet for Treatment of Overa...
Formulation and Evaluation of Immediate Release Tablet for Treatment of Overa...
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 

Recently uploaded (20)

ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 

0. Case of Small Sample Unequal variance assumed.pptx

  • 1. Case of Small Sample (Independent sample t-test): When Population Variances are not Equal
  • 2. The presentation would cover the highlighted part of the syllabus
  • 3. When to use the test: • When the two samples are independent • The sample sizes are small i.e. less than 30 and population standard deviation is not given • We are assuming unequal variance of the two populations
  • 4. Formulas used for conducting the test:
  • 5. • There were two types of drugs (1 and 2) that were tried on some patients for reducing weight. There were 8 adults who were subject to drug 1 and seven adults who were administered drug 2. The decrease in weight (in pounds) is given below: • Do the drugs differ significantly in their effect on deceasing weight? You may use 5 percent level of significance. Assume that the variances of two populations are not same. Drug 1 Drug 2 10 12 8 10 12 7 14 6 7 12 15 11 13 12 11
  • 6. Solution: X1 X2 10 12 8 10 12 7 14 6 7 12 15 11 13 12 11 Sum 90 70 Mean 11.25 10 1. Calculate mean of the two samples: 2 1 :    o H 2 1 :    a H 2 1 2 1 Drug Drug Let    
  • 7. • 2. Calculate standard deviation or variance X1 X2 X1-11.25 X2-10 (X1-11.25)2 (X2-10)2 10 12 -1.25 2 1.5625 4 8 10 -3.25 0 10.5625 0 12 7 0.75 -3 0.5625 9 14 6 2.75 -4 7.5625 16 7 12 -4.25 2 18.0625 4 15 11 3.75 1 14.0625 1 13 12 1.75 2 3.0625 4 11 -0.25 0.0625 Sum 90 70 55.5 38 Mean 11.25 10 1 ) ( 2     n x x s 517 . 2 816 . 2 2 1   s s
  • 8.
  • 9.
  • 10.
  • 11. Additional problems for practice: • A marketing research firm tests the effectiveness of a new flavoring for a leading beverage using a sample of 20 people, half of whom taste the beverage with the old flavoring and the other half who taste the beverage with the new favoring. The people in the study are then given a questionnaire which evaluates how enjoyable the beverage was. The scores are as in Table 1. Determine whether there is a significant difference between the perception of the two flavorings at 5 per level of significance. Assume that the variances of two populations are not same. New Old 20 12 32 8 2 6 25 16 5 12 18 14 21 10 7 18 28 4 40 11
  • 12. Answer: Variable 1 Variable 2 Mean 19.8 11.1 Variance 150.6222 18.76667 Observations 10 10 Hypothesized Mean Difference 0 df 11 t Stat 2.113863 t Critical two-tail 2.200985
  • 13. • The table below shows the observed pollution indexes of air samples in two areas of a city. Test the hypothesis that the mean pollution indexes are the same for the two areas. Assume that the variances of two populations are not same. (Use α = 0.05) Area A Area B 2.92 1.84 1.88 0.95 5.35 4.26 3.81 3.18 4.69 3.44 4.86 3.69 5.81 4.95 5.55 4.47
  • 14. Answer: Variable 1 Variable 2 Mean 4.35875 3.3475 Variance 1.912013 1.833593 Observations 8 8 Hypothesized Mean Difference 0 df 14 t Stat 1.477891 t Critical two-tail 2.144787