Skip to main content

Introductory Statistics

Section 7.1 One-sample means with the \(t\)-distribution

Similar to how we can model the behavior of the sample proportion \(\hat{p}\) using a normal distribution, the sample mean \(\bar{x}\) can also be modeled using a normal distribution when certain conditions are met. However, we’ll soon learn that a new distribution, called the \(t\)-distribution, tends to be more useful when working with the sample mean. We’ll first learn about this new distribution, then we’ll use it to construct confidence intervals and conduct hypothesis tests for the mean.

Subsection 7.1.1 The sampling distribution of \(\bar{x}\)

The sample mean tends to follow a normal distribution centered at the population mean, \(\mu\text{,}\) when certain conditions are met. Additionally, we can compute a standard error for the sample mean using the population standard deviation \(\sigma\) and the sample size \(n\text{.}\)
Before diving into confidence intervals and hypothesis tests using \(\bar{x}\text{,}\) we first need to cover two topics:
  • When we modeled \(\hat{p}\) using the normal distribution, certain conditions had to be satisfied. The conditions for working with \(\bar{x}\) are a little more complex, and we’ll spend SubsectionΒ 7.1.2 discussing how to check conditions for inference.
  • The standard error is dependent on the population standard deviation, \(\sigma\text{.}\) However, we rarely know \(\sigma\text{,}\) and instead we must estimate it. Because this estimation is itself imperfect, we use a new distribution called the \(t\)-distribution to fix this problem, which we discuss in SubsectionΒ 7.1.3.

Subsection 7.1.2 Evaluating the two conditions required for modeling \(\bar{x}\)

Two conditions are required to apply the Central Limit Theorem for a sample mean \(\bar{x}\text{:}\)
Independence.
The sample observations must be independent. The most common way to satisfy this condition is when the sample is a simple random sample from the population. If the data come from a random process, analogous to rolling a die, this would also satisfy the independence condition.
Normality.
When a sample is small, we also require that the sample observations come from a normally distributed population. We can relax this condition more and more for larger and larger sample sizes. This condition is obviously vague, making it difficult to evaluate, so next we introduce a couple rules of thumb to make checking this condition easier.

Rules of thumb: how to perform the normality check.

There is no perfect way to check the normality condition, so instead we use two rules of thumb:
In this first course in statistics, you aren’t expected to develop perfect judgement on the normality condition. However, you are expected to be able to handle clear cut cases based on the rules of thumb.
 1 
More nuanced guidelines would consider further relaxing the particularly extreme outlier check when the sample size is very large. However, we’ll leave further discussion here to a future course.

Example 7.1.2.

Consider the following two plots that come from simple random samples from different populations. Their sample sizes are \(n_1 = 15\) and \(n_2 = 50\text{.}\)
Figure showing two histograms: Sample 1 Observations (n=15) with values 0-7, and Sample 2 Observations (n=50) with values 0-22 with most data near zero and one outlier at 21-22.
Figure 7.1.3.
Are the independence and normality conditions met in each case?
Solution.
Each sample is from a simple random sample of its respective population, so the independence condition is satisfied. Let’s next check the normality condition for each using the rule of thumb.
The first sample has fewer than 30 observations, so we are watching for any clear outliers. None are present; while there is a small gap in the histogram between 5 and 6, this gap is small and 20% of the observations in this small sample are represented in that far right bar of the histogram, so we can hardly call these clear outliers. With no clear outliers, the normality condition is reasonably met.
The second sample has a sample size greater than 30 and includes an outlier that appears to be roughly 5 times further from the center of the distribution than the next furthest observation. This is an example of a particularly extreme outlier, so the normality condition would not be satisfied.
In practice, it’s typical to also do a mental check to evaluate whether we have reason to believe the underlying population would have moderate skew (if \(n \lt 30\)) or have particularly extreme outliers (\(n \geq 30\)) beyond what we observe in the data. For example, consider the number of followers for each individual account on Twitter, and then imagine this distribution. The large majority of accounts have built up a couple thousand followers or fewer, while a relatively tiny fraction have amassed tens of millions of followers, meaning the distribution is extremely skewed. When we know the data come from such an extremely skewed distribution, it takes some effort to understand what sample size is large enough for the normality condition to be satisfied.

