Inference for means
Goals
- Explain why inference for means uses distributions, and find critical values with the correct degrees of freedom.
- Construct and interpret a one-sample interval and carry out a one-sample test for .
- Recognize paired data and analyse them with one-sample procedures on the differences.
- Construct intervals and carry out tests for a difference of two means .
- Check the conditions, including the normal/large sample condition.
Exercises
Exercise 1
A random sample of batteries has mean life hours and standard deviation hours; the data show no strong skew. Construct a confidence interval for the mean life of all such batteries.
Exercise 2
Explain why for a interval with is larger than .
Exercise 3
A random sample of house prices in a town is strongly skewed right with one very large outlier. Is a one-sample interval for the mean price appropriate?
Exercise 4
A confidence interval for a mean is . Is there convincing evidence that ? Is there convincing evidence that ?
Exercise 5
For each study, decide whether the data are paired or come from two independent samples.
a) The reaction times of drivers are measured with and without a phone call.
b) The heights of randomly chosen boys and randomly chosen girls are compared.
Exercise 6
A battery maker claims its batteries last hours on average. A random sample of batteries has mean hours and standard deviation 3.2 hours, with no strong skew. Test the claim at \alpha=0.05 against the alternative that the mean is less than 40 hours.
Exercise 7
Independent random samples of 40 customers at shop X and 45 customers at shop Y give mean waiting times 25.1 and 22.4 minutes, with standard deviations 4.0 and 5.0 minutes. Construct a 95\% confidence interval for \mu_X-\mu_Y, using df \approx82 (t^*\approx1.989), and interpret it.
Exercise 8
In a matched-pairs experiment with 10 pairs, the differences have mean 1.8 and standard deviation 2.0, with no strong skew. Construct a 95\% confidence interval for \mu_{\text{diff}}.
Exercise 9 Challenge
A researcher wants a 95\% confidence interval for a mean with margin of error at most 3 units. From earlier studies, \sigma\approx15. Using the z^* approximation, find the smallest sample size.
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 standard error of the mean is 2. | T / F |
| b) The degrees of freedom are 35. | T / F |
| c) A 95\% t interval uses t^*=1.96 exactly. | T / F |
| d) The normal/large sample condition is met because n\ge30. | T / F |
Part III. Short answer
Score: ........ / 10
Hints (only when stuck)
What you need: df =24 gives t^*\approx1.711.
What you need: estimating \sigma by s adds uncertainty.
What you need: the normal/large sample condition.
What you need: values inside the interval are plausible.
What you need: are the measurements naturally matched?
What you need: t=\dfrac{38.5-40}{3.2/\sqrt{20}}, df =19.
What you need: standard error \sqrt{\dfrac{4^2}{40}+\dfrac{5^2}{45}}.
What you need: df =9 gives t^*\approx2.262.
What you need: n\ge\left(\dfrac{z^*\sigma}{M}\right)^2.
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