SlideShare uma empresa Scribd logo
1 de 55
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.
Sample Population
30% 32%
A one-sample Z-test for proportions is a test that helps
us compare a population proportion with a sample
proportion.
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?
Sample Population
30% 32%
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:
Which is the sample?
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:
Which is the sample?
What is the population?
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:
Which is the sample?
What is the population?
The sample proportion is .82 – 82 out of doctors
recommend aspirin.
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:
Which is the sample?
What is the population?
The sample proportion is .82 – 82 out of doctors
recommend aspirin.
The population proportion .90 (the claim that 9 out of
10 doctors recommend aspirin).
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
We begin by stating the null hypothesis:
We begin by stating the null hypothesis:
The alternative hypothesis would be:
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 alternative hypothesis would be:
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 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: 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 them to the
z criticals.
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% +
68%
mean-1σ +1σ
68% of the values fall between +1 and -1 standard
deviations from the mean.
34% - 34% +
95%
mean-1σ +1σ-2σ +2σ
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% +
95%
mean-1σ +1σ-2σ +2σ
Since are decision rule is .05 alpha we will see if the z
statistic is rare using this visual
95%
mean-1σ +1σ-2σ +2σ
2.5% 2.5%
rarerare
Or common
95%
mean-1σ +1σ-2σ +2σ
Common
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σ.
95%
mean-1σ +1σ-2σ +2σ
Common
We look these up in the Z table and find that they are -
1.96 and +1.96
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96Z values
So if the z statistic we calculate is less than -1.96 or
greater than +1.96 then we will consider this to be rare
and reject the null hypothesis and state that there is
statistically significant difference between .9
(population) and .82 (the sample).
So if the z statistic we calculate is less than -1.96 or
greater than +1.96 then we will consider this to be rare
and reject the null hypothesis and state that there is
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 or
greater than +1.96 then we will consider this to be rare
and reject the null hypothesis and state that there is
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 or
greater than +1.96 then we will consider this to be rare
and reject the null hypothesis and state that there is
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 or
greater than +1.96 then we will consider this to be rare
and reject the null hypothesis and state that there is
statistically significant difference between .9
(population) and .82 (the sample).
Let’s calculate the z statistic and see where if falls!
We do this by using the following equation:
Zstatistic is what we are trying to find to see if it is
outside or inside the z critical values (-1.96 and +1.96).
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(1 − 𝑝)
𝑛
𝒑 is the proportion from the sample that
recommended aspirin to their patients (. 𝟖𝟐)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(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 proportion from the population that
recommended aspirin to their patients (.90)
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(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
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
𝑝 − 𝑝
𝑝(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
Let’s plug in the numbers
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − 𝑝
𝑝(1 − 𝑝)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Sample Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
.82 − .90
.90(1 − .90)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Population Proportion
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.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
The difference
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.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
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.
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.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
If the standard error is small then the z statistic will be
larger. If it exceeds the -1.96 or +1.96 boundaries, then
we will reject the null hypothesis. If it is smaller than
we will not.
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(1 − .90)
𝑛
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Let’s continue our calculations and find out:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.90(.10)
𝑛
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
.09
𝑛
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
.09
100
A survey claims that 9 out of 10 doctors recommend aspirin for
their patients with headaches. To test this claim, a random
sample of 100 doctors is obtained. Of these 100 doctors, 82
indicate that they recommend aspirin. Is this claim accurate?
Use alpha = 0.05
Sample Size:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.0009
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:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 =
−.08
.03
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:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67
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:
𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67
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:
Now we have our z statistic.
Let’s go back to our distribution:
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96
Let’s go back to our distribution: So, is this result
rare or common?
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96-2.67
Let’s go back to our distribution: So, is this result
rare or common?
rarerare
95%
mean-1σ +1σ-2σ +2σ
Common
-1.96 +1.96-2.67
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

Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Irfan Ullah
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1naranbatn
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSSParag Shah
 
6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact TestRazif Shahril
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of DispersionMohit Mahajan
 
Ppt for 1.1 introduction to statistical inference
Ppt for 1.1 introduction to statistical inferencePpt for 1.1 introduction to statistical inference
Ppt for 1.1 introduction to statistical inferencevasu Chemistry
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelSetia Pramana
 
Exploratory factor analysis
Exploratory factor analysisExploratory factor analysis
Exploratory factor analysisAmmar Pervaiz
 
What is a two sample z test?
What is a two sample z test?What is a two sample z test?
What is a two sample z test?Ken Plummer
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingpraveen3030
 
Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Taddesse Kassahun
 
bio statistics for clinical research
bio statistics for clinical researchbio statistics for clinical research
bio statistics for clinical researchRanjith Paravannoor
 

Mais procurados (20)

Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1
 
Sampling & Sampling Distribtutions
Sampling & Sampling DistribtutionsSampling & Sampling Distribtutions
Sampling & Sampling Distribtutions
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test
 
Z-test
Z-testZ-test
Z-test
 
z-test
z-testz-test
z-test
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
 
Ppt for 1.1 introduction to statistical inference
Ppt for 1.1 introduction to statistical inferencePpt for 1.1 introduction to statistical inference
Ppt for 1.1 introduction to statistical inference
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft Excel
 
Exploratory factor analysis
Exploratory factor analysisExploratory factor analysis
Exploratory factor analysis
 
What is a two sample z test?
What is a two sample z test?What is a two sample z test?
What is a two sample z test?
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1
 
bio statistics for clinical research
bio statistics for clinical researchbio statistics for clinical research
bio statistics for clinical research
 
Z test
Z testZ test
Z test
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 

Destaque (7)

Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
 
Z test
Z testZ test
Z test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-Test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Z test
Z testZ test
Z test
 
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 Single sample z test - explain (final)

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
 
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
 
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
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statisticsRamachandra Barik
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard errordharazalavadiya
 
Normal and standard normal distribution
Normal and standard normal distributionNormal and standard normal distribution
Normal and standard normal distributionAvjinder (Avi) Kaler
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsQussai Abbas
 
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
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statisticsHesham Gaber
 
Normal Distribution
Normal DistributionNormal Distribution
Normal DistributionNevIlle16
 
2014 lab slides_mo_a
2014 lab slides_mo_a2014 lab slides_mo_a
2014 lab slides_mo_aA M
 
RCT Critical Appraisal - Results
RCT Critical Appraisal - ResultsRCT Critical Appraisal - Results
RCT Critical Appraisal - ResultsDr. Majdi Al Jasim
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.pptAndrei33323
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfChenPalaruan
 

Semelhante a Single sample z test - explain (final) (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
 
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
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statistics
 
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
 
Basics of medical statistics
Basics of medical statisticsBasics of medical statistics
Basics of medical statistics
 
Z-Test and Standard error
Z-Test and Standard errorZ-Test and Standard error
Z-Test and Standard error
 
Normal and standard normal distribution
Normal and standard normal distributionNormal and standard normal distribution
Normal and standard normal distribution
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptions
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan Ekonometrika
 
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
 
Why to know statistics
Why to know statisticsWhy to know statistics
Why to know statistics
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Statistics78 (2)
Statistics78 (2)Statistics78 (2)
Statistics78 (2)
 
2014 lab slides_mo_a
2014 lab slides_mo_a2014 lab slides_mo_a
2014 lab slides_mo_a
 
Risk factors explained_v01
Risk factors explained_v01Risk factors explained_v01
Risk factors explained_v01
 
RCT Critical Appraisal - Results
RCT Critical Appraisal - ResultsRCT Critical Appraisal - Results
RCT Critical Appraisal - Results
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdf
 

Mais de CTLTLA

Covariates practice
Covariates practice Covariates practice
Covariates practice CTLTLA
 
Covariates explain & demo (revised)
Covariates   explain & demo (revised)Covariates   explain & demo (revised)
Covariates explain & demo (revised)CTLTLA
 
Chi square goodness of fit
Chi square goodness of fitChi square goodness of fit
Chi square goodness of fitCTLTLA
 
Chi square test of independence (conceptual)
Chi square test of independence (conceptual)Chi square test of independence (conceptual)
Chi square test of independence (conceptual)CTLTLA
 
Central tendency spread
Central tendency spreadCentral tendency spread
Central tendency spreadCTLTLA
 
Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)CTLTLA
 
Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)CTLTLA
 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlationCTLTLA
 

Mais de CTLTLA (8)

Covariates practice
Covariates practice Covariates practice
Covariates practice
 
Covariates explain & demo (revised)
Covariates   explain & demo (revised)Covariates   explain & demo (revised)
Covariates explain & demo (revised)
 
Chi square goodness of fit
Chi square goodness of fitChi square goodness of fit
Chi square goodness of fit
 
Chi square test of independence (conceptual)
Chi square test of independence (conceptual)Chi square test of independence (conceptual)
Chi square test of independence (conceptual)
 
Central tendency spread
Central tendency spreadCentral tendency spread
Central tendency spread
 
Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)
 
Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)
 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlation
 

