SlideShare a Scribd company logo
Single-Sample Z Test 
Theoretical Explanation
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion.
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion. 
30% 
Sample Mean 
(푋 ) 
30% 
Population Mean 
(휇)
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion. 
This is the 
symbol for 
a sample 
mean 
30% 
Sample Mean 
( 푿) 
30% 
Population Mean 
(휇)
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion. 
And this is the 
symbol for a 
population mean 
(called a mew) 
30% 
Sample Mean 
(푋 ) 
30% 
Population Mean 
(흁)
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion. 
30% 
Sample Mean 
(푋 ) 
Here is our question: 
30% 
Population Mean 
(휇)
A one-sample Z-test for proportions is a test that helps 
us compare a population proportion with a sample 
proportion. 
30% 
Sample Mean 
(푋 ) 
30% 
Population Mean 
(휇) 
Here is our question: Are the population and the 
sample proportions (which supposedly have the same 
general characteristics as the population) statistically 
significantly the same or different?
Consider the following example:
Consider the following example: 
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
Consider the following example: 
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 
Which is the sample?
Consider the following example: 
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 
Which is the sample? 
What is the population?
Consider the following example: 
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 
Which is the sample? 
What is the population? 
The sample proportion is .82 doctors recommending 
aspirin.
Consider the following example: 
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 
Which is the sample? 
What is the population? 
The sample proportion is .82 of doctors recommending 
aspirin. 
The population proportion .90 (the claim that 9 out of 
10 doctors recommend aspirin).
We begin by stating the null hypothesis:
We begin by stating the null hypothesis: 
The proportion of a sample of 100 medical doctors who 
recommend aspirin for their patients with headaches IS NOT 
statistically significantly different from the claim that 9 out of 
10 doctors recommend aspirin for their patients with 
headaches.
We begin by stating the null hypothesis: 
The proportion of a sample of 100 medical doctors who 
recommend aspirin for their patients with headaches IS NOT 
statistically significantly different from the claim that 9 out of 
10 doctors recommend aspirin for their patients with 
headaches. 
The alternative hypothesis would be:
We begin by stating the null hypothesis: 
The proportion of a sample of 100 medical doctors who 
recommend aspirin for their patients with headaches IS NOT 
statistically significantly different from the claim that 9 out of 
10 doctors recommend aspirin for their patients with 
headaches. 
The alternative hypothesis would be: 
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.
State the decision rule:
State the decision rule: We will calculate what is called 
the z statistic which will make it possible to determine 
the likelihood that the sample proportion (.82) is a rare 
or common occurrence with reference to the 
population proportion (.90).
State the decision rule: We will calculate what is called 
the z statistic which will make it possible to determine 
the likelihood that the sample proportion (.82) is a rare 
or common occurrence with reference to the 
population proportion (.90). 
If the z-statistic falls outside of the 95% common 
occurrences and into the 5% rare occurrences then we 
will conclude that it is a rare event and that the sample 
is different from the population and therefore reject 
the null hypothesis.
Before we calculate this z-statistic, we must locate the 
z critical values.
Before we calculate this z-statistic, we must locate the 
z critical values. 
What are the z critical values? These are the values 
that demarcate what is the rare and the common 
occurrence.
Let’s look at the normal distribution: 
It has some important properties that make it possible 
for us to locate the z statistic and compare it to the z 
critical.
Here is the mean and the median of a normal 
distribution.
50% of the values are above and below the orange 
line. 
50% - 50% +
68% of the values fall between +1 and -1 standard 
deviations from the mean. 
34% - 34% +
68% of the values fall between +1 and -1 standard 
deviations from the mean. 
34% - 34% + 
-1σ mean +1σ 
68%
68% of the values fall between +1 and -1 standard 
deviations from the mean. 
34% - 34% + 
-2σ -1σ mean +1σ +2σ 
95%
Since our decision rule is .05 alpha, this means that if 
the z value falls outside of the 95% common 
occurrences we will consider it a rare occurrence. 
34% - 34% + 
-2σ -1σ mean +1σ +2σ 
95%
Since are decision rule is .05 alpha we will see if the z 
statistic is rare using this visual 
rare rare 
-2σ -1σ mean +1σ +2σ 
2.5% 95% 
2.5%
Or common 
Common 
-2σ -1σ mean +1σ +2σ 
95%
Before we can calculate the z – statistic to see if it is 
rare or common we first must determine the z critical 
values that are associated with -2σ and +2σ. 
Common 
-2σ -1σ mean +1σ +2σ 
95%
We look these up in the Z table and find that they are - 
1.96 and +1.96 
Common 
-2σ -1σ mean +1σ +2σ 
Z values -1.96 +1.96 
95%
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: 
풛풔풕풂풕풊풔풕풊풄 = 
푝 − 푝 
푝(1 − 푝) 
푛 
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).
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 − 푝) 
푛
풏 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 − 푝) 
푛
풛풔풕풂풕풊풔풕풊풄 = 
푝 − 푝 
푝(1 − 푝) 
푛 
Let’s plug in the numbers
풛풔풕풂풕풊풔풕풊풄 = 
.82 − 푝 
푝(1 − 푝) 
푛 
Sample Proportion
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 
풛풔풕풂풕풊풔풕풊풄 = 
.82 − 푝 
푝(1 − 푝) 
푛 
Sample Proportion
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 
풛풔풕풂풕풊풔풕풊풄 = 
.82 − 푝 
푝(1 − 푝) 
푛 
Sample Proportion
풛풔풕풂풕풊풔풕풊풄 = 
.82 − .90 
.90(1 − .90) 
푛 
Population Proportion
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 
풛풔풕풂풕풊풔풕풊풄 = 
.82 − .90 
.90(1 − .90) 
푛 
Population Proportion
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 
풛풔풕풂풕풊풔풕풊풄 = 
.82 − .90 
.90(1 − .90) 
푛 
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)
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(1 − .90) 
푛
Let’s continue our calculations and find out: 
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.90(.10) 
푛
Let’s continue our calculations and find out: 
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.09 
푛
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.09 
100 
Sample Size:
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 
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.09 
100 
Sample Size:
Let‘s continue our calculations: 
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.0009
Let‘s continue our calculations: 
풛풔풕풂풕풊풔풕풊풄 = 
−.08 
.03
Let‘s continue our calculations: 
풛풔풕풂풕풊풔풕풊풄 = −2.67
Let‘s continue our calculations: 
풛풔풕풂풕풊풔풕풊풄 = −2.67 
Now we have our z statistic.
Let’s go back to our distribution: 
Common 
rare rare 
-2σ -1σ mean +1σ +2σ 
-1.96 +1.96 
95%
Let’s go back to our distribution: So, is this result 
rare or common? 
Common 
rare rare 
-2σ -1σ mean +1σ +2σ 
-2.67 -1.96 +1.96 
95%
Let’s go back to our distribution: So, is this result 
rare or common? 
Common 
rare rare 
-2σ -1σ mean +1σ +2σ 
-1.96 +1.96 
95% 
-2.67 
This is the 
Z-Statistic we 
calculated
Let’s go back to our distribution: So, is this result 
rare or common? 
Common 
rare rare 
-2σ -1σ mean +1σ +2σ 
-2.67 -1.96 +1.96 
95% 
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