Subsection 7.1.3 Introducing the \(t\)-distribution

In practice, we cannot directly calculate the standard error for \(\bar{x}\) since we do not know the population standard deviation, \(\sigma\text{.}\) We encountered a similar issue when computing the standard error for a sample proportion, which relied on the population proportion, \(p\text{.}\) Our solution in the proportion context was to use the sample value in place of the population value when computing the standard error. We’ll employ a similar strategy for computing the standard error of \(\bar{x}\text{,}\) using the sample standard deviation \(s\) in place of \(\sigma\text{:}\)
\begin{equation*} SE = \frac{\sigma}{\sqrt{n}} \approx \frac{s}{\sqrt{n}} \end{equation*}
This strategy tends to work well when we have a lot of data and can estimate \(\sigma\) using \(s\) accurately. However, the estimate is less precise with smaller samples, and this leads to problems when using the normal distribution to model \(\bar{x}\text{.}\)
We’ll find it useful to use a new distribution for inference calculations called the \(t\)-distribution. A \(t\)-distribution, shown as a solid line in FigureΒ 7.1.4, has a bell shape. However, its tails are thicker than the normal distribution’s, meaning observations are more likely to fall beyond two standard deviations from the mean than under the normal distribution. The extra thick tails of the \(t\)-distribution are exactly the correction needed to resolve the problem of using \(s\) in place of \(\sigma\) in the \(SE\) calculation.
Figure showing a standard normal distribution and a t-distribution overlaid. The t-distribution is more sharply peaked and has thicker tails than the normal distribution.
Figure 7.1.4. Comparison of a \(t\)-distribution and a normal distribution.
The \(t\)-distribution is always centered at zero and has a single parameter: degrees of freedom. The degrees of freedom (\(df\)) describes the precise form of the bell-shaped \(t\)-distribution. Several \(t\)-distributions are shown in FigureΒ 7.1.5 in comparison to the normal distribution.
In general, we’ll use a \(t\)-distribution with \(df = n - 1\) to model the sample mean when the sample size is \(n\text{.}\) That is, when we have more observations, the degrees of freedom will be larger and the \(t\)-distribution will look more like the standard normal distribution; when the degrees of freedom is about 30 or more, the \(t\)-distribution is nearly indistinguishable from the normal distribution.
Figure showing four t-distributions with df=1, 2, 4, and 8 along with a normal distribution. The larger the df, the more closely the t-distribution aligns with the normal distribution.
Figure 7.1.5. The larger the degrees of freedom, the more closely the \(t\)-distribution resembles the standard normal distribution.

Degrees of freedom (\(df\)).

The degrees of freedom describes the shape of the \(t\)-distribution. The larger the degrees of freedom, the more closely the distribution approximates the normal model.
When modeling \(\bar{x}\) using the \(t\)-distribution, use \(df = n - 1\text{.}\)
The \(t\)-distribution allows us greater flexibility than the normal distribution when analyzing numerical data. In practice, it’s common to use statistical software, such as R, Python, or SAS for these analyses. Alternatively, a graphing calculator or a \(t\)-table may be used; the \(t\)-table is similar to the normal distribution table, and it may be found in the appendix, which includes usage instructions and examples for those who wish to use this option. No matter the approach you choose, apply your method using the examples below to confirm your working understanding of the \(t\)-distribution.

Example 7.1.6.

What proportion of the \(t\)-distribution with 18 degrees of freedom falls below \(-2.10\text{?}\)
Solution.
Just like a normal probability problem, we first draw the picture in FigureΒ 7.1.7 and shade the area below \(-2.10\text{.}\) Using statistical software, we can obtain a precise value: 0.0250.
Figure showing a t-distribution with 18 df, with the region below -2.10 shaded, representing roughly 2% to 5% of the distribution.
Figure 7.1.7. The \(t\)-distribution with 18 degrees of freedom. The area below \(-2.10\) has been shaded.

