Search for question
Question

Perform the following commands in R.

set. seed (10)

A cbind (rep (1,9), rnorm (9))

(a) Find the matrix H = A(A'A)-¹A'.

(b) Using R show that H is symmetric. That is H' = H.

(c) Using R show that H is idempotent. That is HH = H.