[Math] How to compute SSR with just residuals and Xi

statisticssums-of-squares

enter image description here

How do we calculate SSR? I know SSE is the square of residuals all added together, but SSR is a subtraction between prediction for each observation and the population mean. Not sure how calculate SSR. For SSE, I got 59.960.

Best Answer

You can't compute SSR from the information provided (as you noted), but you don't particularly need it to do those tasks. Note that the Breusch-Pagan test really just requires you to do OLS regression with the residuals of the original model, so the information you need is indeed all on the table. Set up a new regression model with the $e_i$ terms as a response variable to the predictor $X_i$ for your next step.