Example 7.1.8.

A \(t\)-distribution with 20 degrees of freedom is shown in the left panel of FigureΒ 7.1.9. Estimate the proportion of the distribution falling above 1.65.
Solution.
With a normal distribution, this would correspond to about 0.05, so we should expect the \(t\)-distribution to give us a value in this neighborhood. Using statistical software: 0.0573.
Figure showing two plots: left shows t-dist with 20 df and right tail shaded above 1.65; right shows t-dist with 2 df with both tails beyond Β±3 shaded.
Figure 7.1.9. Left: The \(t\)-distribution with 20 degrees of freedom, with the area above 1.65 shaded. Right: The \(t\)-distribution with 2 degrees of freedom, with the area further than 3 units from 0 shaded.

Example 7.1.10.

A \(t\)-distribution with 2 degrees of freedom is shown in the right panel of FigureΒ 7.1.9. Estimate the proportion of the distribution falling more than 3 units from the mean (above or below).
Solution.
With so few degrees of freedom, the \(t\)-distribution will give a more notably different value than the normal distribution. Under a normal distribution, the area would be about 0.003 using the 68-95-99.7 rule. For a \(t\)-distribution with \(df = 2\text{,}\) the area in both tails beyond 3 units totals 0.0955. This area is dramatically different than what we obtain from the normal distribution.

Checkpoint 7.1.11.

What proportion of the \(t\)-distribution with 19 degrees of freedom falls above \(-1.79\) units? Use your preferred method for finding tail areas.
 2 
We want to find the shaded area above \(-1.79\) (we leave the picture to you). The lower tail area has an area of 0.0447, so the upper area would have an area of \(1 - 0.0447 = 0.9553\text{.}\)

Subsection 7.1.4 One sample \(t\)-confidence intervals

Let’s get our first taste of applying the \(t\)-distribution in the context of an example about the mercury content of dolphin muscle. Elevated mercury concentrations are an important problem for both dolphins and other animals, like humans, who occasionally eat them.
Figure showing a Risso’s dolphin surfacing in water. The area forward of its face is mostly white, and then its body is gray and white streaked together.
Figure 7.1.12. A Risso’s dolphin. Photo by Mike Baird (www.bairdphotos.com). CC BY 2.0 license.
We will identify a confidence interval for the average mercury content in dolphin muscle using a sample of 19 Risso’s dolphins from the Taiji area in Japan. The data are summarized in FigureΒ 7.1.13. The minimum and maximum observed values can be used to evaluate whether or not there are clear outliers.
\(n\) \(\bar{x}\) \(s\) minimum maximum
19 4.4 2.3 1.7 9.2
Figure 7.1.13. Summary of mercury content in the muscle of 19 Risso’s dolphins from the Taiji area. Measurements are in micrograms of mercury per wet gram of muscle (\(\mu\)g/wet g).

Example 7.1.14.

Are the independence and normality conditions satisfied for this data set?
Solution.
The observations are a simple random sample, therefore independence is reasonable. The summary statistics in FigureΒ 7.1.13 do not suggest any clear outliers, since all observations are within 2.5 standard deviations of the mean. Based on this evidence, the normality condition seems reasonable.
In the normal model, we used \(z^{\star}\) and the standard error to determine the width of a confidence interval. We revise the confidence interval formula slightly when using the \(t\)-distribution:
\begin{align*} \text{point estimate} \pm t^{\star}_{df} \times SE \amp\quad \to \quad \bar{x} \pm t^{\star}_{df} \times \frac{s}{\sqrt{n}} \end{align*}

Example 7.1.15.

Using the summary statistics in FigureΒ 7.1.13, compute the standard error for the average mercury content in the \(n = 19\) dolphins.
Solution.
We plug in \(s\) and \(n\) into the formula: \(SE = s / \sqrt{n} = 2.3 / \sqrt{19} = 0.528\text{.}\)
The value \(t^{\star}_{df}\) is a cutoff we obtain based on the confidence level and the \(t\)-distribution with \(df\) degrees of freedom. That cutoff is found in the same way as with a normal distribution: we find \(t^{\star}_{df}\) such that the fraction of the \(t\)-distribution with \(df\) degrees of freedom within a distance \(t^{\star}_{df}\) of 0 matches the confidence level of interest.

