SlideShare a Scribd company logo
Z-TEST FOR TWO SAMPLE MEAN
• Is used when comparing two separate
samples drawn at random taken from
a normal population
• Used to test whether the difference
between the two values of 𝒙 𝟏 and
𝒙 𝟐 is significant or can be attributed
to chance.
Formula:
Where:
= the mean of sample 1
= the mean of sample 2
= the standard deviation of sample 1
= the standard deviation of sample 2
= the size of sample 1
= the size of sample 2
𝑿 𝟏
𝑿 𝟐
𝑺 𝟏
𝑺 𝟐
𝒏 𝟏
𝒏 𝟐
EXAMPLE
• A bank is opening a new branch in one of two
neighborhoods. One of the factors considered by the
bank is whether the average monthly family (in
thousand pesos) in the two neighborhoods differed.
From census records, the bank drew two random
samples of 100 families each and obtained the
following information.
SAMPLE A SAMPLE B
𝑿 𝟏 = 𝟏𝟎, 𝟖𝟎𝟎 𝑿 𝟐 = 𝟏𝟎, 𝟑𝟎𝟎
𝑺 𝟏 = 𝟑𝟎𝟎 𝑺 𝟐 = 𝟒𝟎𝟎
𝒏 𝟏 = 𝟏𝟎𝟎 𝒏 𝟐 = 𝟏𝟎𝟎
SOLUTION (USING ONE TAILED TEST)
• I. State the null and alternative hypothesis.
• A. 𝑯 𝒐 = The average monthly family income in
the two neighborhoods, A and B are equal.
• 𝑯 𝒐: 𝝁 𝟏 = 𝝁 𝟐
• B. 𝑯 𝒂 = The average monthly family income of
neighborhood A is higher than neighborhood
B.
• 𝑯 𝒂: 𝝁 𝟏 > 𝝁 𝟐
SOLUTION
• II. Set the level of significance.
• 𝜶 = 𝟎. 𝟎𝟓
III. Test Statistic
Z-test for Two Sample Mean
SOLUTION
• IV. Computation
• Z=
𝑿 𝟏− 𝑿 𝟐
(𝑺 𝟏) 𝟐
𝒏 𝟏
+
(𝑺 𝟐) 𝟐
𝒏 𝟐
=
𝟏𝟎,𝟖𝟎𝟎−𝟏𝟎,𝟑𝟎𝟎
(𝟑𝟎𝟎) 𝟐
𝟏𝟎𝟎
+
(𝟒𝟎𝟎) 𝟐
𝟏𝟎𝟎
=
𝟓𝟎𝟎
𝟗𝟎𝟎+𝟏𝟔𝟎𝟎
=
𝟓𝟎𝟎
𝟓𝟎
= 𝟏𝟎
SAMPLE A SAMPLE B
𝑿 𝟏 = 𝟏𝟎, 𝟖𝟎𝟎 𝑿 𝟐 = 𝟏𝟎, 𝟑𝟎𝟎
𝑺 𝟏 = 𝟑𝟎𝟎 𝑺 𝟐 = 𝟒𝟎𝟎
𝒏 𝟏 = 𝟏𝟎𝟎 𝒏 𝟐 = 𝟏𝟎𝟎
SOLUTION
• V. Critical/Tabular Value
• 𝒛 𝒕𝒂𝒃 = ±𝟏. 𝟔𝟓 (𝜶 = 𝟎. 𝟎𝟓)one tailed
• VI. Decision Rule
• Since the 𝒛 𝒄𝒐𝒎𝒑𝒖𝒕𝒆𝒅 𝒗𝒂𝒍𝒖𝒆 is greater
than the 𝒛 𝒕𝒂𝒃𝒖𝒍𝒂𝒓 𝒗𝒂𝒍𝒖𝒆, reject the null
hypothesis and accept the
alternative hypothesis.
SOLUTION
• VII. Conclusion
• Since the 𝒛 𝒄𝒐𝒎𝒑𝒖𝒕𝒆𝒅 𝒗𝒂𝒍𝒖𝒆 of 10 is greater than
the 𝒛 𝒕𝒂𝒃𝒖𝒍𝒂𝒓 𝒗𝒂𝒍𝒖𝒆 of 1.65, reject the null
hypothesis and accept the alternative
hypothesis, regardless of sign at 0.05 level of
significance. The research hypothesis
confirms that the average family monthly
income of neighborhood A is higher than
neighborhood B.
ACTIVITY! TRY THIS
• 1. The Brand A cellphone company claims that its
phones have an almost the same lifespan as of the
Brand B cellphone company. A test is conducted to
validate whether the claim is true. 40 phones from
Brand A and 70 phones from Brand B are chosen for
testing, and were found that the mean life for each is
32 months for Brand A and 35 months for Brand B. The
standard deviation for Brand A is 5 months while 7
months for Brand B. Test the hypothesis if the average
life of an android phone from Brand A is less than the
average life of android phone from Brand B using a
level of significance of 0.01

