Question: Form the design matrix X (note: use a capital X!). This can be done by combining a column of 1's with a column of x

Form the design matrix X (note: use a capital X!). This can be done by combining a column of 1's with a column of x the father's heights.

X = cbind(rep(1,N), x)

Now calculate , the inverse of X transpose times X. Use the solve() function for the inverse and t() for the transpose. What is the element in the first row, first column

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!