and in the three-variable case
6Note: y2 = £(Y — Y)2 = £ Y2 — nY'2 = y'y — nY2. Therefore, without the correction term, y'y will give simply the raw sum of squares, not the sum of squared deviations.
APPENDIX C: THE MATRIX APPROACH TO LINEAR REGRESSION MODEL 937
Generalizing we obtain for the k-variable case
By using (C.3.16) and (C.3.17), Eq. (C.4.1) can be written as which gives the matrix representation of R2. For our illustrative example,
ßXy = [24.3571 0.5079] = 131,409.831 y'y = 132,100
and nY2 = 123,210
Plugging these values into (C.4.2), we see that R2 = 0.9224, which is about the same as obtained before, save for the rounding errors.
Was this article helpful?
Learning About The Rules Of The Rich And Wealthy Can Have Amazing Benefits For Your Life And Success. Discover the hidden rules and beat the rich at their own game. The general population has a love / hate kinship with riches. They resent those who have it, but spend their total lives attempting to get it for themselves. The reason an immense majority of individuals never accumulate a substantial savings is because they don't comprehend the nature of money or how it works.