More Related Content

What's hot

Determining the Sample Size
Determining the Sample SizeDetermining the Sample Size
Determining the Sample Size
University of Rizal System-Morong
 
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
nszakir
 
Parameter estimation
Parameter estimationParameter estimation
Parameter estimation
RAVI PRASAD K.J.
 
Probability and statistics
Probability and statisticsProbability and statistics
Probability and statistics
Fatima Bianca Gueco
 
Special Right Triangles
Special Right TrianglesSpecial Right Triangles
Special Right Triangles
Darren Sowards
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
Azmi Mohd Tamil
 
What is a kendall's tau?
What is a kendall's tau?What is a kendall's tau?
What is a kendall's tau?
Ken Plummer
 
probability
probabilityprobability
probability
Unsa Shakir
 
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILESMEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
Chuckry Maunes
 
Angle relationships
Angle relationshipsAngle relationships
Angle relationships
Cinnaminson Public Schools
 
Practical Research 2 Chapter 3: Common Statistical Tools
 Practical Research 2 Chapter 3: Common Statistical Tools Practical Research 2 Chapter 3: Common Statistical Tools
Practical Research 2 Chapter 3: Common Statistical Tools
DaianMoreno1
 
3. permutation and combination
3. permutation and combination3. permutation and combination
3. permutation and combination
smaplabu
 
Probability (gr.11)
Probability (gr.11)Probability (gr.11)
Probability (gr.11)
Vukile Xhego
 
Congruent Triangles
Congruent TrianglesCongruent Triangles
Congruent Triangles
Vincent de Ocampo
 
Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
Parag Shah
 
Trigonometric Ratios
Trigonometric RatiosTrigonometric Ratios
Trigonometric Ratios
liliana1993
 
parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova
Tess Anoza
 
Z test
Z testZ test
Z test
RichardBanez
 
t test using spss
t test using spsst test using spss
t test using spss
Parag Shah
 
Angles and Measures
Angles and MeasuresAngles and Measures
Angles and Measures
Jhon Paul Lagumbay
 

What's hot (20)

Determining the Sample Size
Determining the Sample SizeDetermining the Sample Size
Determining the Sample Size
 
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
 
Parameter estimation
Parameter estimationParameter estimation
Parameter estimation
 
Probability and statistics
Probability and statisticsProbability and statistics
Probability and statistics
 
Special Right Triangles
Special Right TrianglesSpecial Right Triangles
Special Right Triangles
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
What is a kendall's tau?
What is a kendall's tau?What is a kendall's tau?
What is a kendall's tau?
 
probability
probabilityprobability
probability
 
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILESMEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
MEASURES OF POSITION FOR UNGROUPED DATA : QUARTILES , DECILES , & PERCENTILES
 
Angle relationships
Angle relationshipsAngle relationships
Angle relationships
 
Practical Research 2 Chapter 3: Common Statistical Tools
 Practical Research 2 Chapter 3: Common Statistical Tools Practical Research 2 Chapter 3: Common Statistical Tools
Practical Research 2 Chapter 3: Common Statistical Tools
 
3. permutation and combination
3. permutation and combination3. permutation and combination
3. permutation and combination
 
