SlideShare a Scribd company logo
1 of 11
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

Quadratic Equation and discriminant
Quadratic Equation and discriminantQuadratic Equation and discriminant
Quadratic Equation and discriminantswartzje
 
Special Products
Special ProductsSpecial Products
Special Productsdeathful
 
Semi-detailed Lesson Plan in Probabilty
Semi-detailed Lesson Plan in ProbabiltySemi-detailed Lesson Plan in Probabilty
Semi-detailed Lesson Plan in ProbabiltyLorie Jane Letada
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and Relationssheisirenebkm
 
Exponential functions
Exponential functionsExponential functions
Exponential functionsRon Eick
 
1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositiveBrandeis High School
 
Arithmetic Sequence and Series
Arithmetic Sequence and SeriesArithmetic Sequence and Series
Arithmetic Sequence and Seriesitutor
 
System of linear inequalities
System of linear inequalitiesSystem of linear inequalities
System of linear inequalitiesmstf mstf
 
Linear Systems - Domain & Range
Linear Systems - Domain & RangeLinear Systems - Domain & Range
Linear Systems - Domain & Rangeswartzje
 
Multiplying polynomials
Multiplying polynomialsMultiplying polynomials
Multiplying polynomialscvaughn911
 
Relations and functions
Relations and functions Relations and functions
Relations and functions Leslie Amoguis
 
Geometric sequences and geometric means
Geometric sequences and geometric meansGeometric sequences and geometric means
Geometric sequences and geometric meansDenmar Marasigan
 
System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variablesAnirach Ytirahc
 
The Fundamental Counting Principle
The Fundamental Counting PrincipleThe Fundamental Counting Principle
The Fundamental Counting PrincipleRon Eick
 

What's hot (20)

Quadratic Equation and discriminant
Quadratic Equation and discriminantQuadratic Equation and discriminant
Quadratic Equation and discriminant
 
One-to-one Functions.pptx
One-to-one Functions.pptxOne-to-one Functions.pptx
One-to-one Functions.pptx
 
Special Products
Special ProductsSpecial Products
Special Products
 
Slope of a Line
Slope of a LineSlope of a Line
Slope of a Line
 
Semi-detailed Lesson Plan in Probabilty
Semi-detailed Lesson Plan in ProbabiltySemi-detailed Lesson Plan in Probabilty
Semi-detailed Lesson Plan in Probabilty
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and Relations
 
Exponential functions
Exponential functionsExponential functions
Exponential functions
 
1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive
 
Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
 
Arithmetic Sequence and Series
Arithmetic Sequence and SeriesArithmetic Sequence and Series
Arithmetic Sequence and Series
 
System of linear inequalities
System of linear inequalitiesSystem of linear inequalities
System of linear inequalities
 
Linear Systems - Domain & Range
Linear Systems - Domain & RangeLinear Systems - Domain & Range
Linear Systems - Domain & Range
 
Multiplying polynomials
Multiplying polynomialsMultiplying polynomials
Multiplying polynomials
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Equations of a Line
Equations of a LineEquations of a Line
Equations of a Line
 
Geometric sequences and geometric means
Geometric sequences and geometric meansGeometric sequences and geometric means
Geometric sequences and geometric means
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functions
 
System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variables
 
The Fundamental Counting Principle
The Fundamental Counting PrincipleThe Fundamental Counting Principle
The Fundamental Counting Principle
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 

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 CanariaJohn Marvin Canaria
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdfShivakumar B N
 
null and alternative hypothesis.pptx
null and alternative hypothesis.pptxnull and alternative hypothesis.pptx
null and alternative hypothesis.pptxCherrylPaderSagun
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample testParag Shah
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysisSuresh 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.comwilliamwordsworth25
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
 
journal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxjournal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxmahshid21
 
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 meanBibaruth Moises
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016oking2777
 
Q4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptxQ4_Understanding-Hypothesis_w1.pptx
Q4_Understanding-Hypothesis_w1.pptxShairaAbraham
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016powellabril
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016sergejsvolkovs10
 
Qnt 351 final exam new 2016
Qnt 351 final exam new 2016Qnt 351 final exam new 2016
Qnt 351 final exam new 2016alicalland
 

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

History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
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🔝
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

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