Chris Spencer edited Question 5.tex  about 10 years ago

Commit id: 219111eb561908de06e68bab766e6a8373acfa24

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. From the table below you can see for chicago,florida,and the Angels our prediction is an overestimate and for cleaveland we mave an underestimate. The average here or the typical error is -20.5.