2.119 Companies of the world with logs
In Exercises 2.10 (page 72), 2.27 (page 78), and 2.58 (pages 95–96), you examined the relationship between the numbers of companies that are incorporated and are listed on their country’s stock exchange at the end of the year using data collected by the World Bank.24 In this exercise, you will explore the relationship between the numbers for 2012 and 2002 using logs.
117
2.120 Residuals for companies of the world with logs
Refer to the previous exercise.
2.121 Dwelling permits and sales for 21 European countries
The Organization for Economic Cooperation and Development (OECD) collects data on Main Economic Indicators (MEIs) for many countries. Each variable is recorded as an index, with the year 2000 serving as a base year. This means that the variable for each year is reported as a ratio of the value for the year divided by the value for 2000. Use of indices in this way makes it easier to compare values for different countries.25
2.122 Dwelling permits and production
Refer to the previous exercise.
2.123 Sales and production
Refer to the previous two exercises.
2.124 Salaries and raises
For this exercise, we consider a hypothetical employee who starts working in Year 1 at a salary of $50,000. Each year her salary increases by approximately 5%. By Year 20, she is earning $126,000. The following table gives her salary for each year (in thousands of dollars):
Year | Salary | Year | Salary | Year | Salary | Year | Salary |
---|---|---|---|---|---|---|---|
1 | 50 | 6 | 63 | 11 | 81 | 16 | 104 |
2 | 53 | 7 | 67 | 12 | 85 | 17 | 109 |
3 | 56 | 8 | 70 | 13 | 90 | 18 | 114 |
4 | 58 | 9 | 74 | 14 | 93 | 19 | 120 |
5 | 61 | 10 | 78 | 15 | 99 | 20 | 126 |
2.125 Look at the residuals
Refer to the previous exercise. Figure 2.25 is a plot of the residuals versus year.
118
2.126 Try logs
Refer to the previous two exercises. Figure 2.26 is a scatterplot with the least-squares regression line for log salary versus year. For this model, r2 = 0.9995.
2.127 Predict some salaries
The individual whose salary we have been studying in Exercises 2.122 through 2.124 wants to do some financial planning. Specifically, she would like to predict her salary five years into the future, that is, for Year 25. She is willing to assume that her employment situation will be stable for the next five years and that it will be similar to the last 20 years.
119
2.128 Faculty salaries
Data on the salaries of a sample of professors in a business department at a large university are given below. The salaries are for the academic years 2014–2015 and 2015–2016.
2014–2015 salary ($) |
2015–2016 salary ($) |
2014–2015 salary ($) |
2015–2016 salary ($) |
---|---|---|---|
145,700 | 147,700 | 136,650 | 138,650 |
112,700 | 114,660 | 132,160 | 134,150 |
109,200 | 111,400 | 74,290 | 76,590 |
98,800 | 101,900 | 74,500 | 77,000 |
112,000 | 113,000 | 83,000 | 85,400 |
111,790 | 113,800 | 141,850 | 143,830 |
103,500 | 105,700 | 122,500 | 124,510 |
149,000 | 150,900 | 115,100 | 117,100 |
2.129 Find the line and examine the residuals
Refer to the previous exercise.
2.130 Bigger raises for those earning less
Refer to the previous two exercises. The 2014–2015 salaries do an excellent job of predicting the 2015–2016 salaries. Is there anything more that we can learn from these data? In this department, there is a tradition of giving higher-than-average percent raises to those whose salaries are lower. Let’s see if we can find evidence to support this idea in the data.
120
2.131 Marketing your college
Colleges compete for students, and many students do careful research when choosing a college. One source of information is the rankings compiled by U.S. News & World Report. One of the factors used to evaluate undergraduate programs is the proportion of incoming students who graduate. This quantity, called the graduation rate, can be predicted by other variables such as the SAT or ACT scores and the high school records of the incoming students. One of the components in U.S. News & World Report rankings is the difference between the actual graduation rate and the rate predicted by a regression equation.26 In this chapter, we call this quantity the residual. Explain why the residual is a better measure to evaluate college graduation rates than the raw graduation rate.
2.132 Planning for a new product
The editor of a statistics text would like to plan for the next edition. A key variable is the number of pages that will be in the final version. Text files are prepared by the authors using a word processor called LaTeX, and separate files contain figures and tables. For the previous edition of the text, the number of pages in the LaTeX files can easily be determined, as well as the number of pages in the final version of the text. Here are the data:
Chapter | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | |
LaTeX pages |
77 | 73 | 59 | 80 | 45 | 66 | 81 | 45 | 47 | 43 | 31 | 46 | 26 |
Text pages |
99 | 89 | 61 | 82 | 47 | 68 | 87 | 45 | 53 | 50 | 36 | 52 | 19 |
2.133 Points scored in women’s basketball games
Use the Internet to find the scores for the past season’s women’s basketball team at a college of your choice. Is there a relationship between the points scored by your chosen team and the points scored by their opponents? Summarize the data and write a report on your findings.
2.134 Look at the data for men
Refer to the previous exercise. Analyze the data for the men’s team from the same college, and compare your results with those for the women.
2.135 Circular saws
The following table gives the weight (in pounds) and amps for 19 circular saws. Saws with higher amp ratings tend to also be heavier than saws with lower amp ratings. We can quantify this fact using regression.
Weight | Amps | Weight | Amps | Weight | Amps |
---|---|---|---|---|---|
11 | 15 | 9 | 10 | 11 | 13 |
12 | 15 | 11 | 15 | 13 | 14 |
11 | 15 | 12 | 15 | 10 | 12 |
11 | 15 | 12 | 14 | 11 | 12 |
12 | 15 | 10 | 10 | 11 | 12 |
11 | 15 | 12 | 13 | 10 | 12 |
13 | 15 |
121
2.136 Circular saws
The table in the previous exercise gives the weight (in pounds) and amps for 19 circular saws. The data contain only five different amp ratings among the 19 saws.
2.137 What correlation does and doesn’t say
Construct a set of data with two variables that have different means and correlation equal to one. Use your example to illustrate what correlation does and doesn’t say.
2.138 Simpson’s paradox and regression
Simpson’s paradox occurs when a relationship between variables within groups of observations reverses when all of the data are combined. The phenomenon is usually discussed in terms of categorical variables, but it also occurs in other settings. Here is an example:
y | x | Group | y | x | Group |
---|---|---|---|---|---|
10.1 | 1 | 1 | 18.3 | 6 | 2 |
8.9 | 2 | 1 | 17.1 | 7 | 2 |
8.0 | 3 | 1 | 16.2 | 8 | 2 |
6.9 | 4 | 1 | 15.1 | 9 | 2 |
6.1 | 5 | 1 | 14.3 | 10 | 2 |
2.139 Wood products
A wood product manufacturer is interested in replacing solid-wood building material by less-expensive products made from wood flakes.27 The company collected the following data to examine the relationship between the length (in inches) and the strength (in pounds per square inch) of beams made from wood flakes:
Length | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
Strength | 446 | 371 | 334 | 296 | 249 | 254 | 244 | 246 | 239 | 234 |
2.140 Aspirin and heart attacks
Does taking aspirin regularly help prevent heart attacks? “Nearly five decades of research now link aspirin to the prevention of stroke and heart attacks.” So says the Bayer Aspirin website, bayeraspirin.com. The most important evidence for this claim comes from the Physicians’ Health Study. The subjects were 22,071 healthy male doctors at least 40 years old. Half the subjects, chosen at random, took aspirin every other day. The other half took a placebo, a dummy pill that looked and tasted like aspirin. Here are the results.28 (The row for “None of these” is left out of the two-way table.)
Aspirin group |
Placebo group |
|
---|---|---|
Fatal heart attacks | 10 | 26 |
Other heart attacks | 129 | 213 |
Strokes | 119 | 98 |
Total | 11,037 | 11,034 |
What do the data show about the association between taking aspirin and heart attacks and stroke? Use percents to make your statements precise. Include a mosaic plot if you have access to the needed software. Do you think the study provides evidence that aspirin actually reduces heart attacks (cause and effect)?
122
2.141 More smokers live at least 20 more years!
You can see the headlines “More smokers than nonsmokers live at least 20 more years after being contacted for study!” A medical study contacted randomly chosen people in a district in England. Here are data on the 1314 women contacted who were either current smokers or who had never smoked. The tables classify these women by their smoking status and age at the time of the survey and whether they were still alive 20 years later.29
Age 18 to 44 | Age 45 to 64 | Age 65+ | ||||
---|---|---|---|---|---|---|
Smoker | Not | Smoker | Not | Smoker | Not | |
Dead | 19 | 13 | 78 | 52 | 42 | 165 |
Alive | 269 | 327 | 167 | 147 | 7 | 28 |
2.142 Recycled product quality
Recycling is supposed to save resources. Some people think recycled products are lower in quality than other products, a fact that makes recycling less practical. People who actually use a recycled product may have different opinions from those who don’t use it. Here are data on attitudes toward coffee filters made of recycled paper among people who do and don’t buy these filters:30
Think the quality of the recycled product is: |
|||
---|---|---|---|
Higher | The same | Lower | |
Buyers | 20 | 7 | 9 |
Nonbuyers | 29 | 25 | 43 |