Explanation:which() function gives the TRUE indices of a logical object, allowing for array indices. 6. Which of the following may be used for linear regression ?
A. X %*% Y
B. solve(A)
C. solve(A,B)
D. All of the mentioned
Answer:A
Explanation:which() function gives the TRUE indices of a logical object, allowing for array indices. 6. Which of the following may be used for linear regression ?
A. X %*% Y B. solve(A) C. solve(A,B) D. All of the mentioned
Explanation:solve(A,B) implies inverse of A * B. 7. Which of the following finds row sums for each level of a grouping variable ?