Which of the following may be used for linear regression?
(a) X %*% Y
(b) solve(A)
(c) solve(A,B)
(d) X $*$ Y
The question was posed to me by my college professor while I was bunking the class.
This is a very interesting question from Commands in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming