Explained sum of squares: Difference between revisions

Content deleted Content added
Covariance and variance doesn't make sense for realised (non-stochastic) variables. So removed the expressions with them and expanded the last term.
→‎Partitioning in simple linear regression: Just moved some sums around to make it a little more readable
Line 47:
Therefore,
:<math>\sum_{i=1}^n 2(\hat{y}_i-\bar{y})(y_i-\hat{y}_i) = 2\hat{b}\sum_{i=1}^n (x_i-\bar{x})(y_i-\hat{y}_i) = 2\hat{b}\sum_{i=1}^n (x_i-\bar{x})((y_i - \bar{y}) - \hat{b}(x_i - \bar{x}))</math>
:<math>2b\left(\sum_{ji=1}^{n}\left((x_jx_i-\bar{x})(y_jy_i-\hat{y}_j_i)-\sum_{j=1}^n(x_j-\bar{x})^2\frac{\sum_{i=1}^n (x_i-\bar{x})(y_i-\bar{y})}{\sum_{i=1}^n (x_i-\bar{x})^2}(x_j-\bar{x})^2\right)= 2\hat{b}n (0) = 0</math>
 
==Partitioning in the general ordinary least squares model==