Example 7.1.16.

When \(n = 19\text{,}\) what is the appropriate degrees of freedom? Find \(t^{\star}_{df}\) for this degrees of freedom and the confidence level of 95%.
Solution.
The degrees of freedom is easy to calculate: \(df = n - 1 = 18\text{.}\)
Using statistical software, we find the cutoff where the upper tail is equal to 2.5%: \(t^{\star}_{18} = 2.10\text{.}\) The area below \(-2.10\) will also be equal to 2.5%. That is, 95% of the \(t\)-distribution with \(df = 18\) lies within 2.10 units of 0.

Example 7.1.17.

Compute and interpret the 95% confidence interval for the average mercury content in Risso’s dolphins.
Solution.
We can construct the confidence interval as
\begin{align*} \bar{x} \pm t^{\star}_{18} \times SE \amp\quad \to \quad 4.4 \pm 2.10 \times 0.528\\ \amp\quad \to \quad (3.29, 5.51) \end{align*}
We are 95% confident the average mercury content of muscles in Risso’s dolphins is between 3.29 and 5.51 \(\mu\)g/wet gram, which is considered extremely high.

Finding a \(t\)-confidence interval for the mean.

Based on a sample of \(n\) independent and nearly normal observations, a confidence interval for the population mean is
where \(\bar{x}\) is the sample mean, \(t^{\star}_{df}\) corresponds to the confidence level and degrees of freedom \(df\text{,}\) and \(SE\) is the standard error as estimated by the sample.

Checkpoint 7.1.18.

The FDA’s webpage provides some data on mercury content of fish. Based on a sample of 15 croaker white fish (Pacific), a sample mean and standard deviation were computed as 0.287 and 0.069 ppm (parts per million), respectively. The 15 observations ranged from 0.18 to 0.41 ppm. We will assume these observations are independent. Based on the summary statistics of the data, do you have any objections to the normality condition of the individual observations?
 3 
The sample size is under 30, so we check for obvious outliers: since all observations are within 2 standard deviations of the mean, there are no such clear outliers.

Example 7.1.19.

Estimate the standard error of \(\bar{x} = 0.287\) ppm using the data summaries in CheckpointΒ 7.1.18. If we are to use the \(t\)-distribution to create a 90% confidence interval for the actual mean of the mercury content, identify the degrees of freedom and \(t^{\star}_{df}\text{.}\)
Solution.
The standard error: \(SE = \frac{0.069}{\sqrt{15}} = 0.0178\text{.}\)
Degrees of freedom: \(df = n - 1 = 14\text{.}\)
Since the goal is a 90% confidence interval, we choose \(t_{14}^{\star}\) so that the two-tail area is 0.1: \(t^{\star}_{14} = 1.76\text{.}\)

Confidence interval for a single mean.

Once you’ve determined a one-mean confidence interval would be helpful for an application, there are four steps to constructing the interval:
Prepare.
Identify \(\bar{x}\text{,}\) \(s\text{,}\) \(n\text{,}\) and determine what confidence level you wish to use.
Check.
Verify the conditions to ensure \(\bar{x}\) is nearly normal.
Calculate.
If the conditions hold, compute \(SE\text{,}\) find \(t_{df}^{\star}\text{,}\) and construct the interval.
Conclude.
Interpret the confidence interval in the context of the problem.

Checkpoint 7.1.20.

Using the information and results of CheckpointΒ 7.1.18 and ExampleΒ 7.1.19, compute a 90% confidence interval for the average mercury content of croaker white fish (Pacific).
 4 
\(\bar{x} \pm t^{\star}_{14} \times SE \to 0.287 \pm 1.76 \times 0.0178 \to (0.256, 0.318)\text{.}\) We are 90% confident that the average mercury content of croaker white fish (Pacific) is between 0.256 and 0.318 ppm.

