[R] Question about Linear Regression
Lorenzo Isella
lorenzo.isella at gmail.com
Fri Dec 28 16:45:48 CET 2012
Dear All,
A semi-trivial question: suppose you want to carry out a linear regression
of the kind
y~x1+x2+x3
where x3 is a dichotomous variable assuming only 0 and 1 values (x1 and x2
are continuous variables).
Is there any particular caveat I should be aware of? Can I code this as a
simple multiple linear regression into R or is there anything else I
should bear in mind?
Many thanks
Lorenzo
More information about the R-help
mailing list