SlideShare uma empresa Scribd logo
1 de 75
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.

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Sign test
Sign testSign test
Sign test
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testing
 
Data Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVAData Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVA
 
Z test, f-test,etc
Z test, f-test,etcZ test, f-test,etc
Z test, f-test,etc
 
8. Correlation
8. Correlation8. Correlation
8. Correlation
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest way
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Mc Nemar
Mc NemarMc Nemar
Mc Nemar
 
Sample Size Determination
Sample Size DeterminationSample Size Determination
Sample Size Determination
 
Comparing means
Comparing meansComparing means
Comparing means
 
The wilcoxon matched pairs signed-ranks test
The wilcoxon matched pairs signed-ranks testThe wilcoxon matched pairs signed-ranks test
The wilcoxon matched pairs signed-ranks test
 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
 

Destaque (6)

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
 
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
 

Semelhante a 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 testKen 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 handKen Plummer
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard errordharazalavadiya
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.pptAndrei33323
 
Normal and standard normal distribution
Normal and standard normal distributionNormal and standard normal distribution
Normal and standard normal distributionAvjinder (Avi) Kaler
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan EkonometrikaXYZ 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.docxmaxinesmith73660
 
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
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statisticsRamachandra Barik
 
Lecture_Wk08.pdf
Lecture_Wk08.pdfLecture_Wk08.pdf
Lecture_Wk08.pdfNiel89
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsQussai Abbas
 
2014 lab slides_mo_a
2014 lab slides_mo_a2014 lab slides_mo_a
2014 lab slides_mo_aA M
 
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 DistributionNevIlle16
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theoryKaimrc_Rss_Jd
 
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
 

Semelhante a 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
 
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
 
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
 

Mais de 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
 

Mais de 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)
 

Último

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 

Último (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 

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.