Checkpoint 7.1.21.

The 90% confidence interval from CheckpointΒ 7.1.20 is 0.256 ppm to 0.318 ppm. Can we say that 90% of croaker white fish (Pacific) have mercury levels between 0.256 and 0.318 ppm?
 5 
No, a confidence interval only provides a range of plausible values for a population parameter, in this case the population mean. It does not describe what we might observe for individual observations.

Subsection 7.1.5 One sample \(t\)-tests

Is the typical US runner getting faster or slower over time? We consider this question in the context of the Cherry Blossom Race, which is a 10-mile race in Washington, DC each spring.
The average time for all runners who finished the Cherry Blossom Race in 2006 was 93.29 minutes (93 minutes and about 17 seconds). We want to determine using data from 100 participants in the 2017 Cherry Blossom Race whether runners in this race are getting faster or slower, versus the other possibility that there has been no change.

Checkpoint 7.1.22.

What are appropriate hypotheses for this context?
 6 
\(H_0\text{:}\) The average 10-mile run time was the same for 2006 and 2017. \(\mu = 93.29\) minutes. \(H_A\text{:}\) The average 10-mile run time for 2017 was different than that of 2006. \(\mu \neq 93.29\) minutes.

Checkpoint 7.1.23.

The data come from a simple random sample of all participants, so the observations are independent. However, should we be worried about the normality condition? See FigureΒ 7.1.24 for a histogram of the differences and evaluate if we can move forward.
 7 
With a sample of 100, we should only be concerned if there are particularly extreme outliers. The histogram of the data doesn’t show any outliers of concern (and arguably, no outliers at all).
Figure showing a histogram of "time" for the sample. The data are nearly symmetric with a center at about 100 minutes and a standard deviation of roughly 15 to 20 minutes. All times lie between 50 and 140 minutes.
Figure 7.1.24. A histogram of time for the sample Cherry Blossom Race data.
When completing a hypothesis test for the one-sample mean, the process is nearly identical to completing a hypothesis test for a single proportion. First, we find the Z-score using the observed value, null value, and standard error; however, we call it a T-score since we use a \(t\)-distribution for calculating the tail area. Then we find the p-value using the same ideas we used previously: find the one-tail area under the sampling distribution, and double it.

Example 7.1.25.

With both the independence and normality conditions satisfied, we can proceed with a hypothesis test using the \(t\)-distribution. The sample mean and sample standard deviation of the sample of 100 runners from the 2017 Cherry Blossom Race are 97.32 and 16.98 minutes, respectively. Recall that the sample size is 100 and the average run time in 2006 was 93.29 minutes. Find the test statistic and p-value. What is your conclusion?
Solution.
To find the test statistic (T-score), we first must determine the standard error:
\begin{equation*} SE = 16.98 / \sqrt{100} = 1.70 \end{equation*}
Now we can compute the T-score using the sample mean (97.32), null value (93.29), and \(SE\text{:}\)
\begin{equation*} T = \frac{97.32 - 93.29}{1.70} = 2.37 \end{equation*}
For \(df = 100 - 1 = 99\text{,}\) we can determine using statistical software (or a \(t\)-table) that the one-tail area is 0.01, which we double to get the p-value: 0.02.
Because the p-value is smaller than 0.05, we reject the null hypothesis. That is, the data provide strong evidence that the average run time for the Cherry Blossom Run in 2017 is different than the 2006 average. Since the observed value is above the null value and we have rejected the null hypothesis, we would conclude that runners in the race were slower on average in 2017 than in 2006.

Hypothesis testing for a single mean.

Once you’ve determined a one-mean hypothesis test is the correct procedure, there are four steps to completing the test:
Prepare.
Identify the parameter of interest, list out hypotheses, identify the significance level, and identify \(\bar{x}\text{,}\) \(s\text{,}\) and \(n\text{.}\)
Check.
Verify conditions to ensure \(\bar{x}\) is nearly normal.
Calculate.
If the conditions hold, compute \(SE\text{,}\) compute the T-score, and identify the p-value.
Conclude.
Evaluate the hypothesis test by comparing the p-value to \(\alpha\text{,}\) and provide a conclusion in the context of the problem.

