Also, since I just started to use R, I have trouble generating and understanding some of the codes, especially choosing the correct ones. Thanks! tanya
On Thu, Apr 3, 2008 at 3:54 PM, Tanya Yatsunenko <[EMAIL PROTECTED]> wrote: > Hi, > I am doing multiple regression, and have several X variables that are > categorical. > I read that I can use dummy or contrast codes for that, but are there any > special rules when there're unequal #observations in each groups (4 females > vs 7 males in a "gender" variable)? > Also, can R generate these codes for me? > THanks. > > -- Tanya [[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.