Docsity

HW 10 for STAT601, Spring 2008: Linear Regression Analysis - Prof. Michael Sherman, Assignments of Statistics

Toggle sidebar
bg1
HW 10 FOR STAT601, Spring, 2008
1) 11.18
2) 11.19b
3) The census bureau wants to know the relationship between 1990 and 2000 populations in “districts” in
the U.S. They sample four districts whose 1990 populations were 19.1, 17.2, 5.2 and 10.4 with corresponding
2000 populations 20.7, 18.3, 7.1 and 12.5 (all data are given in 10’s of thousands of people). (what’s x and
what’s y?)
a) By hand, estimate the linear relationship between 1990 and 2000 populations.
b) What is the smallest possible value of the sum of squared errors about the line?
c) An administrator wants to know what the 2000 population is of a district with a 1990 population of
12.5. What should you tell him? Now he wants to know if the 1990 population is 32.5, what should you tell
him?
4) A Mathematics Department wants to use new enrollment to estimate the number of people taking math-
ematics courses at the University. They get total enrollment before they need to announce courses so it may
be useful for them to try and predict the number taking math classes from the new enrollment figures. To
see their data and the SAS program go to “The Number of Students Taking Math “ at the website for this
class. The variable xis the new enrollment and yis the number taking Math classes.
a) What is the equation of the least squares line?
b) Test at α=.05 if the new enrollment is helpful in predicting the number of people taking math
courses.
c) Adding 1000 students would lead to approximately how many more students taking math classes?
d) What proportion of the total variability in the number of people taking math courses is explained by
knowing new enrollment?
We need to check the residuals to have more confidence in this fit. See the plot of the residuals vs. new
enrollment.
e) What pattern, if any, do you see?
f) Now see the plot of the residuals against year. An administrator looks at the plot and says “Oh yeah,
I remember now. In 1985 the AGEC program began to require Math of all students”. How did the residual
plot spark his memory?
g) What do you suggest to predict in the future? Why?
5) In a linear regression to test the strength of material as a function of stress we obtain 10 stress values (in
N/cm2) and the corresponding 10 times in minutes until breakage. We get an estimated slope of -.2 with a
standard error of .04.
a) Test at α=.05 if stress significantly decreases the life time of the material. [Give null, alternative,
p-value and decision]
b) Give a 95 percent confidence interval for the true slope relating stress to time.
c) We need to check the residuals to have more confidence in this CI. Given below are the 10 residuals
from the least squares fitted line:
-0.894 -0.975 -0.859 1.139 1.882 -1.366 0.369 -0.488 0.049 1.169
Draw a histogram with 4 bins each of width 1 on [-1.5,2.5] and comment on the shape. Do you trust
the results of b)? Why or why not?

Partial preview of the text

Download HW 10 for STAT601, Spring 2008: Linear Regression Analysis - Prof. Michael Sherman and more Assignments Statistics in PDF only on Docsity!

HW 10 FOR STAT601, Spring, 2008

  1. 11.19b

  2. The census bureau wants to know the relationship between 1990 and 2000 populations in “districts” in the U.S. They sample four districts whose 1990 populations were 19.1, 17.2, 5.2 and 10.4 with corresponding 2000 populations 20.7, 18.3, 7.1 and 12.5 (all data are given in 10’s of thousands of people). (what’s x and what’s y?)

a) By hand, estimate the linear relationship between 1990 and 2000 populations.

b) What is the smallest possible value of the sum of squared errors about the line?

c) An administrator wants to know what the 2000 population is of a district with a 1990 population of 12.5. What should you tell him? Now he wants to know if the 1990 population is 32.5, what should you tell him?

  1. A Mathematics Department wants to use new enrollment to estimate the number of people taking math- ematics courses at the University. They get total enrollment before they need to announce courses so it may be useful for them to try and predict the number taking math classes from the new enrollment figures. To see their data and the SAS program go to “The Number of Students Taking Math “ at the website for this class. The variable x is the new enrollment and y is the number taking Math classes.

a) What is the equation of the least squares line?

b) Test at α = .05 if the new enrollment is helpful in predicting the number of people taking math courses.

c) Adding 1000 students would lead to approximately how many more students taking math classes?

d) What proportion of the total variability in the number of people taking math courses is explained by knowing new enrollment?

We need to check the residuals to have more confidence in this fit. See the plot of the residuals vs. new enrollment.

e) What pattern, if any, do you see?

f) Now see the plot of the residuals against year. An administrator looks at the plot and says “Oh yeah, I remember now. In 1985 the AGEC program began to require Math of all students”. How did the residual plot spark his memory?

g) What do you suggest to predict in the future? Why?

  1. In a linear regression to test the strength of material as a function of stress we obtain 10 stress values (in N/cm^2 ) and the corresponding 10 times in minutes until breakage. We get an estimated slope of -.2 with a standard error of .04.

a) Test at α = .05 if stress significantly decreases the life time of the material. [Give null, alternative, p-value and decision]

b) Give a 95 percent confidence interval for the true slope relating stress to time.

c) We need to check the residuals to have more confidence in this CI. Given below are the 10 residuals from the least squares fitted line:

-0.894 -0.975 -0.859 1.139 1.882 -1.366 0.369 -0.488 0.049 1.

Draw a histogram with 4 bins each of width 1 on [-1.5,2.5] and comment on the shape. Do you trust the results of b)? Why or why not?