How does x appear in going from equation 3 to 4?

2 replies · 2K views · last reply
Martin V.
Messages
10
Reaction score
0
Hello hope you can help me.

Can anybody tell me what goes on from equation 3 to 4. especially how
Handwritten-style expression: Ȳ(nX̄² ) + X̄(nX̄Ȳ), showing a bar-marked mean term multiplied by n and an X̄ term.
gets in?

Derivation of least-squares estimates b = (X'X)^-1 X'Y in steps 1) to 5), with sums of X_i, X_i squared, Y_i and X_i Y_i, and definitions of SS_X and SP_XY below.
 
Attachments
  • Derivation of least-squares regression coefficients b in five numbered steps, ending with b0 and b1 in terms of SS_X and SP_XY; defining formulas for SS_X and SP_XY below.
    12309069_10208024351467795_1760751714_n.jpg
    24.4 KB · Views: 518
Note that ##\overline{Y}(n \overline{X}^2 ) = \overline{X}(n \overline{X}\overline{Y}).## This means that from 3 to 4, there was an addition of zero...likely to make the step from 4 to 5 more clear.