Probability (gr.11)
Probability (gr.11)Probability (gr.11)
Probability (gr.11)
 
Congruent Triangles
Congruent TrianglesCongruent Triangles
Congruent Triangles
 
Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
 
Trigonometric Ratios
Trigonometric RatiosTrigonometric Ratios
Trigonometric Ratios
 
parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova
 
Z test
Z testZ test
Z test
 
t test using spss
t test using spsst test using spss
t test using spss
 
Angles and Measures
Angles and MeasuresAngles and Measures
Angles and Measures
 

Similar to Z test for two sample mean

Z test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin CanariaZ test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin Canaria
John Marvin Canaria
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
Shivakumar B N
 
z-test
z-testz-test
Rejection Region.ppt.ppt
Rejection Region.ppt.pptRejection Region.ppt.ppt
Rejection Region.ppt.ppt
AlonaNayAgcaoili
 
null and alternative hypothesis.pptx
null and alternative hypothesis.pptxnull and alternative hypothesis.pptx
null and alternative hypothesis.pptx
CherrylPaderSagun
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
Parag Shah
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
Suresh Sundar
 
QNT 351 Education for Service--qnt351.com
QNT 351 Education for Service--qnt351.comQNT 351 Education for Service--qnt351.com
QNT 351 Education for Service--qnt351.com
williamwordsworth25
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
Abhishek Thakur
 
spss
spss spss
spss
SHEZA18
 
journal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxjournal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptx
mahshid21
 
Conducting small sample tests about a population mean
Conducting small sample tests about a population meanConducting small sample tests about a population mean
Conducting small sample tests about a population mean
Bibaruth Moises
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
ENTIRE COURSES FINAL EXAM
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
oking2777
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
ENTIRE COURSES FINAL EXAM
 
Q4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptxQ4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptx
ShairaAbraham
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
alicalland
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
powellabril
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
sergejsvolkovs10
 
CHI-SQUARE TEST
CHI-SQUARE TESTCHI-SQUARE TEST
CHI-SQUARE TEST
NathanBaloloy
 

Similar to Z test for two sample mean (20)

Z test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin CanariaZ test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin Canaria
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
 
z-test
z-testz-test
z-test
 
Rejection Region.ppt.ppt
Rejection Region.ppt.pptRejection Region.ppt.ppt
Rejection Region.ppt.ppt
 
null and alternative hypothesis.pptx
null and alternative hypothesis.pptxnull and alternative hypothesis.pptx
null and alternative hypothesis.pptx
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
 
QNT 351 Education for Service--qnt351.com
QNT 351 Education for Service--qnt351.comQNT 351 Education for Service--qnt351.com
QNT 351 Education for Service--qnt351.com
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
spss
spss spss
spss
 
journal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxjournal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptx
 
Conducting small sample tests about a population mean
Conducting small sample tests about a population meanConducting small sample tests about a population mean
Conducting small sample tests about a population mean
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
Q4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptxQ4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptx
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016
 
CHI-SQUARE TEST
CHI-SQUARE TESTCHI-SQUARE TEST
CHI-SQUARE TEST
 

Recently uploaded

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 

Recently uploaded (20)

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 

