A quadratic regression model is fit to a set of sample data consisting of 6 pairs of data. Given that the sum of squares of residuals is 18.17 and that the y-values are 11, 14, 19, 22, 26, 27, find

R^2 = 1 - {The sum of (y - the predicted value of y)^2}

divided by:{The sum of y - the mean of y)^2}

So I tried to put the numbers in the equation:

R^2 = 1 - 18.17^2 divided by:

119 - 19.833

fyi: 18.17 = (the sum of squares of residuals); (119= the sum of y) and

(19.833 = the mean of y)

What am I doing wrong?