[R] using categorical variable in multiple regression

setlist yespuppy90 at hanmail.net
Sun Jun 12 08:38:19 CEST 2011


Hello, I wanted to do the multiple regression on categorical predictor data
there's variable x1,x2,x3 and x3 is categorical one.
so i just used as.factor(x3) and then ran multiple regression
is it a good way to do the multiple regression on categorical predictor
data?
and how can I interpret the estimates? 
also if using as.factor is a good way, is there any difference with doing
dummy coding for categorical variable and then running regression?
Thanks.

--
View this message in context: http://r.789695.n4.nabble.com/using-categorical-variable-in-multiple-regression-tp3591517p3591517.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list