Z-test
Z-testZ-test
Z-test
femymoni
 
T test statistics
T test statisticsT test statistics
T test statistics
Mohammad Ihmeidan
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
doublem44
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
Sharlaine Ruth
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
Parag Shah
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
T test
T testT test
T test
ashishjaswal
 
Point Estimation
Point Estimation Point Estimation
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsMaria Theresa
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
Azmi Mohd Tamil
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Kalyan Acharjya
 
Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student
Dr. Rupendra Bharti
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
Andi Koentary
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
HanaaBayomy
 
multiple regression
multiple regressionmultiple regression
multiple regression
Priya Sharma
 
Independent sample t test
Independent sample t testIndependent sample t test
Independent sample t test
Shajar Khan
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
Asmita Bhagdikar
 

What's hot (20)

Z-test
Z-testZ-test
Z-test
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
T test
T testT test
T test
 
Point Estimation
Point Estimation Point Estimation
Point Estimation
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Z test
Z testZ test
Z test
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
Independent sample t test
Independent sample t testIndependent sample t test
Independent sample t test
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 

Viewers also liked

Z test
Z testZ test
Z test
kagil
 
Parametric tests
Parametric testsParametric tests
Parametric tests
Ananya Sree Katta
 
Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
Cotton Research Institute Multan
 
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
 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-TestRoger Binschus
 
