### 12.1 Linear Equations

For each of the following situations, state the independent variable and the dependent variable.

- 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.
- A study is done to determine if the weekly grocery bill changes based on the number of family members.
- Insurance companies base life insurance premiums partially on the age of the applicant.
- Utility bills vary according to power consumption.
- A study is done to determine if a higher education reduces the crime rate in a population.

Piece-rate systems are widely debated incentive payment plans. In a recent study of loan officer effectiveness, the following piece-rate system was examined:

% of goal reached | < 80 | 80 | 100 | 120 |

Incentive | n/a | $4,000 with an additional $125 added per percentage point from 81–99% | $6,500 with an additional $125 added per percentage point from 101–119% | $9,500 with an additional $125 added per percentage point starting at 121% |

If a loan officer makes 95% of his or her goal, write the linear function that applies based on the incentive plan table. In context, explain the *y*-intercept and slope.

### 12.2 Scatter Plots

The Gross Domestic Product Purchasing Power Parity is an indication of a country’s currency value compared to another country. Table 12.16 shows the GDP PPP of Cuba as compared to US dollars. Construct a scatter plot of the data.

Year | Cuba’s PPP | Year | Cuba’s PPP |
---|---|---|---|

1999 | 1,700 | 2006 | 4,000 |

2000 | 1,700 | 2007 | 11,000 |

2002 | 2,300 | 2008 | 9,500 |

2003 | 2,900 | 2009 | 9,700 |

2004 | 3,000 | 2010 | 9,900 |

2005 | 3,500 |

The following table shows the poverty rates and cell phone usage in the United States. Construct a scatter plot of the data

Year | Poverty Rate | Cellular Usage per Capita |
---|---|---|

2003 | 12.7 | 54.67 |

2005 | 12.6 | 74.19 |

2007 | 12 | 84.86 |

2009 | 12 | 90.82 |

Does the higher cost of tuition translate into higher-paying jobs? The table lists the top ten colleges based on mid-career salary and the associated yearly tuition costs. Construct a scatter plot of the data.

School | Mid-Career Salary (in thousands) | Yearly Tuition |
---|---|---|

Princeton | 137 | 28,540 |

Harvey Mudd | 135 | 40,133 |

CalTech | 127 | 39,900 |

US Naval Academy | 122 | 0 |

West Point | 120 | 0 |

MIT | 118 | 42,050 |

Lehigh University | 118 | 43,220 |

NYU-Poly | 117 | 39,565 |

Babson College | 117 | 40,400 |

Stanford | 114 | 54,506 |

If the level of significance is 0.05 and the *p*-value is 0.06, what conclusion can you draw?

### 12.3 The Regression Equation

What is the process through which we can calculate a line that goes through a scatter plot with a linear pattern?

Can a coefficient of determination be negative? Why or why not?

### 12.5 Prediction

Recently, the annual number of driver deaths per 100,000 for the selected age groups was as follows:

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 |

- For each age group, pick the midpoint of the interval for the
*x*value. (For the 75+ group, use 80.) - 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.
- Calculate the least squares (best–fit) line. Put the equation in the form of:
*ŷ*=*a*+*bx* - Find the correlation coefficient. Is it significant?
- Predict the number of deaths for ages 40 and 60.
- Based on the given data, is there a linear relationship between age of a driver and driver fatality rate?
- What is the slope of the least squares (best-fit) line? Interpret the slope.

Table 12.20 shows the life expectancy for an individual born in the United States in certain years.

Year of Birth | Life Expectancy |
---|---|

1930 | 59.7 |

1940 | 62.9 |

1950 | 70.2 |

1965 | 69.7 |

1973 | 71.4 |

1982 | 74.5 |

1987 | 75 |

1992 | 75.7 |

2010 | 78.7 |

- Decide which variable should be the independent variable and which should be the dependent variable.
- Draw a scatter plot of the ordered pairs.
- Calculate the least squares line. Put the equation in the form of:
*ŷ*=*a*+*bx* - Find the correlation coefficient. Is it significant?
- Find the estimated life expectancy for an individual born in 1950 and for one born in 1982.
- Why aren’t the answers to part e the same as the values in Table 12.20 that correspond to those years?
- Use the two points in part e to plot the least squares line on your graph from part b.
- Based on the data, is there a linear relationship between the year of birth and life expectancy?
- Are there any outliers in the data?
- Using the least squares line, find the estimated life expectancy for an individual born in 1850. Does the least squares line give an accurate estimate for that year? Explain why or why not.
- What is the slope of the least-squares (best-fit) line? Interpret the slope.

The maximum discount value of the Entertainment® card for the “Fine Dining” section, Edition ten, for various pages is given in Table 12.21

Page number | Maximum value ($) |
---|---|

4 | 16 |

14 | 19 |

25 | 15 |

32 | 17 |

43 | 19 |

57 | 15 |

72 | 16 |

85 | 15 |

90 | 17 |

- Decide which variable should be the independent variable and which should be the dependent variable.
- Draw a scatter plot of the ordered pairs.
- Calculate the least-squares line. Put the equation in the form of:
*ŷ*=*a*+*bx* - Find the correlation coefficient. Is it significant?
- Find the estimated maximum values for the restaurants on page ten and on page 70.
- 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?
- Suppose that there were 200 pages of restaurants. What do you estimate to be the maximum value for a restaurant listed on page 200?
- Is the least squares line valid for page 200? Why or why not?
- What is the slope of the least-squares (best-fit) line? Interpret the slope.

Table 12.22 gives the gold medal times for every other Summer Olympics for the women’s 100-meter freestyle (swimming).

Year | Time (seconds) |
---|---|

1912 | 82.2 |

1924 | 72.4 |

