You can run that as it is. The term to search for on Google is 'dummy coding'.
Jeremy On 28 December 2012 07:45, Lorenzo Isella <lorenzo.ise...@gmail.com> wrote: > > 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? > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.