Parametric tests
Parametric testsParametric tests
Parametric tests
heena45
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
Shakehand with Life
 

Viewers also liked (7)

Z test
Z testZ test
Z test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-Test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 

Similar to What is a Single Sample Z Test?

Calculating a single sample z test
Calculating a single sample z testCalculating a single sample z test
Calculating a single sample z test
Ken Plummer
 
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
Ken Plummer
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statistics
Hesham Al-Inany
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard error
dharazalavadiya
 
Risk factors explained_v01
Risk factors explained_v01Risk factors explained_v01
Risk factors explained_v01
Nick Portokallidis
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt
Andrei33323
 
Normal and standard normal distribution
Normal and standard normal distributionNormal and standard normal distribution
Normal and standard normal distribution
Avjinder (Avi) Kaler
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan Ekonometrika
XYZ Williams
 
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
maxinesmith73660
 
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
Ken Plummer
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statistics
Ramachandra Barik
 
Lecture_Wk08.pdf
Lecture_Wk08.pdfLecture_Wk08.pdf
Lecture_Wk08.pdf
Niel89
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptions
Qussai Abbas
 
2014 lab slides_mo_a
2014 lab slides_mo_a2014 lab slides_mo_a
2014 lab slides_mo_a
A M
 
Standard Error & Confidence Intervals.pptx
Standard Error & Confidence Intervals.pptxStandard Error & Confidence Intervals.pptx
Standard Error & Confidence Intervals.pptx
hanyiasimple
 
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Universidad Particular de Loja
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
NevIlle16
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
EasyStudy3
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theory
Kaimrc_Rss_Jd
 

Similar to What is a Single Sample Z Test? (20)

Calculating a single sample z test
Calculating a single sample z testCalculating a single sample z test
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 hand
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statistics
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard error
 
Risk factors explained_v01
Risk factors explained_v01Risk factors explained_v01
Risk factors explained_v01
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt
 
Normal and standard normal distribution
Normal and standard normal distributionNormal and standard normal distribution
Normal and standard normal distribution
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan Ekonometrika
 
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
 
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
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statistics
 
Lecture_Wk08.pdf
Lecture_Wk08.pdfLecture_Wk08.pdf
Lecture_Wk08.pdf
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptions
 
2014 lab slides_mo_a
2014 lab slides_mo_a2014 lab slides_mo_a
2014 lab slides_mo_a
 
Standard Error & Confidence Intervals.pptx
Standard Error & Confidence Intervals.pptxStandard Error & Confidence Intervals.pptx
Standard Error & Confidence Intervals.pptx
 
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theory
 

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 updated
Ken 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 Updated
Ken 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 Updated
Ken 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 updated
Ken 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 updated
Ken 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 updated
Ken 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 updated
Ken Plummer
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updated
Ken 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 updated
Ken Plummer
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaled
Ken 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 30
Ken Plummer
 
Ordinal (ties)
Ordinal (ties)Ordinal (ties)
Ordinal (ties)
Ken Plummer
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominal
Ken Plummer
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariates
Ken Plummer
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of data
Ken 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 iv
Ken 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

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