Z test for two sample mean

  • 1.
  • 2.
  • 3. Z-TEST FOR TWO SAMPLE MEAN • Is used when comparing two separate samples drawn at random taken from a normal population • Used to test whether the difference between the two values of 𝒙 𝟏 and 𝒙 𝟐 is significant or can be attributed to chance.
  • 4. Formula: Where: = the mean of sample 1 = the mean of sample 2 = the standard deviation of sample 1 = the standard deviation of sample 2 = the size of sample 1 = the size of sample 2 𝑿 𝟏 𝑿 𝟐 𝑺 𝟏 𝑺 𝟐 𝒏 𝟏 𝒏 𝟐
  • 5. EXAMPLE • A bank is opening a new branch in one of two neighborhoods. One of the factors considered by the bank is whether the average monthly family (in thousand pesos) in the two neighborhoods differed. From census records, the bank drew two random samples of 100 families each and obtained the following information. SAMPLE A SAMPLE B 𝑿 𝟏 = 𝟏𝟎, 𝟖𝟎𝟎 𝑿 𝟐 = 𝟏𝟎, 𝟑𝟎𝟎 𝑺 𝟏 = 𝟑𝟎𝟎 𝑺 𝟐 = 𝟒𝟎𝟎 𝒏 𝟏 = 𝟏𝟎𝟎 𝒏 𝟐 = 𝟏𝟎𝟎
  • 6. SOLUTION (USING ONE TAILED TEST) • I. State the null and alternative hypothesis. • A. 𝑯 𝒐 = The average monthly family income in the two neighborhoods, A and B are equal. • 𝑯 𝒐: 𝝁 𝟏 = 𝝁 𝟐 • B. 𝑯 𝒂 = The average monthly family income of neighborhood A is higher than neighborhood B. • 𝑯 𝒂: 𝝁 𝟏 > 𝝁 𝟐
  • 7. SOLUTION • II. Set the level of significance. • 𝜶 = 𝟎. 𝟎𝟓 III. Test Statistic Z-test for Two Sample Mean
  • 8. SOLUTION • IV. Computation • Z= 𝑿 𝟏− 𝑿 𝟐 (𝑺 𝟏) 𝟐 𝒏 𝟏 + (𝑺 𝟐) 𝟐 𝒏 𝟐 = 𝟏𝟎,𝟖𝟎𝟎−𝟏𝟎,𝟑𝟎𝟎 (𝟑𝟎𝟎) 𝟐 𝟏𝟎𝟎 + (𝟒𝟎𝟎) 𝟐 𝟏𝟎𝟎 = 𝟓𝟎𝟎 𝟗𝟎𝟎+𝟏𝟔𝟎𝟎 = 𝟓𝟎𝟎 𝟓𝟎 = 𝟏𝟎 SAMPLE A SAMPLE B 𝑿 𝟏 = 𝟏𝟎, 𝟖𝟎𝟎 𝑿 𝟐 = 𝟏𝟎, 𝟑𝟎𝟎 𝑺 𝟏 = 𝟑𝟎𝟎 𝑺 𝟐 = 𝟒𝟎𝟎 𝒏 𝟏 = 𝟏𝟎𝟎 𝒏 𝟐 = 𝟏𝟎𝟎
  • 9. SOLUTION • V. Critical/Tabular Value • 𝒛 𝒕𝒂𝒃 = ±𝟏. 𝟔𝟓 (𝜶 = 𝟎. 𝟎𝟓)one tailed • VI. Decision Rule • Since the 𝒛 𝒄𝒐𝒎𝒑𝒖𝒕𝒆𝒅 𝒗𝒂𝒍𝒖𝒆 is greater than the 𝒛 𝒕𝒂𝒃𝒖𝒍𝒂𝒓 𝒗𝒂𝒍𝒖𝒆, reject the null hypothesis and accept the alternative hypothesis.
  • 10. SOLUTION • VII. Conclusion • Since the 𝒛 𝒄𝒐𝒎𝒑𝒖𝒕𝒆𝒅 𝒗𝒂𝒍𝒖𝒆 of 10 is greater than the 𝒛 𝒕𝒂𝒃𝒖𝒍𝒂𝒓 𝒗𝒂𝒍𝒖𝒆 of 1.65, reject the null hypothesis and accept the alternative hypothesis, regardless of sign at 0.05 level of significance. The research hypothesis confirms that the average family monthly income of neighborhood A is higher than neighborhood B.
  • 11. ACTIVITY! TRY THIS • 1. The Brand A cellphone company claims that its phones have an almost the same lifespan as of the Brand B cellphone company. A test is conducted to validate whether the claim is true. 40 phones from Brand A and 70 phones from Brand B are chosen for testing, and were found that the mean life for each is 32 months for Brand A and 35 months for Brand B. The standard deviation for Brand A is 5 months while 7 months for Brand B. Test the hypothesis if the average life of an android phone from Brand A is less than the average life of android phone from Brand B using a level of significance of 0.01