Displaying 1 result from an estimated 1 matches for "tp3678658p3679351".
2011 Jul 19
3
How to get predicted values of y for different x values?
Here is my model with interaction terms and control variables (I changed
variables names for easy read):
reg1 <- lm(y ~ x1*x2*x3 +control1 + control2 + control3)
x1 ranges from 0 to 6; x2 from 0 to 5; and x3 from 0 to 4. All three are
discrete ordinal variables; but I will treat them as continuous variables.
(a) How can I see the predicted values of y for each of these scenarios (210