What is a Single Sample Z Test?

  • 1. Single-Sample Z Test Theoretical Explanation
  • 2. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion.
  • 3. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. 30% Sample Mean (푋 ) 30% Population Mean (휇)
  • 4. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. This is the symbol for a sample mean 30% Sample Mean ( 푿) 30% Population Mean (휇)
  • 5. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. And this is the symbol for a population mean (called a mew) 30% Sample Mean (푋 ) 30% Population Mean (흁)
  • 6. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. 30% Sample Mean (푋 ) Here is our question: 30% Population Mean (휇)
  • 7. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. 30% Sample Mean (푋 ) 30% Population Mean (휇) Here is our question: Are the population and the sample proportions (which supposedly have the same general characteristics as the population) statistically significantly the same or different?
  • 9. Consider the following example: 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
  • 10. Consider the following example: 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 Which is the sample?
  • 11. Consider the following example: 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 Which is the sample? What is the population?
  • 12. Consider the following example: 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 Which is the sample? What is the population? The sample proportion is .82 doctors recommending aspirin.
  • 13. Consider the following example: 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 Which is the sample? What is the population? The sample proportion is .82 of doctors recommending aspirin. The population proportion .90 (the claim that 9 out of 10 doctors recommend aspirin).
  • 14. We begin by stating the null hypothesis:
  • 15. We begin by stating the null hypothesis: The proportion of a sample of 100 medical doctors who recommend aspirin for their patients with headaches IS NOT statistically significantly different from the claim that 9 out of 10 doctors recommend aspirin for their patients with headaches.
  • 16. We begin by stating the null hypothesis: The proportion of a sample of 100 medical doctors who recommend aspirin for their patients with headaches IS NOT statistically significantly different from the claim that 9 out of 10 doctors recommend aspirin for their patients with headaches. The alternative hypothesis would be:
  • 17. We begin by stating the null hypothesis: The proportion of a sample of 100 medical doctors who recommend aspirin for their patients with headaches IS NOT statistically significantly different from the claim that 9 out of 10 doctors recommend aspirin for their patients with headaches. The alternative hypothesis would be: 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.
  • 19. State the decision rule: We will calculate what is called the z statistic which will make it possible to determine the likelihood that the sample proportion (.82) is a rare or common occurrence with reference to the population proportion (.90).
  • 20. State the decision rule: We will calculate what is called the z statistic which will make it possible to determine the likelihood that the sample proportion (.82) is a rare or common occurrence with reference to the population proportion (.90). If the z-statistic falls outside of the 95% common occurrences and into the 5% rare occurrences then we will conclude that it is a rare event and that the sample is different from the population and therefore reject the null hypothesis.
  • 21. Before we calculate this z-statistic, we must locate the z critical values.
  • 22. Before we calculate this z-statistic, we must locate the z critical values. What are the z critical values? These are the values that demarcate what is the rare and the common occurrence.
  • 23. Let’s look at the normal distribution: It has some important properties that make it possible for us to locate the z statistic and compare it to the z critical.
  • 24. Here is the mean and the median of a normal distribution.
  • 25. 50% of the values are above and below the orange line. 50% - 50% +
  • 26. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% +
  • 27. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% + -1σ mean +1σ 68%
  • 28. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% + -2σ -1σ mean +1σ +2σ 95%
  • 29. Since our decision rule is .05 alpha, this means that if the z value falls outside of the 95% common occurrences we will consider it a rare occurrence. 34% - 34% + -2σ -1σ mean +1σ +2σ 95%
  • 30. Since are decision rule is .05 alpha we will see if the z statistic is rare using this visual rare rare -2σ -1σ mean +1σ +2σ 2.5% 95% 2.5%
  • 31. Or common Common -2σ -1σ mean +1σ +2σ 95%
  • 32. Before we can calculate the z – statistic to see if it is rare or common we first must determine the z critical values that are associated with -2σ and +2σ. Common -2σ -1σ mean +1σ +2σ 95%
  • 33. We look these up in the Z table and find that they are - 1.96 and +1.96 Common -2σ -1σ mean +1σ +2σ Z values -1.96 +1.96 95%
  • 34. 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).
  • 35. 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!
  • 36. 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:
  • 37. 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 − 푝) 푛
  • 38. 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 − 푝) 푛 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).
  • 40. 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
  • 41. 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
  • 42. 풑 is the proportion from the sample that recommended aspirin to their patients (. ퟖퟐ) 풛풔풕풂풕풊풔풕풊풄 = 푝 − 푝 푝(1 − 푝) 푛
  • 43. 풑 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
  • 44. 퐩 is the proportion from the population that recommended aspirin to their patients (.90) 풛풔풕풂풕풊풔풕풊풄 = 푝 − 푝 푝(1 − 푝) 푛
  • 45. 풏 is the size of the sample (100) 풛풔풕풂풕풊풔풕풊풄 = 푝 − 푝 푝(1 − 푝) 푛
  • 46. 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 − 푝) 푛
  • 47. 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 − 푝) 푛
  • 48. 풛풔풕풂풕풊풔풕풊풄 = 푝 − 푝 푝(1 − 푝) 푛 Let’s plug in the numbers
  • 49. 풛풔풕풂풕풊풔풕풊풄 = .82 − 푝 푝(1 − 푝) 푛 Sample Proportion
  • 50. 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 풛풔풕풂풕풊풔풕풊풄 = .82 − 푝 푝(1 − 푝) 푛 Sample Proportion
  • 51. 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 풛풔풕풂풕풊풔풕풊풄 = .82 − 푝 푝(1 − 푝) 푛 Sample Proportion
  • 52. 풛풔풕풂풕풊풔풕풊풄 = .82 − .90 .90(1 − .90) 푛 Population Proportion
  • 53. 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 풛풔풕풂풕풊풔풕풊풄 = .82 − .90 .90(1 − .90) 푛 Population Proportion
  • 54. 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 풛풔풕풂풕풊풔풕풊풄 = .82 − .90 .90(1 − .90) 푛 Population Proportion
  • 55. The difference 풛풔풕풂풕풊풔풕풊풄 = .82 − .90 .90(1 − .90) 푛
  • 56. 풛풔풕풂풕풊풔풕풊풄 = −.08 .90(1 − .90) 푛 The difference
  • 57. 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)
  • 58. 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) 푛
  • 59. 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) 푛
  • 60. Let’s continue our calculations and find out: 풛풔풕풂풕풊풔풕풊풄 = −.08 .90(1 − .90) 푛
  • 61. 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(1 − .90) 푛
  • 62. Let’s continue our calculations and find out: 풛풔풕풂풕풊풔풕풊풄 = −.08 .90(.10) 푛
  • 63. Let’s continue our calculations and find out: 풛풔풕풂풕풊풔풕풊풄 = −.08 .09 푛
  • 65. 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 풛풔풕풂풕풊풔풕풊풄 = −.08 .09 100 Sample Size:
  • 66. Let‘s continue our calculations: 풛풔풕풂풕풊풔풕풊풄 = −.08 .0009
  • 67. Let‘s continue our calculations: 풛풔풕풂풕풊풔풕풊풄 = −.08 .03
  • 68. Let‘s continue our calculations: 풛풔풕풂풕풊풔풕풊풄 = −2.67
  • 69. Let‘s continue our calculations: 풛풔풕풂풕풊풔풕풊풄 = −2.67 Now we have our z statistic.
  • 70. Let’s go back to our distribution: Common rare rare -2σ -1σ mean +1σ +2σ -1.96 +1.96 95%
  • 71. Let’s go back to our distribution: So, is this result rare or common? Common rare rare -2σ -1σ mean +1σ +2σ -2.67 -1.96 +1.96 95%
  • 72. Let’s go back to our distribution: So, is this result rare or common? Common rare rare -2σ -1σ mean +1σ +2σ -1.96 +1.96 95% -2.67 This is the Z-Statistic we calculated
  • 73. Let’s go back to our distribution: So, is this result rare or common? Common rare rare -2σ -1σ mean +1σ +2σ -2.67 -1.96 +1.96 95% This is the Z – Critical
  • 74. Looks like it is a rare event therefore we will reject the null hypothesis in favor of the alternative hypothesis:
  • 75. 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.