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