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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!