I've seen a lot of questions about why the sum of squares for the residual follows a chi-squared distribution. I have the same question about the sum of squares for the regression.
I have the following regression model: $y_i=\beta_0+\beta_1x_{1i}+...+\beta_kx_{ki}+\epsilon_i$
Then the sum of the squares for the regression is: $SS(Regression)=\sum(\hat{y_i}-\bar{y})^2$
Where $\hat{y_i}$ is the expected value for $y_i$ given $x_{1i},...,x_{ki}$ and $\bar{y}$ is the mean value for $y$
Now I do not see how SS(Regression) is the sum of squared normally distributed random variables. Really, I don't even see that there are any random variables in this sum! Any help is much appreciated.
[I found 1 question asking the same thing, but without any answers: Degrees of freedom in regression analysis ]