Consider the simple linear regression model
y_(i)=eta _(0)+x_(i)eta _(1)+e_(i),i=1,dots,n,
where the x variable has been centered and scaled so that sum x_(i)=0,sum x_(i)^(2)=1.
(A) Write the model matrix, x
(B) Write the expression for x^(T)x, and solve the normal equations.
Consider the simple linear regression model
yi=Bo+xi31+ei,i=1,...,n,
where the x variable has been centered and scaled so that Ec; = 0,Ex = 1
(A) Write the model matrix, X
(B) Write the expression for XTX, and solve the normal equations.