SlideShare a Scribd company logo
1 of 15
Download to read offline
Hypothesis Testing
Researchers are interested in answering many types of questions. For example,
i. A scientist might want to know whether the earth is warming up.
ii. A physician might want to know whether a new medication will lower a
person’s blood pressure.
iii. An educator might wish to see whether a new teaching technique is better than
a traditional one.
iv. A retail merchant might want to know whether the public prefers a certain
color in a new line of fashion.
v. Automobile manufacturers are interested in determining whether seat belts
will reduce the severity of injuries caused by accidents.
These types of questions can be addressed through statistical hypothesis testing,
which is a decision-making process for evaluating claims about a population.
z-test for mean:
The z test is a statistical test for the mean of a population. It can be used when
𝑛 β‰₯ 30, or when the population is normally distributed and s is known.
The formula for the z test is
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝜎
βˆšπ‘›
where
π‘₯Μ… = sample mean
πœ‡ = hypothesized population mean
𝜎 = population standard deviation
n = sample size
When population is normally distributed and s is known then
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝑠
βˆšπ‘›
Steps involving in hypothesis testing:
Step 1 State the hypotheses and identify the claim.
Step 2 Find the critical value(s).
Step 3 Compute the test value.
Step 4 Make the decision to reject or not reject the null hypothesis.
Explanation of each step
Step 1 State the hypotheses and identify the claim.
There can be three types of this step.
Type I: Two tailed test
𝐻0: πœ‡ = πœ‡0
𝐻1: πœ‡ β‰  πœ‡0 [Two tailed]
Type II: Right tailed test
𝐻0: πœ‡ = πœ‡0
𝐻1: πœ‡ > πœ‡0 [Right tailed]
Type III: Left tailed test
𝐻0: πœ‡ = πœ‡0
𝐻1: πœ‡ < πœ‡0 [Left tailed]
Step 2 Find the critical value(s).
The critical value separates the rejection region from the acceptance region. The
symbol for critical value is C.V.
Finding the critical values depends on value of 𝛼 and which tailed test it is.
We are going to discuss again three types to find critical value.
Type I: Finding critical value for two tailed test.
Let us suppose that 𝛼 is given as 0.01. Calculate 1 βˆ’ 𝛼 = 0.99
Since it is two tailed test so divided the value of 1 βˆ’ 𝛼 by 2
1 βˆ’ 𝛼
2
=
0.99
2
= 0.495
In z-table find the value that is closest to 0.495 which is .4951. critical value will be 2.58 as
explained below. Write this value on the boundary of regection region as shown in fig above.
Type II: Finding critical value for Right tailed test.
Let us suppose that 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95
Since it is right tailed test so subtract 0.5 (half area) from the value of 1 βˆ’ 𝛼
(1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45
In z-table find the value that is closest to 0.45, which is .4505. critical value will be 1.65 as
explained below. Write this value on the boundary of regection region as shown in fig above.
Type III: Finding critical value for Left tailed test.
Let us suppose that 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95
Since it is right tailed test so subtract 0.5 (half area) from the value of 1 βˆ’ 𝛼
(1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45
In z-table find the value that is closest to 0.45, which is .4505. critical value will be 1.65 as
explained below. Write this value on the boundary of regection region as shown in fig above.
Step 3 Compute the test value.
Put the values in formula for z-test
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝜎
βˆšπ‘›
and compute z.
Step 4 Make the decision to reject or not reject the null hypothesis.
Check either the value calculated in step 3 lies in acceptance region (clean region)
or in the rejection region (shaded region).
a) If z lies in acceptance region then accept 𝐻0
b) If z lies in rejection region then reject 𝐻0
Example: (Right tailed test)
A researcher reports that the average salary of assistant professors is more than
$42,000. A sample of 30 assistant professors has a mean salary of $43,260. At
𝛼 = 0.05, test the claim that assistant professors earn more than $42,000 per year.
The standard deviation of the population is $5230.
Solution:
Step 1 State the hypotheses and identify the claim.
𝐻0: πœ‡ = 42000
𝐻1: πœ‡ > 42000 [Right tailed] (This is claim of researcher)
Step 2 Find the critical value(s).
As 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95
Since it is right tailed test so subtract 0.5 (half area) from the value of (1 βˆ’ 𝛼)
(1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45
In z-table find the value that is closest to 0.45, which is .4505. critical value will be
1.65
Step 3 Compute the test value.
𝑛 = 30, π‘₯Μ… = 43260, 𝜎 = 5230
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝜎
βˆšπ‘›
=
43260 βˆ’ 42000
5230
√30
= 1.32
Step 4 Make the decision to reject or not reject the null hypothesis.
Since 1.32 lies in the acceptance region so accept 𝐻0. Further claim is rejected.
Example: (Left tailed test)
A researcher claims that the average cost of men’s athletic shoes is less than $80.
He selects a random sample of 36 pairs of shoes from a catalog and finds the
following costs (in dollars).
π‘₯Μ… = 75 , 𝜎 = 19.2
Test the claim at 𝛼 = 0.10 level of significance.
Solution:
Step 1 State the hypotheses and identify the claim.
𝐻0: πœ‡ = 80
𝐻1: πœ‡ < 80 [Left tailed] (claim)
Step 2 Find the critical value(s).
As 𝛼 is given as 0.10. Calculate 1 βˆ’ 𝛼 = 0.90
Since it is left tailed test so subtract 0.5 (half area) from the value of (1 βˆ’ 𝛼)
(1 βˆ’ 𝛼) βˆ’ 0.5 = 0.90 βˆ’ 0.5 = .4 . In z-table find the value that is closest to 0.4,
which is 0.4015. critical value will be 1.29
Step 3 Compute the test value.
𝑛 = 36, π‘₯Μ… = 75, 𝜎 = 19.2
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝜎
βˆšπ‘›
=
75 βˆ’ 80
19.2
√36
= βˆ’1.56
Step 4 Make the decision to reject or not reject the null hypothesis.
Since βˆ’1.56 lies in the rejection region so reject 𝐻0. Further claim is accepted.
Example: (Two tailed test)
The Medical Rehabilitation Education Foundation reports that the average cost of
rehabilitation for stroke victims is $24,672. To see if the average cost of
rehabilitation is different at a particular hospital, a researcher selects a random
sample of 35 stroke victims at the hospital and finds that the average cost of their
rehabilitation is $25,226. The standard deviation of the population is $3251. At
𝛼 = 0.01, can it be concluded that the average cost of stroke rehabilitation at a
particular hospital is different from $24,672?
Solution:
Step 1 State the hypotheses and identify the claim.
𝐻0: πœ‡ = 24672
𝐻1: πœ‡ β‰  24672 [Two tailed] (claim)
Step 2 Find the critical value(s).
As 𝛼 is given as 0.01. Calculate 1 βˆ’ 𝛼 = 0.99
Since it is two tailed test so divided the value of (1 βˆ’ 𝛼) by 2
1 βˆ’ 𝛼
2
=
0.99
2
= 0.495
In z-table find the value that is closest to 0.495 which is .4951. critical value will
be 2.58 .
Step 3 Compute the test value.
𝑛 = 35, π‘₯Μ… = 25226, 𝜎 = 3251
𝑧 =
π‘₯
Μ… βˆ’ πœ‡
𝜎
βˆšπ‘›
=
25226 βˆ’ 24672
3251
√35
= 1.01
Step 4 Make the decision to reject or not reject the null hypothesis.
Since 1.01 lies in the acceptance region so accept 𝐻0. Further claim is rejected.

More Related Content

Similar to 2. z-test for mean.pdf

Non Parametric Statistics
Non Parametric StatisticsNon Parametric Statistics
Non Parametric Statisticsjennytuazon01630
Β 
Week8 livelecture2010
Week8 livelecture2010Week8 livelecture2010
Week8 livelecture2010Brent Heard
Β 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis TestingFarhan Alfin
Β 
Statr session 15 and 16
Statr session 15 and 16Statr session 15 and 16
Statr session 15 and 16Ruru Chowdhury
Β 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptSolomonkiplimo
Β 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit testAldrin Lozano
Β 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single meanNadeem Uddin
Β 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Ruru Chowdhury
Β 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18Ruru Chowdhury
Β 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptxdangwalakash07
Β 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdfShivakumar B N
Β 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric testRabin BK
Β 
Week8 livelecture2010 follow_up
Week8 livelecture2010 follow_upWeek8 livelecture2010 follow_up
Week8 livelecture2010 follow_upBrent Heard
Β 
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...Ranjani Balu
Β 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-TestRoger Binschus
Β 
Test of significance
Test of significanceTest of significance
Test of significanceDr. Imran Zaheer
Β 
How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...Umair Raza
Β 

Similar to 2. z-test for mean.pdf (20)

Non Parametric Statistics
Non Parametric StatisticsNon Parametric Statistics
Non Parametric Statistics
Β 
Week8 livelecture2010
Week8 livelecture2010Week8 livelecture2010
Week8 livelecture2010
Β 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
Β 
Statr session 15 and 16
Statr session 15 and 16Statr session 15 and 16
Statr session 15 and 16
Β 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
Β 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit test
Β 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single mean
Β 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
Β 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
Β 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptx
Β 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
Β 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric test
Β 
Hypothesis
HypothesisHypothesis
Hypothesis
Β 
Week8 livelecture2010 follow_up
Week8 livelecture2010 follow_upWeek8 livelecture2010 follow_up
Week8 livelecture2010 follow_up
Β 
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...
To Interpret the SPSS table of Independent sample T-Test, Paired sample T-Tes...
Β 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-Test
Β 
Two Means, Independent Samples
Two Means, Independent SamplesTwo Means, Independent Samples
Two Means, Independent Samples
Β 
Test of significance
Test of significanceTest of significance
Test of significance
Β 
How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...
Β 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
Β 

Recently uploaded

BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
Β 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
Β 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...lizamodels9
Β 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
Β 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
Β 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
Β 
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCRsoniya singh
Β 
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDF
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDFCATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDF
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDFOrient Homes
Β 
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCRsoniya singh
Β 
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...lizamodels9
Β 
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...lizamodels9
Β 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
Β 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxAbhayThakur200703
Β 
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...lizamodels9
Β 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiMalviyaNagarCallGirl
Β 
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCRsoniya singh
Β 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
Β 
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherA.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherPerry Belcher
Β 
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxBanana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxgeorgebrinton95
Β 

Recently uploaded (20)

BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
Β 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
Β 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❀️8860477959 Escorts...
Β 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
Β 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
Β 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Β 
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Hauz Khas πŸ” Delhi NCR
Β 
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDF
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDFCATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDF
CATALOG cΓ‘p Δ‘iện Goldcup (bαΊ£ng giΓ‘) 1.4.2024.PDF
Β 
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Keshav Puram πŸ” Delhi NCR
Β 
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❀️8860477959_Russian 100% Genuine Escorts I...
Β 
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❀️8860477959 Escorts 100% Genuine Servi...
Β 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
Β 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Β 
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❀️88604**77959_Russian 100% Genuine Escor...
Β 
KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)
Β 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
Β 
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR
(8264348440) πŸ” Call Girls In Mahipalpur πŸ” Delhi NCR
Β 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
Β 
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherA.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
Β 
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxBanana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Β 