Exercises 7.1.6 Section Exercises

1. Identify the critical \(t\).

An independent random sample is selected from an approximately normal population with unknown standard deviation. Find the degrees of freedom and the critical \(t\)-value (\(t^\star\)) for the given sample size and confidence level.
  1. \(n = 6\text{,}\) CL = 90%
  2. \(n = 21\text{,}\) CL = 98%
  3. \(n = 29\text{,}\) CL = 95%
  4. \(n = 12\text{,}\) CL = 99%

2. \(t\)-distribution.

The figure on the right shows three unimodal and symmetric curves: the standard normal (z) distribution, the \(t\)-distribution with 5 degrees of freedom, and the \(t\)-distribution with 1 degree of freedom. Determine which is which, and explain your reasoning.
Three distributions are shown, all symmetric, bell-shaped, and centered at zero. The first is shown as a solid line and has the broadest peak of the three distributions, and the tails of this distribution also visually approach zero at about -3 and positive 3. The second curve that is shown as a dashed line has a less broad, slightly sharper peak than the distribution based on solid line. The tails of the distribution with the dashed line has tails that visually approach zero at values of about -4 and positive 4. The third curve is shown as a dotted line and has the sharpest peak of the three distributions. The tails of the dotted line distribution has tails that visually approach zero further out, beyond the limits shown in this plot of -4 and positive 4.
Figure 7.1.26.

3. Find the p-value, Part I.

An independent random sample is selected from an approximately normal population with an unknown standard deviation. Find the p-value for the given sample size and test statistic. Also determine if the null hypothesis would be rejected at \(\alpha = 0.05\text{.}\)
  1. \(n = 11\text{,}\) \(T = 1.91\)
  2. \(n = 17\text{,}\) \(T = -3.45\)
  3. \(n = 7\text{,}\) \(T = 0.83\)
  4. \(n = 28\text{,}\) \(T = 2.13\)

4. Find the p-value, Part II.

An independent random sample is selected from an approximately normal population with an unknown standard deviation. Find the p-value for the given sample size and test statistic. Also determine if the null hypothesis would be rejected at \(\alpha = 0.01\text{.}\)
  1. \(n = 26\text{,}\) \(T = 2.485\)
  2. \(n = 18\text{,}\) \(T = 0.5\)

5. Working backwards, Part I.

A 95% confidence interval for a population mean, \(\mu\text{,}\) is given as (18.985, 21.015). This confidence interval is based on a simple random sample of 36 observations. Calculate the sample mean and standard deviation. Assume that all conditions necessary for inference are satisfied. Use the \(t\)-distribution in any calculations.

6. Working backwards, Part II.

A 90% confidence interval for a population mean is (65, 77). The population distribution is approximately normal and the population standard deviation is unknown. This confidence interval is based on a simple random sample of 25 observations. Calculate the sample mean, the margin of error, and the sample standard deviation.

7. Sleep habits of New Yorkers.

New York is known as "the city that never sleeps". A random sample of 25 New Yorkers were asked how much sleep they get per night. Statistical summaries of these data are shown below. The point estimate suggests New Yorkers sleep less than 8 hours a night on average. Is the result statistically significant?
n \(\bar{x}\) s min max
25 7.73 0.77 6.17 9.78
  1. Write the hypotheses in symbols and in words.
  2. Check conditions, then calculate the test statistic, \(T\text{,}\) and the associated degrees of freedom.
  3. Find and interpret the p-value in this context. Drawing a picture may be helpful.
  4. What is the conclusion of the hypothesis test?
  5. If you were to construct a 90% confidence interval that corresponded to this hypothesis test, would you expect 8 hours to be in the interval?

8. Heights of adults.

