Chris Spencer edited Question 5.tex  about 10 years ago

Commit id: 73bd17c9d9e7d72f5d99c74591f5215f9479cb55

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$. Now we want to look at how off are these predictions for each of these teams so find their $residuals=observed-predicted$. I created a summary chart of teams and there actual runs and thats where ill be getting my data from.