2. z-test for mean.pdf

  • 1. Hypothesis Testing Researchers are interested in answering many types of questions. For example, i. A scientist might want to know whether the earth is warming up. ii. A physician might want to know whether a new medication will lower a person’s blood pressure. iii. An educator might wish to see whether a new teaching technique is better than a traditional one. iv. A retail merchant might want to know whether the public prefers a certain color in a new line of fashion. v. Automobile manufacturers are interested in determining whether seat belts will reduce the severity of injuries caused by accidents. These types of questions can be addressed through statistical hypothesis testing, which is a decision-making process for evaluating claims about a population. z-test for mean: The z test is a statistical test for the mean of a population. It can be used when 𝑛 β‰₯ 30, or when the population is normally distributed and s is known. The formula for the z test is 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝜎 βˆšπ‘› where π‘₯Μ… = sample mean
  • 2. πœ‡ = hypothesized population mean 𝜎 = population standard deviation n = sample size When population is normally distributed and s is known then 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝑠 βˆšπ‘› Steps involving in hypothesis testing: Step 1 State the hypotheses and identify the claim. Step 2 Find the critical value(s). Step 3 Compute the test value. Step 4 Make the decision to reject or not reject the null hypothesis. Explanation of each step Step 1 State the hypotheses and identify the claim. There can be three types of this step. Type I: Two tailed test 𝐻0: πœ‡ = πœ‡0 𝐻1: πœ‡ β‰  πœ‡0 [Two tailed]
  • 3. Type II: Right tailed test 𝐻0: πœ‡ = πœ‡0 𝐻1: πœ‡ > πœ‡0 [Right tailed] Type III: Left tailed test 𝐻0: πœ‡ = πœ‡0 𝐻1: πœ‡ < πœ‡0 [Left tailed]
  • 4. Step 2 Find the critical value(s). The critical value separates the rejection region from the acceptance region. The symbol for critical value is C.V. Finding the critical values depends on value of 𝛼 and which tailed test it is. We are going to discuss again three types to find critical value.
  • 5. Type I: Finding critical value for two tailed test. Let us suppose that 𝛼 is given as 0.01. Calculate 1 βˆ’ 𝛼 = 0.99 Since it is two tailed test so divided the value of 1 βˆ’ 𝛼 by 2 1 βˆ’ 𝛼 2 = 0.99 2 = 0.495 In z-table find the value that is closest to 0.495 which is .4951. critical value will be 2.58 as explained below. Write this value on the boundary of regection region as shown in fig above.
  • 6. Type II: Finding critical value for Right tailed test. Let us suppose that 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95 Since it is right tailed test so subtract 0.5 (half area) from the value of 1 βˆ’ 𝛼 (1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45 In z-table find the value that is closest to 0.45, which is .4505. critical value will be 1.65 as explained below. Write this value on the boundary of regection region as shown in fig above.
  • 7. Type III: Finding critical value for Left tailed test. Let us suppose that 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95 Since it is right tailed test so subtract 0.5 (half area) from the value of 1 βˆ’ 𝛼 (1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45 In z-table find the value that is closest to 0.45, which is .4505. critical value will be 1.65 as explained below. Write this value on the boundary of regection region as shown in fig above.
  • 8. Step 3 Compute the test value. Put the values in formula for z-test 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝜎 βˆšπ‘› and compute z. Step 4 Make the decision to reject or not reject the null hypothesis. Check either the value calculated in step 3 lies in acceptance region (clean region) or in the rejection region (shaded region). a) If z lies in acceptance region then accept 𝐻0 b) If z lies in rejection region then reject 𝐻0
  • 9. Example: (Right tailed test) A researcher reports that the average salary of assistant professors is more than $42,000. A sample of 30 assistant professors has a mean salary of $43,260. At 𝛼 = 0.05, test the claim that assistant professors earn more than $42,000 per year. The standard deviation of the population is $5230. Solution: Step 1 State the hypotheses and identify the claim. 𝐻0: πœ‡ = 42000 𝐻1: πœ‡ > 42000 [Right tailed] (This is claim of researcher) Step 2 Find the critical value(s). As 𝛼 is given as 0.05. Calculate 1 βˆ’ 𝛼 = 0.95 Since it is right tailed test so subtract 0.5 (half area) from the value of (1 βˆ’ 𝛼) (1 βˆ’ 𝛼) βˆ’ 0.5 = 0.95 βˆ’ 0.5 = .45 In z-table find the value that is closest to 0.45, which is .4505. critical value will be 1.65
  • 10. Step 3 Compute the test value. 𝑛 = 30, π‘₯Μ… = 43260, 𝜎 = 5230 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝜎 βˆšπ‘› = 43260 βˆ’ 42000 5230 √30 = 1.32 Step 4 Make the decision to reject or not reject the null hypothesis. Since 1.32 lies in the acceptance region so accept 𝐻0. Further claim is rejected.
  • 11. Example: (Left tailed test) A researcher claims that the average cost of men’s athletic shoes is less than $80. He selects a random sample of 36 pairs of shoes from a catalog and finds the following costs (in dollars). π‘₯Μ… = 75 , 𝜎 = 19.2 Test the claim at 𝛼 = 0.10 level of significance. Solution: Step 1 State the hypotheses and identify the claim. 𝐻0: πœ‡ = 80 𝐻1: πœ‡ < 80 [Left tailed] (claim) Step 2 Find the critical value(s). As 𝛼 is given as 0.10. Calculate 1 βˆ’ 𝛼 = 0.90 Since it is left tailed test so subtract 0.5 (half area) from the value of (1 βˆ’ 𝛼) (1 βˆ’ 𝛼) βˆ’ 0.5 = 0.90 βˆ’ 0.5 = .4 . In z-table find the value that is closest to 0.4, which is 0.4015. critical value will be 1.29
  • 12. Step 3 Compute the test value. 𝑛 = 36, π‘₯Μ… = 75, 𝜎 = 19.2 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝜎 βˆšπ‘› = 75 βˆ’ 80 19.2 √36 = βˆ’1.56 Step 4 Make the decision to reject or not reject the null hypothesis. Since βˆ’1.56 lies in the rejection region so reject 𝐻0. Further claim is accepted.
  • 13. Example: (Two tailed test) The Medical Rehabilitation Education Foundation reports that the average cost of rehabilitation for stroke victims is $24,672. To see if the average cost of rehabilitation is different at a particular hospital, a researcher selects a random sample of 35 stroke victims at the hospital and finds that the average cost of their rehabilitation is $25,226. The standard deviation of the population is $3251. At 𝛼 = 0.01, can it be concluded that the average cost of stroke rehabilitation at a particular hospital is different from $24,672? Solution: Step 1 State the hypotheses and identify the claim. 𝐻0: πœ‡ = 24672 𝐻1: πœ‡ β‰  24672 [Two tailed] (claim)
  • 14. Step 2 Find the critical value(s). As 𝛼 is given as 0.01. Calculate 1 βˆ’ 𝛼 = 0.99 Since it is two tailed test so divided the value of (1 βˆ’ 𝛼) by 2 1 βˆ’ 𝛼 2 = 0.99 2 = 0.495 In z-table find the value that is closest to 0.495 which is .4951. critical value will be 2.58 .
  • 15. Step 3 Compute the test value. 𝑛 = 35, π‘₯Μ… = 25226, 𝜎 = 3251 𝑧 = π‘₯ Μ… βˆ’ πœ‡ 𝜎 βˆšπ‘› = 25226 βˆ’ 24672 3251 √35 = 1.01 Step 4 Make the decision to reject or not reject the null hypothesis. Since 1.01 lies in the acceptance region so accept 𝐻0. Further claim is rejected.