Researchers studying anthropometry collected body girth measurements and skeletal diameter measurements, as well as age, weight, height and gender, for 507 physically active individuals. The histogram below shows the sample distribution of heights in centimeters.
A histogram is shown for "Height" with values ranging from 140 to 200, with a bin width of 5. The distribution is roughly symmetric with a center at about 170. The bin heights, starting with the bin from 145 to 150, are about 3, 17, 55, 70, 100, 85, 95, 50, 30, 15, and 3.
Figure 7.1.27.
Summary statistics:
Min 147.2
Q1 163.8
Median 170.3
Mean 171.1
SD 9.4
Q3 177.8
Max 198.1
  1. What is the point estimate for the average height of active individuals? What about the median?
  2. What is the point estimate for the standard deviation of the heights of active individuals? What about the IQR?
  3. Is a person who is 1m 80cm (180 cm) tall considered unusually tall? And is a person who is 1m 55cm (155cm) considered unusually short? Explain your reasoning.
  4. The researchers take another random sample of physically active individuals. Would you expect the mean and the standard deviation of this new sample to be the ones given above? Explain your reasoning.
  5. The sample means obtained are point estimates for the mean height of all active individuals, if the sample of individuals is equivalent to a simple random sample. What measure do we use to quantify the variability of such an estimate? Compute this quantity using the data from the original sample under the condition that the data are a simple random sample.

9. Find the mean.

You are given the following hypotheses:
\begin{align*} H_0\amp: \mu = 60\\ H_A\amp: \mu \neq 60 \end{align*}
We know that the sample standard deviation is 8 and the sample size is 20. For what sample mean would the p-value be equal to 0.05? Assume that all conditions necessary for inference are satisfied.

10. \(t^\star\) vs. \(z^\star\).

For a given confidence level, \(t^{\star}_{df}\) is larger than \(z^{\star}\text{.}\) Explain how \(t^{*}_{df}\) being slightly larger than \(z^{*}\) affects the width of the confidence interval.

11. Play the piano.

Georgianna claims that in a small city renowned for its music school, the average child takes less than 5 years of piano lessons. We have a random sample of 20 children from the city, with a mean of 4.6 years of piano lessons and a standard deviation of 2.2 years.
  1. Evaluate Georgianna’s claim (or that the opposite might be true) using a hypothesis test.
  2. Construct a 95% confidence interval for the number of years students in this city take piano lessons, and interpret it in context of the data.
  3. Do your results from the hypothesis test and the confidence interval agree? Explain your reasoning.

12. Auto exhaust and lead exposure.

Researchers interested in lead exposure due to car exhaust sampled the blood of 52 police officers subjected to constant inhalation of automobile exhaust fumes while working traffic enforcement in a primarily urban environment. The blood samples of these officers had an average lead concentration of 124.32 \(\mu\)g/l and a SD of 37.74 \(\mu\)g/l; a previous study of individuals from a nearby suburb, with no history of exposure, found an average blood level concentration of 35 \(\mu\)g/l.
  1. Write down the hypotheses that would be appropriate for testing if the police officers appear to have been exposed to a different concentration of lead.
  2. Explicitly state and check all conditions necessary for inference on these data.
  3. Regardless of your answers in part (b), test the hypothesis that the downtown police officers have a higher lead exposure than the group in the previous study. Interpret your results in context.

13. Car insurance savings.

A market researcher wants to evaluate car insurance savings at a competing company. Based on past studies he is assuming that the standard deviation of savings is $100. He wants to collect data such that he can get a margin of error of no more than $10 at a 95% confidence level. How large of a sample should he collect?

14. SAT scores.

The standard deviation of SAT scores for students at a particular Ivy League college is 250 points. Two statistics students, Raina and Luke, want to estimate the average SAT score of students at this college as part of a class project. They want their margin of error to be no more than 25 points.
  1. Raina wants to use a 90% confidence interval. How large a sample should she collect?
  2. Luke wants to use a 99% confidence interval. Without calculating the actual sample size, determine whether his sample should be larger or smaller than Raina’s, and explain your reasoning.
  3. Calculate the minimum required sample size for Luke.