2 Is the number of games won by a major league baseball team
2) Is the number of games won by a major league baseball team in a season related to the team?s batting average? Data from 14 teams were collected and the summary statistics yield: Summation y= 1,134, summation x = 3.642, summationy^2 = 93,110, summationx^2 = .948622, and summationxy = 295.54 Find the least squares prediction equation for predicting the number of games won, y, using a straight-line relationship with the team?s batting average, x.
Solution
As
y = a + bx
where
a = [Sum(y) - b*Sum(x)]/n
b = [n*Sum(xy) - Sum(x)*Sum(y)] / [n*Sum(x^2) - (Sum(x))^2]
Then, as n = 14, and using the other givens,
b = 455.2708
a = -37.4354
Thus,
y = -37.4354 + 455.2708x [ANSWER]
