How to transform qualitative variables into dummy variables to add to the regression model, and how to build a regression model with the maximum possible interactions, and determine which variables to eliminate from the model using the STEPWISE AIC method.
The answer to the first part is to make the variables factors. Then R will automatically create dummy variables when running a regression.
how can i do it? to runn my linear model
I googled 'stepwise aic regression in R' and followed the second link
hope its helpful to you.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.