AP Unit 6 Notes (TPS ch. 8 & 9)
AP Unit 6 Notes (TPS ch. 8 & 9)
8 & 9)
3. The formula for margin of error can be rearranged to solve for n, the minimum
sample size needed to achieve a given margin of error. For this purpose, use a given
estimate for 𝑝𝑝̂ or use 𝑝𝑝̂ = 0.5 if none is given in order to find an upper bound for the
sample size that will result in a given margin of error. (Round sample size up to
whole number and include units on your answer.)
2. Verify the conditions for performing a significance test for a population proportion:
a. To check that the sampling distribution of 𝑝𝑝̂ is approximately normal (shape):
Assuming 𝐻𝐻𝑜𝑜 is true, 𝒏𝒏𝒑𝒑𝒐𝒐 ≥ 𝟏𝟏𝟏𝟏 𝒂𝒂𝒂𝒂𝒂𝒂 𝒏𝒏(𝟏𝟏 − 𝒑𝒑𝒐𝒐 ) ≥ 𝟏𝟏𝟏𝟏 (expected number of
successes and failures are at least 10)
b. To check that the sampling method is unbiased (so sampling distribution of 𝑝𝑝̂ will
center at parameter:
sample should be SRS from population of interest (discuss IN CONTEXT!!)
c. independence: If sampling without replacement, n < 10% of population.
3. Calculate a test statistics and the p-value: (Draw a picture and think CLT!!)
𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠−𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝
a. On the formula sheet: 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 = 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 𝑜𝑜𝑜𝑜 𝑡𝑡ℎ𝑒𝑒 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
𝑝𝑝�−𝑝𝑝𝑜𝑜
b. 𝑧𝑧 = 𝑝𝑝 (1−𝑝𝑝𝑜𝑜 )
� 𝑜𝑜
𝑛𝑛
AP Unit 6 (TPS ch. 8 & 9)
4. Conclusion:
a. A formal decision explicitly compares the p-value to the significance level, α. If
the p-value ≤ α, reject the null hypothesis. If the p-value > α, fail to reject the
null hypothesis.
b. Rejecting the null hypothesis means there is sufficient statistical evidence to
support the alternative hypothesis. Failing to reject the null means there is
insufficient statistical evidence to support the alternative hypothesis. The
conclusion about the alternative hypothesis must be stated in context.
c. A significance test can lead to rejecting or not rejecting the null hypothesis, but
can never lead to concluding or proving that the null hypothesis is true. Lack of
statistical evidence for the alternative hypothesis is not the same as evidence for
the null hypothesis.
d. Small p-values indicate that the observed value of the test statistic would be
unusual if the null hypothesis and probability model were true, and so provide
evidence for the alternative. The lower the p-value, the more convincing the
statistical evidence for the alternative hypothesis.
e. p-values that are not small indicate that the observed value of the test statistic
would not be unusual if the null hypothesis and probability model were true, so
do not provide convincing statistical evidence for the alternative hypothesis nor
do they provide evidence that the null hypothesis is true.
f. Writing Conclusion:
p-value ≤ α p-value > α
Significant? Yes No
Reject 𝐻𝐻𝑜𝑜 ? Yes No
Evidence to support 𝐻𝐻𝑎𝑎 ? Yes No
AP Unit 6 (TPS ch. 8 & 9)
5. Types of Errors:
Actual Population Value
𝑯𝑯𝒐𝒐 is True 𝑯𝑯𝒐𝒐 is false
(𝑯𝑯𝒂𝒂 is true)
Reject Type I Error Correct Decision
𝑯𝑯𝒐𝒐
Fail to Reject Correct Decision Type II Error
𝑯𝑯𝒐𝒐
a. A Type I error occurs when the null hypothesis is true and is rejected by the
evidence (false positive).
b. A Type II error occurs when the null hypothesis is false and is not rejected by
the evidence (false negative).
c. The significance level, α, is the probability of making a Type I error, if the null
hypothesis is true.
d. The power of a test is the probability that a test will correctly reject a false
null hypothesis.
e. The probability of making a Type II error = 1 − 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝.
f. Whether a Type I or a Type II error is more consequential depends upon the
situation.
g. Since the significance level, α, is the probability of a Type I error, the
consequences of a Type I error influence decisions about a significance level.
h. The power of a test increases when any of the following occurs, provided the
others do not change: (* because the probability of a Type II is 1 − 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝,
this probability automatically decreases when the power increases.)
i. Sample size(s) increases.
ii. Significance level (α) of a test increases.
iii. Standard error decreases. (most relevant to means)
iv. True parameter value is farther from the null.
AP Unit 6 (TPS ch. 8 & 9)
2. Verify the conditions for performing a significance test for a population proportion:
a. To check that the sampling distribution of 𝑝𝑝̂1 − 𝑝𝑝̂ 2 is approximately normal:
𝑋𝑋 +𝑋𝑋
Use 𝑝𝑝̂𝑐𝑐 = 𝑛𝑛1 +𝑛𝑛2
1 2
3. Calculate a test statistics and the p-value: (Draw a picture and think CLT!!)
𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠−𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝
a. On the formula sheet: 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 = 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 𝑜𝑜𝑜𝑜 𝑡𝑡ℎ𝑒𝑒 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
b.
(𝑝𝑝̂1 − 𝑝𝑝̂ 2 ) − 0
𝑧𝑧 =
1 1
�𝑝𝑝̂𝑐𝑐 (1 − 𝑝𝑝̂𝑐𝑐 ) �
𝑛𝑛1 + 𝑛𝑛2 �
c. find p-value using normal table or calculator.
d. If asked to interpret a p-value:
The p-value is the probability of obtaining a difference in the sample
proportions as big or bigger than the one obtained, IF the population
proportion are equal (there’s no difference).
4. Conclusion:
With a p-value of _______, this is/isn’t significant at the ____level.
I reject/fail to reject 𝑯𝑯𝒐𝒐 .
There is/isn’t enough evidence to say 𝑯𝑯𝒂𝒂 in context (answer the question in
the problem).