Question: Which statement is correct if we want to subtract the coefficient for x2 in the following linear model object: Model=lm(y~x1+x2+x3,data=exdata) a. coefficients(Model)[3] b. Model$coefficients[2] c.
Which statement is correct if we want to subtract the coefficient for x2 in the following linear model object: Model=lm(y~x1+x2+x3,data=exdata)
a.
coefficients(Model)[3]
b.
Model$coefficients[2]
c.
Model$coefficients[3]
d.
coefficients(Model)[2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
