Learning objectives
In practice, we rarely know the population standard deviation. In the past, when the sample size was large, this unknown number did not present a problem to statisticians. They used the sample standard deviation s as an estimate for σ and proceeded as before to calculate a confidence interval with close-enough results. However, statisticians ran into problems when the sample size was small. A small sample size caused inaccuracies in the confidence interval.
William S. Gosset (1876–1937) of the Guinness brewery in Dublin, Ireland, ran into this problem. His experiments with hops and barley produced very few samples. Just replacing σ with s did not produce accurate results when he tried to calculate a confidence interval. He realized that he could not use a normal distribution for the calculation; he found that the actual distribution depends on the sample size. This problem led him to discover what is called the Student's t-distribution. The name comes from the fact that Gosset wrote under the pen name Student.
Up until the mid-1970s, some statisticians used the normal distribution approximation for large sample sizes and used the Student's t-distribution only for sample sizes of at most 30. With graphing calculators and computers, the practice now is to use the Student's t-distribution whenever s is used as an estimate for σ.
If you draw a simple random sample of size n from a population that has an approximately normal distribution with mean μ and unknown population standard deviation σ and calculate the t-score t = , then the t-scores follow a Student's t-distribution with n – 1 degrees of freedom. The t-score has the same interpretation as the z-score: It measures how far is from its mean μ. For each sample size n, there is a different Student's t-distribution.
The degrees of freedom (df), n - 1, are the sample size minus 1.
- The graph for the Student's t-distribution is similar to the standard normal curve.
- The mean for the Student's t-distribution is zero, and the distribution is symmetric about zero.
- The Student's t-distribution has more probability in its tails than the standard normal distribution. fs-id1164567593546 shows the graphs of the student t-distribution for 1, 2 and 5 degrees of freedom: (v), compare to the standard normal distribution (in black).
View original figure (external; image not reproduced in this text edition)
Original figure description: A graph showing a bell shaped curve of normal distribution with two vertical lines to the left and right of center. The vertical line to the left is labeled 6244 and the vertical line to the right is labeled 11014. The area between the vertical lines is shaded purple. The horizontal axis is unlabeled. There are three tick marks on the horizontal axis at the bottom of the vertical lines and at a point equidistant between the lines. The tick mark in the center of the bell curve is labeled 8629.
- The exact shape of the Student's t-distribution depends on the degrees of freedom. As the degrees of freedom increase, the graph of the Student's t-distribution becomes more like the graph of the standard normal distribution.
- The underlying population of individual observations is assumed to be normally distributed with unknown population mean μ and unknown population standard deviation σ. The size of the underlying population is generally not relevant unless it is very small. If it is bell-shaped (normal), then the assumption is met and does not need discussion. Random sampling is assumed, but that is a completely separate assumption from normality.
Properties of the Student's t-distribution
Calculators and computers can easily calculate any Student's t-probabilities. The TI-83, 83+, and 84+ have a tcdf function to find the probability for given values of t. The grammar for the tcdf command is tcdf(lower bound, upper bound, degrees of freedom). However, for confidence intervals, we need to use inverse probability to find the value of t when we know the probability.
For the TI-84+, you can use the invT command on the DISTRibution menu. The invT command works similarly to the invnorm. The invT command requires two inputs: invT(area to the left, degrees of freedom). The output is the t-score that corresponds to the area we specified.
The TI-83 and 83+ do not have the invT command. (The TI-89 has an inverse T command.)
A probability table for the Student's t-distribution can also be used. The table gives critical t-values that correspond to the confidence level (column) and degrees of freedom (row). (The TI-86 does not have an invT program or command, so if you are using that calculator, you need to use a probability table for the Student's t-distribution.) When using a t-table, note that some tables are formatted to show the confidence level in the column headings, while the column headings in some tables may show only corresponding area in one or both tails.
A Student's t-table (see m79718) gives t-scores given the degrees of freedom and the right-tailed probability. The table is very limited. Calculators and computers can easily calculate any Student's t-probabilities.
If the population standard deviation is not known, the error bound for a population mean is
- ,
- is the t-score with area to the right equal to ,
- use df = n – 1 degrees of freedom, and
- s = sample standard deviation.
The format for the confidence interval is
Suppose you do a study of acupuncture to determine how effective it is in relieving pain. You measure sensory rates for 15 subjects with the results given. Use the sample data to construct a 95 percent confidence interval for the mean sensory rate for the population (assumed normal) from which you took the data.
The solution is shown step-by-step and by using the TI-83, 83+, or 84+ calculators.
- 8.6
- 9.4
- 7.9
- 6.8
- 8.3
- 7.3
- 9.2
- 9.6
- 8.7
- 11.4
- 10.3
- 5.4
- 8.1
- 5.5
- 6.9
- The first solution is step-by-step (Solution A).
- The second solution uses the TI-83+ and TI-84 calculators (Solution B).
To find the confidence interval, you need the sample mean, , and the EBM.
df = 15 – 1 = 14 CL, so α = 1 – CL = 1 – 0.95 = 0.05
= 0.025;
The area to the right of t0.025 is 0.025, and the area to the left of t0.025 is 1 – 0.025 = 0.975.
using invT(.975,14) on the TI-84+ calculator.
The 95 percent confidence interval is (7.30, 9.15).
We estimate with 95 percent confidence that the true population mean sensory rate is between 7.30 and 9.15.
A group of researchers is working to understand the scope of industrial pollution in the human body. Industrial chemicals may enter the body through pollution or as ingredients in consumer products. In October 2008, the scientists tested cord-blood samples for 20 newborn infants in the United States. The cord blood of the in utero/newborn group was tested for 430 industrial compounds, pollutants, and other chemicals, including chemicals linked to brain and nervous-system toxicity, immune-system toxicity, reproductive toxicity, and fertility problems. There are health concerns about the effects of some chemicals on the brain and nervous system. eip-222 shows how many of the targeted chemicals were found in each infant’s cord blood.
| 79 | 145 | 147 | 160 | 116 | 100 | 159 | 151 | 156 | 126 |
| 137 | 83 | 156 | 94 | 121 | 144 | 123 | 114 | 139 | 99 |
Use this sample data to construct a 90 percent confidence interval for the mean number of targeted industrial chemicals to be found in an infant’s blood.
Solution A
From the sample data, you can calculate There are 20 infants in the sample, so n = 20, and df = 20 – 1 = 19.You are asked to calculate a 90 percent confidence interval: CL = 0.90, so α = 1 – CL = 1 – 0.90 = 0.10.
By definition, the area to the right of t0.05 is 0.05, and so the area to the left of t0.05 is 1 – 0.05 = 0.95.
Use a table, calculator, or computer to find that t0.05 = 1.729.
We estimate with 90 percent confidence that the mean number of all targeted industrial chemicals found in cord blood in the United States is between 117.412 and 137.488.
Solution B
References
Bloomberg Businessweek. (n.d.). Retrieved from http://www.businessweek.com/
Environmental Working Group. (n.d.). Human toxome project: Mapping the pollution in people. Retrieved from http://www.ewg.org/sites/humantoxome/participants/participant-group.php?group=in+utero%2Fnewborn
Federal Election Commission. (n.d.). Disclosure data catalog: 2012 leadership PACs and sponsors. Retrieved from http://www.fec.gov/data/index.jsp
Federal Election Commission. (n.d.). Metadata description of leadership PAC list. Retrieved from http://www.fec.gov/finance/disclosure/metadata/metadataLeadershipPacList.shtml
Forbes. (2013). Americas best small companies. Retrieved from http://www.forbes.com/best-small-companies/list/
Forbes. (n.d.). Retrieved from http://www.forbes.com/
Microsoft Bookshelf. (n.d.).
Chapter Review
In many cases, the researcher does not know the population standard deviation, σ, of the measure being studied. In these cases, it is common to use the sample standard deviation, s, as an estimate of σ. The normal distribution creates accurate confidence intervals when σ is known, but it is not as accurate when s is used as an estimate. In this case, the Student’s t-distribution is much better. Define a t-score using the following formula:
The t-score follows the Student’s t-distribution with n – 1 degrees of freedom. The confidence interval under this distribution is calculated with EBM = where is the t-score with area to the right equal to , s is the sample standard deviation, and n is the sample size. Use a table, calculator, or computer to find for a given α.
Formula Review
s = the standard deviation of sample values
is the formula for the t-score, which measures how far away a measure is from the population mean in the Student’s t-distribution.
df = n – 1; the degrees of freedom for a Student’s t-distribution, where n represents the size of the sample
T~tdf the random variable, T, has a Student’s t-distribution with df degrees of freedom
= the error bound for the population mean when the population standard deviation is unknown
is the t-score in the Student’s t-distribution with area to the right equal to
The general form for a confidence interval for a single mean, population standard deviation unknown, Student's t is given by
(lower bound, upper bound)
= (point estimate – EBM, point estimate + EBM)
Use the following information to answer the next five exercises: A hospital is trying to cut down on emergency room wait times. It is interested in the amount of time patients must wait before being called back to be examined. An investigation committee randomly surveyed 70 patients. The sample mean was 1.5 hr, with a sample standard deviation of 0.5 hr.
Identify the following:
- =_______
- =_______
- n =_______
- n – 1 =_______
Define the random variables X and in words.
X is the number of hours a patient waits in the emergency room before being called back to be examined. is the mean wait time of 70 patients in the emergency room.
Which distribution should you use for this problem?
Construct a 95 percent confidence interval for the population mean time spent waiting. State the confidence interval, sketch the graph, and calculate the error bound.
CI: (1.3808, 1.6192)
View original figure (external; image not reproduced in this text edition)
Original figure description: This is a normal distribution curve. The peak of the curve coincides with the point 1.5 on the horizontal axis. A central region is shaded between points 1.38 and 1.62.
EBM = 0.12
Explain in complete sentences what the confidence interval means.
Use the following information to answer the next six exercises: One hundred eight Americans were surveyed to determine the number of hours they spend watching television each month. It was revealed that they watch an average of 151 hours each month, with a standard deviation of 32 hours. Assume that the underlying population distribution is normal.
Identify the following:
- =_______
- =_______
- n =_______
- n – 1 =_______
- = 151
- = 32
- n = 108
- n – 1 = 107
Define the random variable X in words.
Define the random variable in words.
is the mean number of hours spent watching television per month from a sample of 108 Americans.
Which distribution should you use for this problem?
Construct a 99 percent confidence interval for the population mean hours spent watching television per month. State the confidence interval, sketch the graph, and calculate the error bound.
CI: (142.92, 159.08) View original figure (external; image not reproduced in this text edition) Original figure description: This is a normal distribution curve. The peak of the curve coincides with the point 151 on the horizontal axis. A central region is shaded between points 142.92 and 159.08.
EBM = 8.08
Why would the error bound change if the confidence level were lowered to 95 percent?
Use the following information to answer the next 13 exercises: The data in element-181 are the result of a random survey of 39 national flags (with replacement between picks) from various countries. We are interested in finding a confidence interval for the true mean number of colors on a national flag. Let X = the number of colors on a national flag.
| X | Freq. |
|---|---|
| 1 | 1 |
| 2 | 7 |
| 3 | 18 |
| 4 | 7 |
| 5 | 6 |
Calculate the following:
- =______
- =______
- n =______
- 3.26
- 1.02
- 39
Define the random variable in words.
What is estimating?
μ
Is known?
As a result of your answer to element-704, state the exact distribution to use when calculating the confidence interval.
t38
Construct a 95 percent confidence interval for the true mean number of colors on national flags.
How much area is in both tails (combined)?
How much area is in each tail?
0.025
Calculate the following:
- lower limit
- upper limit
- error bound
The 95 percent confidence interval is_____.
(2.93, 3.59)
Fill in the blanks on the graph with the areas, the upper and lower limits of the confidence interval, and the sample mean.
View original figure (external; image not reproduced in this text edition)
Original figure description: This is a template of a normal distribution curve with the central region shaded to represent a confidence interval. The residual areas are on either side of the shaded region. Blanks indicate that students should label the confidence level, residual areas, and points that define the confidence interval.
In one complete sentence, explain what the interval means.
We are 95 percent confident that the true mean number of colors for national flags is between 2.93 colors and 3.59 colors.
Using the same , , and level of confidence, suppose that n were 69 instead of 39. Would the error bound become larger or smaller? How do you know?
The error bound would become EBM = 0.245. This error bound decreases, because as sample sizes increase, variability decreases, and we need less interval length to capture the true mean.
Using the same , , and n = 39, how would the error bound change if the confidence level were reduced to 90 percent? Why?
Homework
In six packages of multicolored fruit snacks, there were five red snack pieces. The total number of snack pieces in the six bags was 68. We wish to calculate a 96 percent confidence interval for the population proportion of red snack pieces.
- Define the random variables X and P′ in words.
- Which distribution should you use for this problem? Explain your choice.
- Calculate p′.
- Construct a 96 percent confidence interval for the population proportion of red snack pieces per bag.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- Do you think that six packages of fruit snacks yield enough data to give accurate results? Why or why not?
A random survey of enrollment at 35 community colleges across the United States yielded the following figures: 6,414, 1,550, 2,109, 9,350, 21,828, 4,300, 5,944, 5,722, 2,825, 2,044, 5,481, 5,200, 5,853, 2,750, 10,012, 6,357, 27,000, 9,414, 7,681, 3,200, 17,500, 9,200, 7,380, 18,314, 6,557, 13,713, 17,768, 7,493, 2,771, 2,861, 1,263, 7,285, 28,165, 5,080, 11,622. Assume the underlying population is normal.
-
- = __________
- = __________
- n = __________
- n – 1 = __________
- Define the random variables and in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 95 percent confidence interval for the population mean enrollment at community colleges in the United States.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- What will happen to the error bound and confidence interval if 500 community colleges are surveyed? Why?
-
- 8,629
- 6,944
- 35
- 34
- CI: (6244, 11,014)
View original figure (external; image not reproduced in this text edition)
Original figure description: A graph showing a bell shaped curve of normal distribution with two vertical lines to the left and right of center. The vertical line to the left is labeled 7.64 and the vertical line to the right is labeled 9.36. The area between the vertical lines is shaded purple. The horizontal axis is unlabeled. There are three tick marks on the horizontal axis at the bottom of the vertical lines and at a point equidistant between the lines. The tick mark in the center of the bell curve is labeled 8.5.
- EB = 2385
- It will become smaller.
Suppose that a committee is studying whether there is wasted time in our judicial system. It is interested in the mean amount of time individuals waste at the courthouse waiting to be called for jury duty. The committee randomly surveyed 81 people who recently served as jurors. The sample mean wait time was 8 hr, with a sample standard deviation of 4 hr.
- = __________
- = __________
- n = __________
- n – 1 = __________
- Define the random variables and in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 95 percent confidence interval for the population mean time wasted.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- Explain in a complete sentence what the confidence interval means.
A pharmaceutical company makes a drug used during surgery. It is assumed that the distribution for the length of time the drug lasts is approximately normal. Researchers in a hospital used the drug on a random sample of nine patients. The effective period of the antibiotic drug for each patient (in hours) was as follows: 2.7, 2.8, 3.0, 2.3, 2.3, 2.2, 2.8, 2.1, and 2.4.
- = __________
- = __________
- n = __________
- n – 1 = __________
- Define the random variable in words.
- Define the random variable in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 95 percent confidence interval for the population mean length of time.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- What does it mean to be 95 percent confident in this problem?
-
- = 2.51
- = 0.318
- n = 9
- n - 1 = 8
- The effective length of time for a tranquilizer
- The mean effective length of time of tranquilizers from a sample of nine patients
- We need to use a Student’s t-distribution, because we do not know the population standard deviation.
-
- CI: (2.27, 2.76)
- Check student's solution.
- EBM: 0.25
- If we were to sample many groups of nine patients, 95 percent of the samples would contain the true population mean length of time.
Suppose that 14 children who were learning to ride two-wheel bikes were surveyed to determine how long they had to use training wheels. It was revealed that they used them an average of six months, with a sample standard deviation of three months. Assume that the underlying population distribution is normal.
-
- = __________
- = __________
- n = __________
- n – 1 = __________
- Define the random variable in words.
- Define the random variable in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 99 percent confidence interval for the population mean length of time using training wheels.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- Why would the error bound change if the confidence level were lowered to 90 percent?
The Federal Election Commission (FEC) collects information about campaign contributions and disbursements for candidates and political committees during each election cycle. A political action committee (PAC) is a committee formed to raise money for candidates and campaigns. A Leadership PAC is a PAC formed by a federal politician (senator or representative) to raise money to help other candidates’ campaigns.
The FEC has reported financial information for 556 Leadership PACs that operated during the 2011–2012 election cycle. The following table shows the total receipts during this cycle for a random selection of 20 Leadership PACs.
| $46,500.00 | $0 | $40,966.50 | $105,887.20 | $5,175.00 |
| $29,050.00 | $19,500.00 | $181,557.20 | $31,500.00 | $149,970.80 |
| $2,555,363.20 | $12,025.00 | $409,000.00 | $60,521.70 | $18,000.00 |
| $61,810.20 | $76,530.80 | $119,459.20 | $0 | $63,520.00 |
| $6,500.00 | $502,578.00 | $705,061.10 | $708,258.90 | $135,810.00 |
| $2,000.00 | $2,000.00 | $0 | $1,287,933.80 | $219,148.30 |
Use the sample data to construct a 96 percent confidence interval for the mean amount of money raised by all Leadership PACs during the 2011–2012 election cycle. Use the Student's t-distribution.
Note that we are not given the population standard deviation, only the standard deviation of the sample.
There are 30 measures in the sample, so n = 30, and df = 30 - 1 = 29.
CL = 0.96, so α = 1 - CL = 1 - 0.96 = 0.04.
= 2.150.
- EBM = $251,854.23 - $204,561.66 = $47,292.57.
+ EBM = $251,854.23 + $204,561.66 = $456,415.89.
We estimate with 96 percent confidence that the mean amount of money raised by all Leadership PACs during the 2011–2012 election cycle lies between $47,292.57 and $456,415.89.
Alternate Solution
Enter the data as a list.
Press
STAT and arrow over to TESTS.
Arrow down to
8:TInterval.
Press
ENTER.
Arrow to Data and press
ENTER.
Arrow down and enter the name of the list where the data are stored.
Enter
Freq: 1
Enter
C-Level: 0.96
Arrow down to
Calculate and press Enter.
The 96 percent confidence interval is ($47,262, $456,447).
The difference between solutions arises from rounding differences.
A major business magazine published data on the best small firms in 2012. These were firms that have been publicly traded for at least a year, have a stock price of at least $5 per share, and have reported annual revenue between $5 million and $1 billion. eip-884 shows the ages of the corporate CEOs for a random sample of these firms.
| 48 | 58 | 51 | 61 | 56 |
| 59 | 74 | 63 | 53 | 50 |
| 59 | 60 | 60 | 57 | 46 |
| 55 | 63 | 57 | 47 | 55 |
| 57 | 43 | 61 | 62 | 49 |
| 67 | 67 | 55 | 55 | 49 |
Use the sample data to construct a 90 percent confidence interval for the mean age of CEOs for these top small firms. Use the Student's t-distribution.
Unoccupied seats on flights cause airlines to lose revenue. Suppose a large airline wants to estimate its mean number of unoccupied seats per flight over the past year. To accomplish this, the records of 225 flights are randomly selected, and the number of unoccupied seats is noted for each of the sampled flights. The sample mean is 11.6 seats, and the sample standard deviation is 4.1 seats.
-
- = __________
- = __________
- n = __________
- n 1 = __________
- Define the random variables and in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 92 percent confidence interval for the population mean number of unoccupied seats per
flight.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
-
- =
- =
- n =
- n - 1 =
- X is the number of unoccupied seats on a single flight. is the mean number of unoccupied seats from a sample of 225 flights.
- We will use a Student’s t-distribution, because we do not know the population standard deviation.
-
- CI: (11.12 , 12.08)
- Check student's solution.
- EBM: 0.48
In a recent sample of 84 used car sales costs, the sample mean was $6,425, with a standard deviation of $3,156. Assume the underlying distribution is approximately normal.
- Which distribution should you use for this problem? Explain your choice.
- Define the random variable in words.
- Construct a 95 percent confidence interval for the population mean cost of a used car.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- Explain what a 95 percent confidence interval means for this study.
Six different national brands of chocolate chip cookies were randomly selected at the supermarket. The grams of fat per serving are as follows: 8, 8, 10, 7, 9, 9. Assume the underlying distribution is approximately normal.
- Construct a 90 percent confidence interval for the population mean grams of fat per serving of chocolate chip cookies sold in supermarkets.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- If you wanted a smaller error bound while keeping the same level of confidence, what should have been changed in the study before it was done?
- Go to the store and record the grams of fat per serving of six brands of chocolate chip cookies.
- Calculate the mean.
- Is the mean within the interval you calculated in Part a? Did you expect it to be? Why or why not?
-
- CI: (7.64, 9.36)
View original figure (external; image not reproduced in this text edition)
Original figure description: A bell curve showing a normal distribution with a shaded region from 7.64 to 9.36, centered at 8.5, often representing a confidence interval or probability.
- EBM: 0.86
- The sample should have been increased.
- Answers will vary.
- Answers will vary.
- Answers will vary.
A survey of the mean number of cents off given by coupons was conducted by randomly surveying one coupon per page from the coupons section of a local newspaper. The following data were collected: 20¢, 75¢, 50¢, 65¢, 30¢, 55¢, 40¢, 40¢, 30¢, 55¢, $1.50, 40¢, 65¢, 40¢. Assume the underlying distribution is approximately normal.
-
- = __________
- = __________
- n = __________
- n 1 = __________
- Define the random variables and in words.
- Which distribution should you use for this problem? Explain your choice.
- Construct a 95 percent confidence interval for the population mean worth of coupons.
- State the confidence interval.
- Sketch the graph.
- Calculate the error bound.
- If many random samples were collected with 14 samples as the size, which percentage of the confidence intervals constructed should contain the population mean worth of coupons? Explain why.
Use the following information to answer the next two exercises: A quality control specialist for a restaurant chain takes a random sample of size 12 to check the amount of soda served in the 16-oz serving size. The sample mean is 13.30, with a sample standard deviation of 1.55. Assume the underlying population is normally distributed.
Find the 95 percent confidence interval for the true population mean for the amount of soda served.
- (12.42, 14.18)
- (12.32, 14.29)
- (12.50, 14.10)
- Impossible to determine
b
Which of the following is the error bound?
- 0.87
- 1.98
- 0.99
- 1.74
Glossary
- degrees of freedom (df)
- the number of objects in a sample that are free to vary
- normal distribution
- a bell-shaped continuous random variable X, with center at the mean value (μ) and distance from the center to the inflection points of the bell curve given by the standard deviation (σ).
We write . If the mean value is 0 and the standard deviation is 1, the random variable is called the standard normal distribution, and it is denoted with the letter Z - standard deviation
- a number that is equal to the square root of the variance and measures how far data values are from their mean; notation: s for sample standard deviation and σ for population standard deviation
- Student's t-distribution
- investigated and reported by William S. Gossett in 1908 and published under the pseudonym Student
the major characteristics of the random variable (RV) are as follows:- It is continuous and assumes any real values.
- The pdf is symmetrical about its mean of zero. However, it is more spread out and flatter at the apex than the normal distribution.
- It approaches the standard normal distribution as n get larger.
- There is a family of t-distributions: Each representative of the family is completely defined by the number of degrees of freedom, which is one less than the number of data.