Inference for proportions
Goals
- Construct and interpret a confidence interval for a proportion and for a difference .
- Carry out a significance test for and for : hypotheses, conditions, test statistic, P-value and conclusion in context.
- Interpret the confidence level, the margin of error and the P-value correctly.
- Describe Type I and Type II errors and power in context, and choose a sample size.
Exercises
Exercise 1
In a random sample of students, say they read every day. Construct a confidence interval for the proportion of all students who read every day. Assume the conditions are met.
Exercise 2
A school claims that of its graduates go to university. A reporter suspects the true figure is lower. State the hypotheses, defining the parameter.
Exercise 3
A test of against gives a P-value of . Interpret the P-value and state the conclusion at and at .
Exercise 4
How does the margin of error of a confidence interval for change in each case?
a) The confidence level increases from to .
b) The sample size is multiplied by .
Exercise 5
A researcher wants to test with a random sample of people. Is the large counts condition met?
Exercise 6
A candidate claims that of voters support her. In a random sample of voters, support her. Is there convincing evidence at that her support is less than ?
Exercise 7
In an experiment, patients were randomly assigned to a new treatment or a standard one, 150 each. Improvement occurred in 45 patients with the new treatment and 30 with the standard treatment. Test at \alpha=0.05 whether the new treatment gives a higher proportion of improvement.
Exercise 8
A previous survey estimated that about 30\% of residents use a library. How large a sample is needed for a 95\% confidence interval with margin of error at most 0.04?
Exercise 9 Challenge
In the candidate example above, suppose her true support is actually 55\%. Which type of error might the conclusion have made, and name two ways to make the test more powerful.
Mini test
15 minutes, without looking back at the lesson. Part I: circle one letter; Part II: write T or F for each statement; Part III: write the answer in the box.
Part I. Multiple choice
Part II. True or false
| a) The sample proportion is 0.46. | T / F |
| b) The margin of error is 0.04. | T / F |
| c) p=0.55 is a plausible value. | T / F |
| d) A 99\% interval from the same data would be wider. | T / F |
Part III. Short answer
Score: ........ / 10
Hints (only when stuck)
What you need: \hat p\pm1.645\sqrt{\dfrac{\hat p(1-\hat p)}{n}}.
What you need: the claim goes in H_0; the suspicion goes in H_a.
What you need: the P-value assumes H_0 is true.
What you need: M=z^*\sqrt{\dfrac{\hat p(1-\hat p)}{n}}.
What you need: check np_0 and n(1-p_0).
What you need: \hat p=0.552; standard deviation \sqrt{\dfrac{0.6(0.4)}{250}}.
What you need: pooled proportion \hat p_c=\dfrac{75}{300}=0.25.
What you need: n\ge\left(\dfrac{z^*}{M}\right)^2\hat p(1-\hat p) with \hat p=0.3.
What you need: we failed to reject H_0.
Self-check
| # | Did it alone | Needed a hint | Not yet |
|---|---|---|---|
| 1 | ☐ | ☐ | ☐ |
| 2 | ☐ | ☐ | ☐ |
| 3 | ☐ | ☐ | ☐ |
| 4 | ☐ | ☐ | ☐ |
| 5 | ☐ | ☐ | ☐ |
| 6 | ☐ | ☐ | ☐ |
| 7 | ☐ | ☐ | ☐ |
| 8 | ☐ | ☐ | ☐ |
| 9 | ☐ | ☐ | ☐ |
Redo the ones you missed after: ☐ 1 day ☐ 3 days ☐ 7 days
Scan for step-by-step solutions