SlideShare a Scribd company logo
1 of 52
Calculating a
Single-Sample Z Test
We first determine the z-critical for our question.
For example, if we determine that our decision rule is
that we will reject the null hypothesis if the p value is
less than .05,
For example, if we determine that our decision rule is
that we will reject the null hypothesis if the p value is
less than .05, then we are saying that we are willing
live with the probability of being wrong 5 times out of
100 (.05) or 1 time out of 20.
With a cut off of .05, if we hypothesize that sample has
a higher value than the population then our cut off z-
score would be 1.64 (this can be located in a z-table)
With a cut off of .05, if we hypothesize that sample has
a higher value than the population then our cut off z-
score would be 1.64 (this can be located in a z-table)
95%
mean-1σ +1σ-2σ +2σ
Common
+1.64
rare
With a cut off of .05, if we hypothesize that sample has
a lower value than the population then our cut off z-
score would be -1.64 (this can be located in a z-table)
With a cut off of .05, if we hypothesize that sample has
a lower value than the population then our cut off z-
score would be -1.64 (this can be located in a z-table)
95%
mean-1σ +1σ-2σ +2σ
Common
+1.64
rare
With a cut off of .05, if we hypothesize that sample
could have either a lower or higher value than the
population then our cut off z-scores would be -1.96
and +1.96
With a cut off of .05, if we hypothesize that sample
could have either a lower or higher value than the
population then our cut off z-scores would be -1.96
and +1.96
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96
So if the z statistic we calculate is less than -1.96
(e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we
will consider this to be a rare event and reject the null
hypothesis and state that there is a statistically
significant difference between .9 (population) and .82
(the sample).
So if the z statistic we calculate is less than -1.96
(e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we
will consider this to be a rare event and reject the null
hypothesis and state that there is a statistically
significant difference between .9 (population) and .82
(the sample).
Let’s calculate the z statistic and see where if falls!
So if the z statistic we calculate is less than -1.96
(e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we
will consider this to be a rare event and reject the null
hypothesis and state that there is a statistically
significant difference between .9 (population) and .82
(the sample).
Let’s calculate the z statistic and see where if falls!
We do this by using the following equation:
So if the z statistic we calculate is less than -1.96
(e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we
will consider this to be a rare event and reject the null
hypothesis and state that there is a statistically
significant difference between .9 (population) and .82
(the sample).
Let’s calculate the z statistic and see where if falls!
We do this by using the following equation:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
So if the z statistic we calculate is less than -1.96
(e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we
will consider this to be a rare event and reject the null
hypothesis and state that there is a statistically
significant difference between .9 (population) and .82
(the sample).
Let’s calculate the z statistic and see where if falls!
We do this by using the following equation:
Zstatistic is what we are trying to find to see if it is
outside or inside the z critical values (-1.96 and +1.96).
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
Here’s the problem again:
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
𝒑 is the proportion from the sample that
recommended aspirin to their patients (. 𝟖𝟐)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
𝒑 is the proportion from the sample that
recommended aspirin to their patients (. 𝟖𝟐)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
Note – this little
hat ( 𝑝) over the
p means that
this proportion
is an estimate
of a population
𝐩 is the proportion from the population that
recommended aspirin to their patients (.90)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
𝒏 is the size of the sample (100)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
𝒏 is the size of the sample (100)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
𝒏 is the size of the sample (100)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
Let’s plug in the numbers
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − 𝑝
𝑝(1 − 𝑝)
𝑛
Sample Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − 𝑝
𝑝(1 − 𝑝)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Sample Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − 𝑝
𝑝(1 − 𝑝)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Sample Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − .90
.90(1 − .90)
𝑛
Population Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − .90
.90(1 − .90)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Population Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − .90
.90(1 − .90)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Population Proportion
The difference
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − .90
.90(1 − .90)
𝑛
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
The difference
Now for the denominator which is the estimated
standard error. This value will help us know how many
standard error units .82 and .90 are apart from one
another (we already know they are .08 raw units apart)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
Now for the denominator which is the estimated
standard error. This value will help us know how many
standard error units .82 and .90 are apart from one
another (we already know they are .08 raw units apart)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
Note - If the standard error is small then the z statistic
will be larger. The larger the z statistics the more likely
that it will exceed the -1.96 or +1.96 boundaries,
compelling us to reject the null hypothesis. If it is
smaller than we will not.
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
Let’s continue our calculations and find out:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Let’s continue our calculations and find out:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(.10)
𝑛
Let’s continue our calculations and find out:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.09
𝑛
Let’s continue our calculations and find out:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.09
100
Sample Size:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.09
100
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Sample Size:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.0009
Let‘s continue our calculations:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.03
Let‘s continue our calculations:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67
Let‘s continue our calculations:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67
Let‘s continue our calculations:
Now we have our z statistic.
Let’s go back to our distribution:
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96
Let’s go back to our distribution: So, is this result
rare or common?
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96-2.67
Let’s go back to our distribution: So, is this result
rare or common?
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96
This is the
Z-Statistic we
calculated
-2.67
Let’s go back to our distribution: So, is this result
rare or common?
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96-2.67
This is the
Z – Critical
Looks like it is a rare event therefore we will reject the
null hypothesis in favor of the alternative hypothesis:
Looks like it is a rare event therefore we will reject the
null hypothesis in favor of the alternative hypothesis:
The proportion of a sample of 100 medical doctors
who recommend aspirin for their patients with
headaches IS statistically significantly different from
the claim that 9 out of 10 doctors recommend aspirin
for their patients with headaches.

More Related Content

What's hot

Quantitative Research
Quantitative ResearchQuantitative Research
Quantitative ResearchJack Frost
 
Research question presentation
Research question presentationResearch question presentation
Research question presentationBasharat Mirza
 
Formulation of research questions
Formulation of research questionsFormulation of research questions
Formulation of research questionsKaimrc_Rss_Jd
 
importance-of-research-across-fields.pptx
importance-of-research-across-fields.pptximportance-of-research-across-fields.pptx
importance-of-research-across-fields.pptxMariaLizaCamo1
 
2012 choosing a research topic
2012 choosing a research topic2012 choosing a research topic
2012 choosing a research topiccherylyap61
 
Logic FORMAL FALLACIES
Logic FORMAL FALLACIESLogic FORMAL FALLACIES
Logic FORMAL FALLACIESMuhammad Asad
 
Conditional Statements
Conditional StatementsConditional Statements
Conditional Statementsmicdsram
 
Choosing a Research Topic
Choosing a Research TopicChoosing a Research Topic
Choosing a Research TopicAndrew Walsh
 
Continental philosophy
Continental philosophyContinental philosophy
Continental philosophytjmartin72768
 
Markup and markdown
Markup and markdownMarkup and markdown
Markup and markdownforeverun
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypothesesAniket Verma
 
RESEARCH GAP & RESEARCH ETHICSP
RESEARCH GAP & RESEARCH ETHICSPRESEARCH GAP & RESEARCH ETHICSP
RESEARCH GAP & RESEARCH ETHICSPaardhra gowry
 
sampling techniques.pdf
sampling techniques.pdfsampling techniques.pdf
sampling techniques.pdfschool
 
Literature Review Worksheet
Literature Review WorksheetLiterature Review Worksheet
Literature Review WorksheetSam Landfried
 

What's hot (20)

Applied research
Applied researchApplied research
Applied research
 
Quantitative Research
Quantitative ResearchQuantitative Research
Quantitative Research
 
Research question presentation
Research question presentationResearch question presentation
Research question presentation
 
Formulation of research questions
Formulation of research questionsFormulation of research questions
Formulation of research questions
 
Test for mean
Test for meanTest for mean
Test for mean
 
importance-of-research-across-fields.pptx
importance-of-research-across-fields.pptximportance-of-research-across-fields.pptx
importance-of-research-across-fields.pptx
 
2012 choosing a research topic
2012 choosing a research topic2012 choosing a research topic
2012 choosing a research topic
 
Logic FORMAL FALLACIES
Logic FORMAL FALLACIESLogic FORMAL FALLACIES
Logic FORMAL FALLACIES
 
RESEARCH OBJECTIVES
RESEARCH OBJECTIVESRESEARCH OBJECTIVES
RESEARCH OBJECTIVES
 
Ethical consideration in research
Ethical consideration in researchEthical consideration in research
Ethical consideration in research
 
Conditional Statements
Conditional StatementsConditional Statements
Conditional Statements
 
Choosing a Research Topic
Choosing a Research TopicChoosing a Research Topic
Choosing a Research Topic
 
Types of variables in research
Types of variables in research Types of variables in research
Types of variables in research
 
Continental philosophy
Continental philosophyContinental philosophy
Continental philosophy
 
Markup and markdown
Markup and markdownMarkup and markdown
Markup and markdown
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypotheses
 
RESEARCH GAP & RESEARCH ETHICSP
RESEARCH GAP & RESEARCH ETHICSPRESEARCH GAP & RESEARCH ETHICSP
RESEARCH GAP & RESEARCH ETHICSP
 
sampling techniques.pdf
sampling techniques.pdfsampling techniques.pdf
sampling techniques.pdf
 
Literature Review Worksheet
Literature Review WorksheetLiterature Review Worksheet
Literature Review Worksheet
 
Lecture on philo of man
Lecture on philo of manLecture on philo of man
Lecture on philo of man
 

Viewers also liked

Inter item reliability with surveys
Inter item reliability with surveysInter item reliability with surveys
Inter item reliability with surveysKen Plummer
 
Reporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAReporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAKen Plummer
 
Reporting the wilcoxon signed ranks test
Reporting the wilcoxon signed ranks testReporting the wilcoxon signed ranks test
Reporting the wilcoxon signed ranks testKen Plummer
 
Reporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAReporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAKen Plummer
 
What is a Point Biserial Correlation?
What is a Point Biserial Correlation?What is a Point Biserial Correlation?
What is a Point Biserial Correlation?Ken Plummer
 
Reporting an independent sample t test
Reporting an independent sample t testReporting an independent sample t test
Reporting an independent sample t testKen Plummer
 
Reporting a one way repeated measures anova
Reporting a one way repeated measures anovaReporting a one way repeated measures anova
Reporting a one way repeated measures anovaKen Plummer
 
Reporting a multiple linear regression in apa
Reporting a multiple linear regression in apaReporting a multiple linear regression in apa
Reporting a multiple linear regression in apaKen Plummer
 
Reporting pearson correlation in apa
Reporting pearson correlation in apaReporting pearson correlation in apa
Reporting pearson correlation in apaKen Plummer
 
Reporting a single linear regression in apa
Reporting a single linear regression in apaReporting a single linear regression in apa
Reporting a single linear regression in apaKen Plummer
 
Reporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APAReporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APAKen Plummer
 
What is a Kendall's Tau (independence)?
What is a Kendall's Tau (independence)?What is a Kendall's Tau (independence)?
What is a Kendall's Tau (independence)?Ken Plummer
 
What is a nonparametric method?
What is a nonparametric method?What is a nonparametric method?
What is a nonparametric method?Ken Plummer
 
How many levels?
How many levels?How many levels?
How many levels?Ken Plummer
 
How many dependent variables?
How many dependent variables?How many dependent variables?
How many dependent variables?Ken Plummer
 
What single samples t test (2)?
What single samples t test (2)?What single samples t test (2)?
What single samples t test (2)?Ken Plummer
 
What is a Single Linear Regression
What is a Single Linear RegressionWhat is a Single Linear Regression
What is a Single Linear RegressionKen Plummer
 
Differences between non parametric tests of independence
Differences between non parametric tests of independenceDifferences between non parametric tests of independence
Differences between non parametric tests of independenceKen Plummer
 
What is a parametric method?
What is a parametric method?What is a parametric method?
What is a parametric method?Ken Plummer
 
Is there a covariate?
Is there a covariate?Is there a covariate?
Is there a covariate?Ken Plummer
 

Viewers also liked (20)

Inter item reliability with surveys
Inter item reliability with surveysInter item reliability with surveys
Inter item reliability with surveys
 
Reporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAReporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APA
 
Reporting the wilcoxon signed ranks test
Reporting the wilcoxon signed ranks testReporting the wilcoxon signed ranks test
Reporting the wilcoxon signed ranks test
 
Reporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAReporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APA
 
What is a Point Biserial Correlation?
What is a Point Biserial Correlation?What is a Point Biserial Correlation?
What is a Point Biserial Correlation?
 
Reporting an independent sample t test
Reporting an independent sample t testReporting an independent sample t test
Reporting an independent sample t test
 
Reporting a one way repeated measures anova
Reporting a one way repeated measures anovaReporting a one way repeated measures anova
Reporting a one way repeated measures anova
 
Reporting a multiple linear regression in apa
Reporting a multiple linear regression in apaReporting a multiple linear regression in apa
Reporting a multiple linear regression in apa
 
Reporting pearson correlation in apa
Reporting pearson correlation in apaReporting pearson correlation in apa
Reporting pearson correlation in apa
 
Reporting a single linear regression in apa
Reporting a single linear regression in apaReporting a single linear regression in apa
Reporting a single linear regression in apa
 
Reporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APAReporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APA
 
What is a Kendall's Tau (independence)?
What is a Kendall's Tau (independence)?What is a Kendall's Tau (independence)?
What is a Kendall's Tau (independence)?
 
What is a nonparametric method?
What is a nonparametric method?What is a nonparametric method?
What is a nonparametric method?
 
How many levels?
How many levels?How many levels?
How many levels?
 
How many dependent variables?
How many dependent variables?How many dependent variables?
How many dependent variables?
 
What single samples t test (2)?
What single samples t test (2)?What single samples t test (2)?
What single samples t test (2)?
 
What is a Single Linear Regression
What is a Single Linear RegressionWhat is a Single Linear Regression
What is a Single Linear Regression
 
Differences between non parametric tests of independence
Differences between non parametric tests of independenceDifferences between non parametric tests of independence
Differences between non parametric tests of independence
 
What is a parametric method?
What is a parametric method?What is a parametric method?
What is a parametric method?
 
Is there a covariate?
Is there a covariate?Is there a covariate?
Is there a covariate?
 

Similar to Calculating a single sample z test

Calculating a single sample z test by hand
Calculating a single sample z test by handCalculating a single sample z test by hand
Calculating a single sample z test by handKen Plummer
 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)CTLTLA
 
What is a Single Sample Z Test?
What is a Single Sample Z Test?What is a Single Sample Z Test?
What is a Single Sample Z Test?Ken Plummer
 
Calculating a two sample z test by hand
Calculating a two sample z test by handCalculating a two sample z test by hand
Calculating a two sample z test by handKen Plummer
 
What is a two sample z test?
What is a two sample z test?What is a two sample z test?
What is a two sample z test?Ken Plummer
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard errordharazalavadiya
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan EkonometrikaXYZ Williams
 
Normal Distribution
Normal DistributionNormal Distribution
Normal DistributionNevIlle16
 
Steps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docxSteps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docxdessiechisomjj4
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.pptAndrei33323
 
Chi Square
Chi SquareChi Square
Chi SquareJolie Yu
 
Lecture_Wk08.pdf
Lecture_Wk08.pdfLecture_Wk08.pdf
Lecture_Wk08.pdfNiel89
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statisticsRamachandra Barik
 
2_5332511410507220042.ppt
2_5332511410507220042.ppt2_5332511410507220042.ppt
2_5332511410507220042.pptnedalalazzwy
 
Statistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsStatistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsEugene Yan Ziyou
 
Confidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxConfidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxmaxinesmith73660
 

Similar to Calculating a single sample z test (20)

Calculating a single sample z test by hand
Calculating a single sample z test by handCalculating a single sample z test by hand
Calculating a single sample z test by hand
 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
 
What is a Single Sample Z Test?
What is a Single Sample Z Test?What is a Single Sample Z Test?
What is a Single Sample Z Test?
 
Calculating a two sample z test by hand
Calculating a two sample z test by handCalculating a two sample z test by hand
Calculating a two sample z test by hand
 
What is a two sample z test?
What is a two sample z test?What is a two sample z test?
What is a two sample z test?
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard error
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan Ekonometrika
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statistics
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Steps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docxSteps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docx
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt
 
U unit8 ksb
U unit8 ksbU unit8 ksb
U unit8 ksb
 
Chi Square
Chi SquareChi Square
Chi Square
 
Chi Square
Chi SquareChi Square
Chi Square
 
Lecture_Wk08.pdf
Lecture_Wk08.pdfLecture_Wk08.pdf
Lecture_Wk08.pdf
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statistics
 
2_5332511410507220042.ppt
2_5332511410507220042.ppt2_5332511410507220042.ppt
2_5332511410507220042.ppt
 
Statistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsStatistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-tests
 
Statistics78 (2)
Statistics78 (2)Statistics78 (2)
Statistics78 (2)
 
Confidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxConfidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docx
 

More from Ken Plummer

Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Ken Plummer
 
Learn About Range - Copyright updated
Learn About Range - Copyright updatedLearn About Range - Copyright updated
Learn About Range - Copyright updatedKen Plummer
 
Inferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedInferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedKen Plummer
 
Diff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedDiff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedKen Plummer
 
Normal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedNormal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedKen Plummer
 
Normal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedNormal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedKen Plummer
 
Nature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedNature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedKen Plummer
 
Nature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedNature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedKen Plummer
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedKen Plummer
 
Nature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedNature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedKen Plummer
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaledKen Plummer
 
Skewed less than 30 (ties)
Skewed less than 30 (ties)Skewed less than 30 (ties)
Skewed less than 30 (ties)Ken Plummer
 
Skewed sample size less than 30
Skewed sample size less than 30Skewed sample size less than 30
Skewed sample size less than 30Ken Plummer
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominalKen Plummer
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariatesKen Plummer
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of dataKen Plummer
 
Number of variables (predictive)
Number of variables (predictive)Number of variables (predictive)
Number of variables (predictive)Ken Plummer
 
Levels of the iv
Levels of the ivLevels of the iv
Levels of the ivKen Plummer
 
Independent variables (2)
Independent variables (2)Independent variables (2)
Independent variables (2)Ken Plummer
 

More from Ken Plummer (20)

Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)
 
Learn About Range - Copyright updated
Learn About Range - Copyright updatedLearn About Range - Copyright updated
Learn About Range - Copyright updated
 
Inferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedInferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright Updated
 
Diff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedDiff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright Updated
 
Normal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedNormal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updated
 
Normal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedNormal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updated
 
Nature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedNature of the data practice - Copyright updated
Nature of the data practice - Copyright updated
 
Nature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedNature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updated
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updated
 
Nature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedNature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updated
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaled
 
Skewed less than 30 (ties)
Skewed less than 30 (ties)Skewed less than 30 (ties)
Skewed less than 30 (ties)
 
Skewed sample size less than 30
Skewed sample size less than 30Skewed sample size less than 30
Skewed sample size less than 30
 
Ordinal (ties)
Ordinal (ties)Ordinal (ties)
Ordinal (ties)
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominal
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariates
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of data
 
Number of variables (predictive)
Number of variables (predictive)Number of variables (predictive)
Number of variables (predictive)
 
Levels of the iv
Levels of the ivLevels of the iv
Levels of the iv
 
Independent variables (2)
Independent variables (2)Independent variables (2)
Independent variables (2)
 

Recently uploaded

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 

Recently uploaded (20)

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 

Calculating a single sample z test

  • 2. We first determine the z-critical for our question.
  • 3. For example, if we determine that our decision rule is that we will reject the null hypothesis if the p value is less than .05,
  • 4. For example, if we determine that our decision rule is that we will reject the null hypothesis if the p value is less than .05, then we are saying that we are willing live with the probability of being wrong 5 times out of 100 (.05) or 1 time out of 20.
  • 5. With a cut off of .05, if we hypothesize that sample has a higher value than the population then our cut off z- score would be 1.64 (this can be located in a z-table)
  • 6. With a cut off of .05, if we hypothesize that sample has a higher value than the population then our cut off z- score would be 1.64 (this can be located in a z-table) 95% mean-1σ +1σ-2σ +2σ Common +1.64 rare
  • 7. With a cut off of .05, if we hypothesize that sample has a lower value than the population then our cut off z- score would be -1.64 (this can be located in a z-table)
  • 8. With a cut off of .05, if we hypothesize that sample has a lower value than the population then our cut off z- score would be -1.64 (this can be located in a z-table) 95% mean-1σ +1σ-2σ +2σ Common +1.64 rare
  • 9. With a cut off of .05, if we hypothesize that sample could have either a lower or higher value than the population then our cut off z-scores would be -1.96 and +1.96
  • 10. With a cut off of .05, if we hypothesize that sample could have either a lower or higher value than the population then our cut off z-scores would be -1.96 and +1.96 rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96
  • 11. So if the z statistic we calculate is less than -1.96 (e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we will consider this to be a rare event and reject the null hypothesis and state that there is a statistically significant difference between .9 (population) and .82 (the sample).
  • 12. So if the z statistic we calculate is less than -1.96 (e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we will consider this to be a rare event and reject the null hypothesis and state that there is a statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls!
  • 13. So if the z statistic we calculate is less than -1.96 (e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we will consider this to be a rare event and reject the null hypothesis and state that there is a statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls! We do this by using the following equation:
  • 14. So if the z statistic we calculate is less than -1.96 (e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we will consider this to be a rare event and reject the null hypothesis and state that there is a statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls! We do this by using the following equation: 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛
  • 15. So if the z statistic we calculate is less than -1.96 (e.g., -1.99) or greater than +1.96 (e.g., +2.30) then we will consider this to be a rare event and reject the null hypothesis and state that there is a statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls! We do this by using the following equation: Zstatistic is what we are trying to find to see if it is outside or inside the z critical values (-1.96 and +1.96). 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛
  • 17. A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05
  • 18. A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05
  • 19. 𝒑 is the proportion from the sample that recommended aspirin to their patients (. 𝟖𝟐) 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛
  • 20. 𝒑 is the proportion from the sample that recommended aspirin to their patients (. 𝟖𝟐) 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛 Note – this little hat ( 𝑝) over the p means that this proportion is an estimate of a population
  • 21. 𝐩 is the proportion from the population that recommended aspirin to their patients (.90) 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛
  • 22. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛 𝒏 is the size of the sample (100)
  • 23. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 𝒏 is the size of the sample (100)
  • 24. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 𝒏 is the size of the sample (100)
  • 25. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛 Let’s plug in the numbers
  • 26. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − 𝑝 𝑝(1 − 𝑝) 𝑛 Sample Proportion
  • 27. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − 𝑝 𝑝(1 − 𝑝) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Sample Proportion
  • 28. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − 𝑝 𝑝(1 − 𝑝) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Sample Proportion
  • 29. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − .90 .90(1 − .90) 𝑛 Population Proportion
  • 30. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − .90 .90(1 − .90) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Population Proportion
  • 31. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − .90 .90(1 − .90) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Population Proportion
  • 32. The difference 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − .90 .90(1 − .90) 𝑛
  • 34. Now for the denominator which is the estimated standard error. This value will help us know how many standard error units .82 and .90 are apart from one another (we already know they are .08 raw units apart)
  • 35. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .90(1 − .90) 𝑛 Now for the denominator which is the estimated standard error. This value will help us know how many standard error units .82 and .90 are apart from one another (we already know they are .08 raw units apart)
  • 36. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .90(1 − .90) 𝑛 Note - If the standard error is small then the z statistic will be larger. The larger the z statistics the more likely that it will exceed the -1.96 or +1.96 boundaries, compelling us to reject the null hypothesis. If it is smaller than we will not.
  • 37. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .90(1 − .90) 𝑛 Let’s continue our calculations and find out:
  • 38. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .90(1 − .90) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Let’s continue our calculations and find out:
  • 42. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .09 100 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Sample Size:
  • 45. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67 Let‘s continue our calculations:
  • 46. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67 Let‘s continue our calculations: Now we have our z statistic.
  • 47. Let’s go back to our distribution: rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96
  • 48. Let’s go back to our distribution: So, is this result rare or common? rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96-2.67
  • 49. Let’s go back to our distribution: So, is this result rare or common? rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96 This is the Z-Statistic we calculated -2.67
  • 50. Let’s go back to our distribution: So, is this result rare or common? rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96-2.67 This is the Z – Critical
  • 51. Looks like it is a rare event therefore we will reject the null hypothesis in favor of the alternative hypothesis:
  • 52. Looks like it is a rare event therefore we will reject the null hypothesis in favor of the alternative hypothesis: The proportion of a sample of 100 medical doctors who recommend aspirin for their patients with headaches IS statistically significantly different from the claim that 9 out of 10 doctors recommend aspirin for their patients with headaches.