1932 | 66.8 |

1952 | 66.8 |

1960 | 61.2 |

1968 | 60.0 |

1976 | 55.65 |

1984 | 55.92 |

1992 | 54.64 |

2000 | 53.8 |

2008 | 53.1 |

- Decide which variable should be the independent variable and which should be the dependent variable.
- Draw a scatter plot of the data.
- Does it appear from inspection that there is a relationship between the variables? Why or why not?
- Calculate the least squares line. Put the equation in the form of:
*ŷ*=*a*+*bx*. - Find the correlation coefficient. Is the decrease in times significant?
- Find the estimated gold medal time for 1932. Find the estimated time for 1984.
- Why are the answers from part f different from the chart values?
- Does it appear that a line is the best way to fit the data? Why or why not?
- Use the least-squares line to estimate the gold medal time for the next Summer Olympics. Do you think that your answer is reasonable? Why or why not?

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.

- Decide which variable should be the independent variable and which should be the dependent variable.
- Draw a scatter plot of the data.
- Does it appear from inspection that there is a relationship between the variables? Why or why not?
- Calculate the least-squares line. Put the equation in the form of:
*ŷ*=*a*+*bx*. - Find the correlation coefficient. What does it imply about the significance of the relationship?
- 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.
- Does it appear that a line is the best way to fit the data? Why or why not?
- 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?

### 12.6 Outliers

The height (sidewalk to roof) of notable tall buildings in America is compared to the number of stories of the building (beginning at street level).

Height (in feet) | Stories |
---|---|

1,050 | 57 |

428 | 28 |

362 | 26 |

529 | 40 |

790 | 60 |

401 | 22 |

380 | 38 |

1,454 | 110 |

1,127 | 100 |

700 | 46 |

- Using “stories” as the independent variable and “height” as the dependent variable, make a scatter plot of the data.
- Does it appear from inspection that there is a relationship between the variables?
- Calculate the least squares line. Put the equation in the form of:
*ŷ*=*a*+*bx* - Find the correlation coefficient. Is it significant?
- Find the estimated heights for 32 stories and for 94 stories.
- Based on the data in Table 12.24, is there a linear relationship between the number of stories in tall buildings and the height of the buildings?
- Are there any outliers in the data? If so, which point(s)?
- What is the estimated height of a building with six stories? Does the least squares line give an accurate estimate of height? Explain why or why not.
- Based on the least squares line, adding an extra story is predicted to add about how many feet to a building?
- What is the slope of the least squares (best-fit) line? Interpret the slope.

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

- Enter the data into your calculator and make a scatter plot.
- 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.
- Explain in words what the slope and y-intercept of the regression line tell us.
- How well does the regression line fit the data? Explain your response.
- Which point has the largest residual? Explain what the residual means in context. Is this point an outlier? An influential point? Explain.
- 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?

The following table shows data on average per capita coffee consumption and heart disease rate in a random sample of 10 countries.

Yearly coffee consumption in liters |
2.5 | 3.9 | 2.9 | 2.4 | 2.9 | 0.8 | 9.1 | 2.7 | 0.8 | 0.7 |

Death from heart diseases |
221 | 167 | 131 | 191 | 220 | 297 | 71 | 172 | 211 | 300 |

- Enter the data into your calculator and make a scatter plot.
- 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.
- Explain in words what the slope and y-intercept of the regression line tell us.
- How well does the regression line fit the data? Explain your response.
- Which point has the largest residual? Explain what the residual means in context. Is this point an outlier? An influential point? Explain.
- Do the data provide convincing evidence that there is a linear relationship between the amount of coffee consumed and the heart disease death rate? Carry out an appropriate test at a significance level of 0.05 to help answer this question.

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:

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 |

- Enter the data into your calculator and make a scatter plot.
- 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.
- Explain in words what the slope and y-intercept of the regression line tell us.
- How well does the regression line fit the data? Explain your response.
- Which point has the largest residual? Explain what the residual means in context. Is this point an outlier? An influential point? Explain.

A researcher is investigating whether population impacts homicide rate. He uses demographic data from Detroit, MI to compare homicide rates and the number of the population that are White males.

Population Size | Homicide rate per 100,000 people |
---|---|

558,724 | 8.6 |

538,584 | 8.9 |

519,171 | 8.52 |

500,457 | 8.89 |

482,418 | 13.07 |

465,029 | 14.57 |

448,267 | 21.36 |

432,109 | 28.03 |

416,533 | 31.49 |

401,518 | 37.39 |

387,046 | 46.26 |

373,095 | 47.24 |

359,647 | 52.33 |

- Use your calculator to construct a scatter plot of the data. What should the independent variable be? Why?
- Use your calculator’s regression function to find the equation of the least-squares regression line. Add this to your scatter plot.
- Discuss what the following mean in context.
- The slope of the regression equation
- The y-intercept of the regression equation
- The correlation r
- The coefficient of determination r2.

- Do the data provide convincing evidence that there is a linear relationship between population size and homicide rate? Carry out an appropriate test at a significance level of 0.05 to help answer this question.

School | Mid-Career Salary (in thousands) | Yearly Tuition |
---|---|---|

Princeton | 137 | 28,540 |

Harvey Mudd | 135 | 40,133 |

CalTech | 127 | 39,900 |

US Naval Academy | 122 | 0 |

West Point | 120 | 0 |

MIT | 118 | 42,050 |

Lehigh University | 118 | 43,220 |

NYU-Poly | 117 | 39,565 |

Babson College | 117 | 40,400 |

Stanford | 114 | 54,506 |

Using the data to determine the linear-regression line equation with the outliers removed. Is there a linear correlation for the data set with outliers removed? Justify your answer.