Every problem in the chapter beside the book’s answer, a chapter at a time as you scroll.
Chapter 12: Linear Regression and Correlation
43 problems · 7 figures12-1 §12.1 source ↗
Use the following information to answer the next three exercises. A vacation resort rents SCUBA equipment to certified divers. The resort charges an up-front fee of $25 and another fee of $12.50 an hour.
What are the dependent and independent variables?
Answer
12-3 §12.1 source ↗
Use the following information to answer the next three exercises. A vacation resort rents SCUBA equipment to certified divers. The resort charges an up-front fee of $25 and another fee of $12.50 an hour.
Graph the equation from Exercise 12.2.
Answer
12-5 §12.1 source ↗
Use the following information to answer the next two exercises. A credit card company charges $10 when a payment is late, and $5 a day each day the payment remains unpaid.
Graph the equation from Exercise 12.4.
Answer
12-7 §12.1 source ↗
Use the following information to answer the next two exercises. A credit card company charges $10 when a payment is late, and $5 a day each day the payment remains unpaid.
Which of the following equations are linear?
a. y = 6x + 8
b. y + 7 = 3x
c. y – x = 8x2
d. 4y = 8
Answer
12-9 §12.1 source ↗
Table 12.13 contains real data for the first two decades of flu reporting.
Use the columns "year" and "# flu cases diagnosed. Why is “year” the independent variable and “# flu cases diagnosed.” the dependent variable (instead of the reverse)?
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-11 §12.1 source ↗
Use the following information to answer the next two exercises. A specialty cleaning company charges an equipment fee and an hourly labor fee. A linear equation that expresses the total amount of the fee the company charges for each session is y = 50 + 100x.
What is the y-intercept and what is the slope? Interpret them using complete sentences.
Answer
12-13 §12.1 source ↗
Use the following information to answer the next three questions. Due to erosion, a river shoreline is losing several thousand pounds of soil each year. A linear equation that expresses the total amount of soil lost per year is y = 12,000x.
How many pounds of soil does the shoreline lose in a year?
Answer
12-15 §12.1 source ↗
Use the following information to answer the next two exercises. The price of a single issue of stock can fluctuate throughout the day. A linear equation that represents the price of stock for Shipment Express is y = 15 – 1.5x where x is the number of hours passed in an eight-hour day of trading.
What are the slope and y-intercept? Interpret their meaning.
Answer
12-17 §12.2 source ↗
Answer
12-19 §12.2 source ↗
Answer
12-21 §12.3 source ↗
Use the following information to answer the next five exercises. A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars).
Use regression to find the equation for the line of best fit.
| x | y | x | y |
|---|---|---|---|
| 0 | 2 | 5 | 12 |
| 3 | 8 | 4 | 9 |
| 2 | 7 | 3 | 9 |
| 1 | 3 | 0 | 3 |
| 5 | 13 | 4 | 10 |
Answer
12-23 §12.3 source ↗
Use the following information to answer the next five exercises. A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars).
What is the slope of the line of best fit? What does it represent?
| x | y | x | y |
|---|---|---|---|
| 0 | 2 | 5 | 12 |
| 3 | 8 | 4 | 9 |
| 2 | 7 | 3 | 9 |
| 1 | 3 | 0 | 3 |
| 5 | 13 | 4 | 10 |
Answer
12-25 §12.3 source ↗
Use the following information to answer the next five exercises. A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars).
What does an r value of zero mean?
| x | y | x | y |
|---|---|---|---|
| 0 | 2 | 5 | 12 |
| 3 | 8 | 4 | 9 |
| 2 | 7 | 3 | 9 |
| 1 | 3 | 0 | 3 |
| 5 | 13 | 4 | 10 |
Answer
12-27 §12.3 source ↗
Use the following information to answer the next five exercises. A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars).
When n = 100 and r = -0.89, is there a significant correlation? Explain.
| x | y | x | y |
|---|---|---|---|
| 0 | 2 | 5 | 12 |
| 3 | 8 | 4 | 9 |
| 2 | 7 | 3 | 9 |
| 1 | 3 | 0 | 3 |
| 5 | 13 | 4 | 10 |
Answer
12-29 §12.4 source ↗
Answer
12-31 §12.5 source ↗
Use the following information to answer the next two exercises. An electronics retailer used regression to find a simple model to predict sales growth in the first quarter of the new year (January through March). The model is good for 90 days, where x is the day. The model can be written as follows:
ŷ = 101.32 + 2.48x where ŷ is in thousands of dollars.
What would you predict the sales to be on day 60?
Answer
12-33 §12.5 source ↗
Use the following information to answer the next three exercises. A landscaping company is hired to mow the grass for several large properties. The total area of the properties combined is 1,350 acres. The rate at which one person can mow is as follows:
ŷ = 1350 – 1.2x where x is the number of hours and ŷ represents the number of acres left to mow.
How many acres will be left to mow after 20 hours of work?
Answer
12-35 §12.5 source ↗
Use the following information to answer the next three exercises. A landscaping company is hired to mow the grass for several large properties. The total area of the properties combined is 1,350 acres. The rate at which one person can mow is as follows:
ŷ = 1350 – 1.2x where x is the number of hours and ŷ represents the number of acres left to mow.
How many hours will it take to mow all of the lawns? (When is ŷ = 0?)
Answer
12-37 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
Perform linear regression. What is the linear equation? Round to the nearest whole number.
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-39 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
Solve.
a. When x = 1985, ŷ = _____
b. When x = 1990, ŷ =_____
c. When x = 1970, ŷ =______ Why doesn’t this answer make sense?
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
a. When x = 1985, ŷ = 25,52
b. When x = 1990, ŷ = 34,275
c. When x = 1970, ŷ = –725 Why doesn’t this answer make sense? The range of x values was 1981 to 2002; the year 1970 is not in this range. The regression equation does not apply, because predicting for the year 1970 is extrapolation, which requires a different process. Also, a negative number does not make sense in this context, where we are predicting flu cases diagnosed.
12-41 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
What does the correlation imply about the relationship between time (years) and the number of diagnosed flu cases reported in the U.S.?
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-43 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
Write the equation: ŷ= ____________
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-45 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
Does the line seem to fit the data? Why or why not?
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-47 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
What does the correlation imply about the relationship between time (years) and the number of diagnosed flu cases reported in the U.S.?
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
12-49 §12.5 source ↗
Table 12.15 contains real data for the first two decades of flu cases reporting.
Enter your data into your calculator or computer. The pre-1981 data should not be included. Why is that so?
Write the linear equation, rounding to four decimal places:
| Year | # flu cases diagnosed | # flu deaths |
| Pre-1981 | 91 | 29 |
| 1981 | 319 | 121 |
| 1982 | 1,170 | 453 |
| 1983 | 3,076 | 1,482 |
| 1984 | 6,240 | 3,466 |
| 1985 | 11,776 | 6,878 |
| 1986 | 19,032 | 11,987 |
| 1987 | 28,564 | 16,162 |
| 1988 | 35,447 | 20,868 |
| 1989 | 42,674 | 27,591 |
| 1990 | 48,634 | 31,335 |
| 1991 | 59,660 | 36,560 |
| 1992 | 78,530 | 41,055 |
| 1993 | 78,834 | 44,730 |
| 1994 | 71,874 | 49,095 |
| 1995 | 68,505 | 49,456 |
| 1996 | 59,347 | 38,510 |
| 1997 | 47,149 | 20,736 |
| 1998 | 38,393 | 19,005 |
| 1999 | 25,174 | 18,454 |
| 2000 | 25,522 | 17,347 |
| 2001 | 25,643 | 17,402 |
| 2002 | 26,464 | 16,371 |
| Total | 802,118 | 489,093 |
Answer
We don’t know if the pre-1981 data was collected from a single year. So we don’t have an accurate x value for this figure.
Regression equation: ŷ (#Flu Cases) = –3,448,225 + 1749.777 (year)
| Coefficients | |
|---|---|
| Intercept | –3,448,225 |
| X Variable 1 | 1,749.777 |
| Coefficients | |
|---|---|
| Intercept | –3,448,225 |
| X Variable 1 | 1,749.777 |
12-51 §12.6 source ↗
Use the following information to answer the next four exercises. The scatter plot shows the relationship between hours spent studying and exam scores. The line shown is the calculated line of best fit. The correlation coefficient is 0.69.
Do there appear to be any outliers?
Answer
12-53 §12.6 source ↗
Use the following information to answer the next four exercises. The scatter plot shows the relationship between hours spent studying and exam scores. The line shown is the calculated line of best fit. The correlation coefficient is 0.69.
What effect did the potential outlier have on the line of best fit?
Answer
12-55 §12.6 source ↗
Use the following information to answer the next four exercises. The scatter plot shows the relationship between hours spent studying and exam scores. The line shown is the calculated line of best fit. The correlation coefficient is 0.69.
The Sum of Squared Errors for a data set of 18 numbers is 49. What is the standard deviation?
Answer
12-57 §12.1 source ↗
For each of the following situations, state the independent variable and the dependent variable.
a. A study is done to determine if elderly drivers are involved in more motor vehicle fatalities than other drivers. The number of fatalities per 100,000 drivers is compared to the age of drivers.
b. A study is done to determine if the weekly grocery bill changes based on the number of family members.
c. Insurance companies base life insurance premiums partially on the age of the applicant.
d. Utility bills vary according to power consumption.
e. A study is done to determine if a higher education reduces the crime rate in a population.
Answer
a. independent variable: age; dependent variable: fatalities
b. independent variable: # of family members; dependent variable: grocery bill
c. independent variable: age of applicant; dependent variable: insurance premium
d. independent variable: power consumption; dependent variable: utility
e. independent variable: higher education (years); dependent variable: crime rates
12-59 §12.2 source ↗
| Year | Cuba’s PPP | Year | Cuba’s PPP |
|---|---|---|---|
| 1 | 1,700 | 8 | 4,000 |
| 2 | 1,700 | 9 | 11,000 |
| 4 | 2,300 | 10 | 9,500 |
| 5 | 2,900 | 11 | 9,700 |
| 6 | 3,000 | 12 | 9,900 |
| 7 | 3,500 |
Answer
12-61 §12.2 source ↗
| School | Mid-Career Salary (in thousands) | Yearly Tuition |
|---|---|---|
| Princeton | 137 | 57,410 |
| Harvey Mudd | 135 | 62,817 |
| CalTech | 127 | 60,864 |
| US Naval Academy | 122 | 0 |
| West Point | 120 | 0 |
| MIT | 118 | 57,986 |
| Lehigh University | 118 | 59,930 |
| NYU-Poly | 117 | 58,168 |
| Babson College | 117 | 56,576 |
| Stanford | 114 | 56,169 |
Answer
12-63 §12.2 source ↗
Answer
12-65 §12.3 source ↗
Answer
12-67 §12.5 source ↗
Recently, the annual number of driver deaths per 100,000 for the selected age groups was as follows:
a. For each age group, pick the midpoint of the interval for the x value. (For the 75+ group, use 80.)
b. Using “ages” as the independent variable and “Number of driver deaths per 100,000” as the dependent variable, make a scatter plot of the data.
c. Calculate the least squares (best–fit) line. Put the equation in the form of: ŷ = a + bx
d. Find the correlation coefficient. Is it significant?
e. Predict the number of deaths for ages 40 and 60.
f. Based on the given data, is there a linear relationship between age of a driver and driver fatality rate?
g. What is the slope of the least squares (best-fit) line? Interpret the slope.
| Age | Number of Driver Deaths per 100,000 |
|---|---|
| 16–19 | 38 |
| 20–24 | 36 |
| 25–34 | 24 |
| 35–54 | 20 |
| 55–74 | 18 |
| 75+ | 28 |
Answer
a.
| Age | Number of Driver Deaths per 100,000 |
|---|---|
| 16–19 | 38 |
| 20–24 | 36 |
| 25–34 | 24 |
| 35–54 | 20 |
| 55–74 | 18 |
| 75+ | 28 |
b. Check student’s solution.
c. ŷ = 35.5818045 – 0.19182491x
d. r = –0.57874
For four df and alpha = 0.05, the LinRegTTest gives p-value = 0.2288 so we do not reject the null hypothesis; there is not a significant linear relationship between deaths and age.
Using the table of critical values for the correlation coefficient, with four df, the critical value is 0.811. The correlation coefficient r = –0.57874 is not less than –0.811, so we do not reject the null hypothesis.
e. There is not a linear relationship between the two variables, as evidenced by a p-value greater than 0.05.
| Age | Number of Driver Deaths per 100,000 |
|---|---|
| 16–19 | 38 |
| 20–24 | 36 |
| 25–34 | 24 |
| 35–54 | 20 |
| 55–74 | 18 |
| 75+ | 28 |
12-69 §12.5 source ↗
| Page number | Maximum value ($) |
|---|---|
| 4 | 16 |
| 14 | 19 |
| 25 | 15 |
| 32 | 17 |
| 43 | 19 |
| 57 | 15 |
| 72 | 16 |
| 85 | 15 |
| 90 | 17 |
The maximum discount value of the Entertainment® card for the “Fine Dining” section, Edition ten, for various pages is given in Table 12.22
a. Decide which variable should be the independent variable and which should be the dependent variable.
b. Draw a scatter plot of the ordered pairs.
c. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx
d. Find the correlation coefficient. Is it significant?
e. Find the estimated maximum values for the restaurants on page ten and on page 70.
f. Does it appear that the restaurants giving the maximum value are placed in the beginning of the “Fine Dining” section? How did you arrive at your answer?
g. Suppose that there were 200 pages of restaurants. What do you estimate to be the maximum value for a restaurant listed on page 200?
h. Is the least squares line valid for page 200? Why or why not?
i. What is the slope of the least-squares (best-fit) line? Interpret the slope.
Answer
a. We wonder if the better discounts appear earlier in the book so we select page as X and discount as Y.
b. Check student’s solution.
c. ŷ = 17.21757 – 0.01412x
d. r = – 0.2752
For seven df and alpha = 0.05, using LinRegTTest p-value = 0.4736 so we do not reject; there is a not a significant linear relationship between page and discount.
Using the table of critical values for the correlation coefficient, with seven df, the critical value is 0.666. The correlation coefficient xi = –0.2752 is not less than 0.666 so we do not reject.
e. There is not a significant linear correlation so it appears there is no relationship between the page and the amount of the discount.
As the page number increases by one page, the discount decreases by $0.01412
12-71 §12.5 source ↗
| State | # letters in name | Year entered the Union | Rank for entering the Union | Area (square miles) |
|---|---|---|---|---|
| Alabama | 7 | 1819 | 22 | 52,423 |
| Colorado | 8 | 1876 | 38 | 104,100 |
| Hawaii | 6 | 1959 | 50 | 10,932 |
| Iowa | 4 | 1846 | 29 | 56,276 |
| Maryland | 8 | 1788 | 7 | 12,407 |
| Missouri | 8 | 1821 | 24 | 69,709 |
| New Jersey | 9 | 1787 | 3 | 8,722 |
| Ohio | 4 | 1803 | 17 | 44,828 |
| South Carolina | 13 | 1788 | 8 | 32,008 |
| Utah | 4 | 1896 | 45 | 84,904 |
| Wisconsin | 9 | 1848 | 30 | 65,499 |
We are interested in whether or not the number of letters in a state name depends upon the year the state entered the Union.
a. Decide which variable should be the independent variable and which should be the dependent variable.
b. Draw a scatter plot of the data.
c. Does it appear from inspection that there is a relationship between the variables? Why or why not?
d. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx.
e. Find the correlation coefficient. What does it imply about the significance of the relationship?
f. Find the estimated number of letters (to the nearest integer) a state would have if it entered the Union in 1900. Find the estimated number of letters a state would have if it entered the Union in 1940.
g. Does it appear that a line is the best way to fit the data? Why or why not?
h. Use the least-squares line to estimate the number of letters a new state that enters the Union this year would have. Can the least squares line be used to predict it? Why or why not?
Answer
a. Year is the independent or x variable; the number of letters is the dependent or y variable.
b. Check student’s solution.
c. no
d. ŷ = 47.03 – 0.0216x
e. –0.4280 The r-value indicates that there is not a significant correlation between the year the state entered the union and the number of letters in the name.
f. No, the relationship does not appear to be linear; the correlation is not significant.
12-73 §12.6 source ↗
Ornithologists, scientists who study birds, tag sparrow hawks in 13 different colonies to study their population. They gather data for the percent of new sparrow hawks in each colony and the percent of those that have returned from migration.
Percent return:74; 66; 81; 52; 73; 62; 52; 45; 62; 46; 60; 46; 38
Percent new:5; 6; 8; 11; 12; 15; 16; 17; 18; 18; 19; 20; 20
a. Enter the data into your calculator and make a scatter plot.
b. Use your calculator’s regression function to find the equation of the least-squares regression line. Add this to your scatter plot from part a.
c. Explain in words what the slope and y-intercept of the regression line tell us.
d. How well does the regression line fit the data? Explain your response.
e. Which point has the largest residual? Explain what the residual means in context. Is this point an outlier? An influential point? Explain.
f. An ecologist wants to predict how many birds will join another colony of sparrow hawks to which 70% of the adults from the previous year have returned. What is the prediction?
Answer
a. and b. Check student’s solution.
c. The slope of the regression line is -0.3031 with a y-intercept of 31.93. In context, the y-intercept indicates that when there are no returning sparrow hawks, there will be almost 32% new sparrow hawks, which doesn’t make sense since if there are no returning birds, then the new percentage would have to be 100% (this is an example of why we do not extrapolate). The slope tells us that for each percentage increase in returning birds, the percentage of new birds in the colony decreases by 30.3%.
d. If we examine r2, we see that only 57.52% of the variation in the percent of new birds is explained by the model and the correlation coefficient, r = –.7584 only indicates a somewhat strong correlation between returning and new percentages.
e. The ordered pair (66, 6) generates the largest residual of 6.0. This means that when the observed return percentage is 66%, our observed new percentage, 6%, is almost 6% less than the predicted new value of 11.98%. If we remove this data pair, we see only an adjusted slope of -.2789 and an adjusted intercept of 30.9816. In other words, even though this data generates the largest residual, it is not an outlier, nor is the data pair an influential point.
f. If there are 70% returning birds, we would expect to see y = –.2789(70) + 30.9816 = 0.114 or 11.4% new birds in the colony.
12-75 §12.6 source ↗
The following table consists of one student athlete’s time (in minutes) to swim 2000 yards and the student’s heart rate (beats per minute) after swimming on a random sample of 10 days:
a. Enter the data into your calculator and make a scatter plot.
b. Use your calculator’s regression function to find the equation of the least-squares regression line. Add this to your scatter plot from part a.
c. Explain in words what the slope and y-intercept of the regression line tell us.
d. How well does the regression line fit the data? Explain your response.
e. Which point has the largest residual? Explain what the residual means in context. Is this point an outlier? An influential point? Explain.
| Swim Time | Heart Rate |
|---|---|
| 34.12 | 144 |
| 35.72 | 152 |
| 34.72 | 124 |
| 34.05 | 140 |
| 34.13 | 152 |
| 35.73 | 146 |
| 36.17 | 128 |
| 35.57 | 136 |
| 35.37 | 144 |
| 35.57 | 148 |
Answer
a. Check student’s solution.
b. Check student’s solution.
c. We have a slope of –1.4946 with a y-intercept of 193.88. The slope, in context, indicates that for each additional minute added to the swim time, the heart rate will decrease by 1.5 beats per minute. If the student is not swimming at all, the y-intercept indicates that his heart rate will be 193.88 beats per minute. While the slope has meaning (the longer it takes to swim 2,000 meters, the less effort the heart puts out), the y-intercept does not make sense. If the athlete is not swimming (resting), then his heart rate should be very low.
d. Since only 1.5% of the heart rate variation is explained by this regression equation, we must conclude that this association is not explained with a linear relationship.
e. The point (34.72, 124) generates the largest residual of –11.82. This means that our observed heart rate is almost 12 beats less than our predicted rate of 136 beats per minute. When this point is removed, the slope becomes –2.953 with the y-intercept changing to 247.1616. While the linear association is still very weak, we see that the removed data pair can be considered an influential point in the sense that the y-intercept becomes more meaningful.
12-77 §12.6 source ↗
| School | Mid-Career Salary (in thousands) | Yearly Tuition |
|---|---|---|
| Princeton | 137 | 57,410 |
| Harvey Mudd | 135 | 62,817 |
| CalTech | 127 | 60,864 |
| US Naval Academy | 122 | 0 |
| West Point | 120 | 0 |
| MIT | 118 | 57,986 |
| Lehigh University | 118 | 59,930 |
| NYU-Poly | 117 | 58,168 |
| Babson College | 117 | 56,576 |
| Stanford | 114 | 56,169 |
Answer
12-79 §12.BIT source ↗
| Year | Percent of workers paid hourly rates |
|---|---|
| 1 | 61.2 |
| 2 | 60.7 |
| 3 | 61.3 |
| 4 | 61.3 |
| 5 | 61.8 |
| 6 | 61.7 |
| 7 | 61.8 |
| 8 | 62.0 |
| 9 | 62.7 |
| 12 | 62.8 |
| 14 | 62.9 |
The percent of women who are wage and salary workers who are paid hourly rates is given in Table 12.31 for a 14-year period.
a. Using “year” as the independent variable and “percent” as the dependent variable, draw a scatter plot of the data.
b. Does it appear from inspection that there is a relationship between the variables? Why or why not?
c. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx
d. Find the correlation coefficient. Is it significant?
e. Find the estimated percents for year 13 and year 10.
f. Based on the data, is there a linear relationship between the year and the percent of female wage and salary earners who are paid hourly rates?
g. Are there any outliers in the data?
h. What is the estimated percent for the year 72? Does the least-squares line give an accurate estimate for that year? Explain why or why not.
i. What is the slope of the least-squares (best-fit) line? Interpret the slope.
Answer
a. Check student's solution.
b. yes
c. ŷ = −266.8863+0.1656x
d. 0.9448; Yes
e. 62.8233; 62.3265
f. yes
g. no; (Year 9, 62.7)
h. 72.5937; no
i. slope = 0.1656.
As the year increases by one, the percent of workers paid hourly rates tends to increase by 0.1656.
12-81 §12.BIT source ↗
| Size (ounces) | Cost ($) | Cost per ounce |
|---|---|---|
| 16 | 3.99 | |
| 32 | 4.99 | |
| 64 | 5.99 | |
| 200 | 10.99 |
Use the following information to answer the next two exercises. The cost of a leading liquid laundry detergent in different sizes is given in Table 12.32.
a. Complete Table 12.32 for the cost per ounce of the different sizes.
b. Using “size” as the independent variable and “cost per ounce” as the dependent variable, draw a scatter plot of the data.
c. Does it appear from inspection that there is a relationship between the variables? Why or why not?
d. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx
e. Find the correlation coefficient. Is it significant?
f. If the laundry detergent were sold in a 40-ounce size, find the estimated cost per ounce.
g. If the laundry detergent were sold in a 90-ounce size, find the estimated cost per ounce.
h. Does it appear that a line is the best way to fit the data? Why or why not?
i. Are there any outliers in the the data?
j. Is the least-squares line valid for predicting what a 300-ounce size of the laundry detergent would cost per ounce? Why or why not?
k. What is the slope of the least-squares (best-fit) line? Interpret the slope.
Answer
a.
| Size (ounces) | Cost ($) | cents/oz |
|---|---|---|
| 16 | 3.99 | 24.94 |
| 32 | 4.99 | 15.59 |
| 64 | 5.99 | 9.36 |
| 200 | 10.99 | 5.50 |
b. Check student’s solution.
c. There is a linear relationship for the sizes 16 through 64, but that linear trend does not continue to the 200-oz size.
d. ŷ = 20.2368 – 0.0819x
e. r = –0.8086
f. 40-oz: 16.96 cents/oz
g. 90-oz: 12.87 cents/oz
h. The relationship is not linear; the least squares line is not appropriate.
i. no outliers
j. No, you would be extrapolating. The 300-oz size is outside the range of x.
k. slope = –0.08194; for each additional ounce in size, the cost per ounce decreases by 0.082 cents.
| Size (ounces) | Cost ($) | cents/oz |
|---|---|---|
| 16 | 3.99 | 24.94 |
| 32 | 4.99 | 15.59 |
| 64 | 5.99 | 9.36 |
| 200 | 10.99 | 5.50 |
12-83 §12.BIT source ↗
| Size (ounces) | Cost ($) | Cost per ounce |
|---|---|---|
| 16 | 3.99 | |
| 32 | 4.99 | |
| 64 | 5.99 | |
| 200 | 10.99 |
| Hard Disk Drive Capacity (in terabytes) | Sale Price ($) |
|---|---|
| 9 | 147 |
| 20 | 197 |
| 27 | 297 |
| 31 | 447 |
| 35 | 1177 |
| 40 | 2177 |
| 60 | 2497 |
Use the following information to answer the next two exercises. The cost of a leading liquid laundry detergent in different sizes is given in Table 12.32.
The following are advertised sale prices of hard disk drives on Amazon’s website for various capacity hard drives.
a. Decide which variable should be the independent variable and which should be the dependent variable.
b. Draw a scatter plot of the data.
c. Does it appear from inspection that there is a relationship between the variables? Why or why not?
d. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx
e. Find the correlation coefficient. Is it significant?
f. Find the estimated sale price for a 32 terabyte hard drive. Find the cost for a 50 terabyte hard drive.
g. Does it appear that a line is the best way to fit the data? Why or why not?
h. Are there any outliers in the data?
i. What is the slope of the least-squares (best-fit) line? Interpret the slope.
Answer
a. Size is x, the independent variable, price is y, the dependent variable.
b. Answers may vary.
c. The relationship does not appear to be linear.
d. ŷ = –745.252 + 54.75569x
e. r = 0.8944, yes it is significant
f. 32-terabyte: $1006.93, 50-terabyte: $1992.53
g. No, the relationship does not appear to be linear. However, r is significant.
h. no, the 60-terabyte hard drive
i. For each additional terabyte, the price increases by $54.76
12-85 §12.BIT source ↗
| Size (ounces) | Cost ($) | Cost per ounce |
|---|---|---|
| 16 | 3.99 | |
| 32 | 4.99 | |
| 64 | 5.99 | |
| 200 | 10.99 |
| State | # letters in name | Year entered the Union | Ranks for entering the Union | Area (square miles) |
|---|---|---|---|---|
| Alabama | 7 | 1819 | 22 | 52,423 |
| Colorado | 8 | 1876 | 38 | 104,100 |
| Hawaii | 6 | 1959 | 50 | 10,932 |
| Iowa | 4 | 1846 | 29 | 56,276 |
| Maryland | 8 | 1788 | 7 | 12,407 |
| Missouri | 8 | 1821 | 24 | 69,709 |
| New Jersey | 9 | 1787 | 3 | 8,722 |
| Ohio | 4 | 1803 | 17 | 44,828 |
| South Carolina | 13 | 1788 | 8 | 32,008 |
| Utah | 4 | 1896 | 45 | 84,904 |
| Wisconsin | 9 | 1848 | 30 | 65,499 |
Use the following information to answer the next two exercises. The cost of a leading liquid laundry detergent in different sizes is given in Table 12.32.
We are interested in whether there is a relationship between the ranking of a state and the area of the state.
a. What are the independent and dependent variables?
b. What do you think the scatter plot will look like? Make a scatter plot of the data.
c. Does it appear from inspection that there is a relationship between the variables? Why or why not?
d. Calculate the least-squares line. Put the equation in the form of: ŷ = a + bx
e. Find the correlation coefficient. What does it imply about the significance of the relationship?
f. Find the estimated areas for Alabama and for Colorado. Are they close to the actual areas?
g. Use the two points in part f to plot the least-squares line on your graph from part b.
h. Does it appear that a line is the best way to fit the data? Why or why not?
i. Are there any outliers?
j. Use the least squares line to estimate the area of a new state that enters the Union. Can the least-squares line be used to predict it? Why or why not?
k. Delete “Hawaii” and substitute “Alaska” for it. Alaska is the forty-ninth, state with an area of 656,424 square miles.
l. Calculate the new least-squares line.
m. Find the estimated area for Alabama. Is it closer to the actual area with this new least-squares line or with the previous one that included Hawaii? Why do you think that’s the case?
n. Do you think that, in general, newer states are larger than the original states?
Answer
a. Let rank be the independent variable and area be the dependent variable.
b. Answers may vary.
c. There appears to be a linear relationship, with one outlier.
d. ŷ (area) = 24177.06 + 1010.478x
e. r = 0.50047, r is not significant so there is no relationship between the variables.
f. Alabama: 46407.576 Colorado: 62575.224
g. Alabama estimate is closer than Colorado estimate.
h. If the outlier is removed, there is a linear relationship.
i. There is one outlier (Hawaii).
j. rank 51: 75711.4; no
k.
| Alabama | 7 | 1819 | 22 | 52,423 |
|---|---|---|---|---|
| Colorado | 8 | 1876 | 38 | 104,100 |
| Hawaii | 6 | 1959 | 50 | 10,932 |
| Iowa | 4 | 1846 | 29 | 56,276 |
| Maryland | 8 | 1788 | 7 | 12,407 |
| Missouri | 8 | 1821 | 24 | 69,709 |
| New Jersey | 9 | 1787 | 3 | 8,722 |
| Ohio | 4 | 1803 | 17 | 44,828 |
| South Carolina | 13 | 1788 | 8 | 32,008 |
| Utah | 4 | 1896 | 45 | 84,904 |
| Wisconsin | 9 | 1848 | 30 | 65,499 |
l. ŷ = –87065.3 + 7828.532x
m. Alabama: 85,162.404; the prior estimate was closer. Alaska is an outlier.
n. yes, with the exception of Hawaii
| Alabama | 7 | 1819 | 22 | 52,423 |
|---|---|---|---|---|
| Colorado | 8 | 1876 | 38 | 104,100 |
| Hawaii | 6 | 1959 | 50 | 10,932 |
| Iowa | 4 | 1846 | 29 | 56,276 |
| Maryland | 8 | 1788 | 7 | 12,407 |
| Missouri | 8 | 1821 | 24 | 69,709 |
| New Jersey | 9 | 1787 | 3 | 8,722 |
| Ohio | 4 | 1803 | 17 | 44,828 |
| South Carolina | 13 | 1788 | 8 | 32,008 |
| Utah | 4 | 1896 | 45 | 84,904 |
| Wisconsin | 9 | 1848 | 30 | 65,499 |
Loading chapter 13…
Problems and answers are adapted from Introductory Statistics 2e by Barbara Illowsky and Susan Dean, OpenStax, and are used under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/introductory-statistics-2e/pages/1-introduction. Illustrations: Copyright Rice University, OpenStax, under CC BY-NC-SA 4.0 license. This adaptation is released under the same licence, is non-commercial, and is neither affiliated with nor endorsed by OpenStax or Rice University.