1.

Which of the following may be used for linear regression?(a) X %*% Y(b) solve(A)(c) solve(A,B)(d) X $*$ YThe 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

Answer»

The correct choice is (C) solve(A,B)

Easy explanation: solve(A,B) IMPLIES inverse of A * B.



Discussion

No Comment Found

Related InterviewSolutions