Ú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
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 

Ú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
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
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
 

Single sample z test - explain (final)

  • 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. Sample Population 30% 32%
  • 4. A one-sample Z-test for proportions is a test that helps us compare a population proportion with a sample proportion. 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? Sample Population 30% 32%
  • 6. 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
  • 7. Consider the following example: Which is the sample? 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
  • 8. Consider the following example: Which is the sample? What is the population? 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
  • 9. Consider the following example: Which is the sample? What is the population? The sample proportion is .82 – 82 out of doctors recommend aspirin. 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: Which is the sample? What is the population? The sample proportion is .82 – 82 out of doctors recommend aspirin. The population proportion .90 (the claim that 9 out of 10 doctors recommend aspirin). 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
  • 11. We begin by stating the null hypothesis:
  • 12. We begin by stating the null hypothesis: The alternative hypothesis would be: 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.
  • 13. We begin by stating the null hypothesis: The alternative hypothesis would be: 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 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.
  • 14. 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).
  • 15. 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.
  • 16. Before we calculate this z-statistic, we must locate the z critical values.
  • 17. 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.
  • 18. 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 them to the z criticals.
  • 19. Here is the mean and the median of a normal distribution.
  • 20. 50% of the values are above and below the orange line. 50% - 50% +
  • 21. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% +
  • 22. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% + 68% mean-1σ +1σ
  • 23. 68% of the values fall between +1 and -1 standard deviations from the mean. 34% - 34% + 95% mean-1σ +1σ-2σ +2σ
  • 24. 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% + 95% mean-1σ +1σ-2σ +2σ
  • 25. Since are decision rule is .05 alpha we will see if the z statistic is rare using this visual 95% mean-1σ +1σ-2σ +2σ 2.5% 2.5% rarerare
  • 27. 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σ. 95% mean-1σ +1σ-2σ +2σ Common
  • 28. We look these up in the Z table and find that they are - 1.96 and +1.96 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96Z values
  • 29. So if the z statistic we calculate is less than -1.96 or greater than +1.96 then we will consider this to be rare and reject the null hypothesis and state that there is statistically significant difference between .9 (population) and .82 (the sample).
  • 30. So if the z statistic we calculate is less than -1.96 or greater than +1.96 then we will consider this to be rare and reject the null hypothesis and state that there is statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls!
  • 31. So if the z statistic we calculate is less than -1.96 or greater than +1.96 then we will consider this to be rare and reject the null hypothesis and state that there is 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:
  • 32. So if the z statistic we calculate is less than -1.96 or greater than +1.96 then we will consider this to be rare and reject the null hypothesis and state that there is 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 − 𝑝) 𝑛
  • 33. So if the z statistic we calculate is less than -1.96 or greater than +1.96 then we will consider this to be rare and reject the null hypothesis and state that there is statistically significant difference between .9 (population) and .82 (the sample). Let’s calculate the z statistic and see where if falls! We do this by using the following equation: Zstatistic is what we are trying to find to see if it is outside or inside the z critical values (-1.96 and +1.96). 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(1 − 𝑝) 𝑛
  • 34. 𝒑 is the proportion from the sample that recommended aspirin to their patients (. 𝟖𝟐) 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(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
  • 35. 𝐩 is the proportion from the population that recommended aspirin to their patients (.90) 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(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
  • 36. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(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)
  • 37. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = 𝑝 − 𝑝 𝑝(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 Let’s plug in the numbers
  • 38. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − 𝑝 𝑝(1 − 𝑝) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Sample Proportion
  • 39. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = .82 − .90 .90(1 − .90) 𝑛 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Population Proportion
  • 40. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.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 The difference
  • 41. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.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 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.
  • 42. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.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 If the standard error is small then the z statistic will be larger. If it exceeds the -1.96 or +1.96 boundaries, then we will reject the null hypothesis. If it is smaller than we will not.
  • 43. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.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:
  • 44. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .90(.10) 𝑛 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:
  • 45. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .09 𝑛 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:
  • 46. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .09 100 A survey claims that 9 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 100 doctors, 82 indicate that they recommend aspirin. Is this claim accurate? Use alpha = 0.05 Sample Size:
  • 47. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .0009 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:
  • 48. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −.08 .03 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:
  • 49. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67 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:
  • 50. 𝒛 𝒔𝒕𝒂𝒕𝒊𝒔𝒕𝒊𝒄 = −2.67 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: Now we have our z statistic.
  • 51. Let’s go back to our distribution: rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96
  • 52. Let’s go back to our distribution: So, is this result rare or common? rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96-2.67
  • 53. Let’s go back to our distribution: So, is this result rare or common? rarerare 95% mean-1σ +1σ-2σ +2σ Common -1.96 +1.96-2.67
  • 54. Looks like it is a rare event therefore we will reject the null hypothesis in favor of the alternative hypothesis:
  • 55. 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.