What is the predicted mpg associated with a horsepower of 98? What are the associated 95 % confidence and prediction intervals?
Assignment Question 1) This question involves the use of simple linear regression on the Auto data set. (a) Use the lm() function to perform a simple linear regression with mpg as the response and horsepower as the predictor. Use the summary() function to print the results. Comment on the output. 3. Linear Regression i. Is […]