Assignment 2
STA 4300: Applied Linear Regression
I. The researchers measured the total life time consumption of alcohol (x)
on a random sample of n = 50 alcoholic men.
They also measured the strength (y) of the deltoid muscle in each person's non-
dominant arm. The data is in the filed
Called alcohol.
Load the data in R and perform a simple linear regression with strength as the
response and alcohol as the predictor
1. Find the value of each of the following:
total sum of squares:
regression sum of squares:
error sum of squares:
2. Find 99% confidence interval for beta1
3. Conduct an hypothesis test for the slope parameter
4. What is the predicted strength associated with a consumption of alcohol of 41?
5. What is the 90% Confidence Interval for the Mean Response associated with a
consumption of alcohol of 41?
6. What is the 91% prediction Interval for the Mean Response associated with a
consumption of alcohol of 41?
II. What can you say about the linearity of your variables y and x with
The following sum of squares: comment on the result.
III. Let consider a sample with 49 states in the data set. What is the degree of
freedom associated with SSTO, SSR and SSE?
IV.