Chris Spencer edited Question 5.tex  about 10 years ago

Commit id: 4f51ac8dea909d6a052829051fcd934f2e85819d

deletions | additions      

       

\subsection{Question 5}  The regression line equation allows us to make a prediction for how many runs a team should have if you have how many at bats they had. The equation is given by \[\hat{runs}=-2790+0.6305(at bats)\] and we are given the number of at bats for four baseball teams were 5508. Plugging this into the regression line equation we get expected runs to be $\hat{runs}=682.8\approx683$ $\hat{runs}=682.8\approx683$. Now we want to look at how off are these predictions for each of these teams so find their $residuals=observed-predicted$.