Re: [R] Multiple regression Categorical data

2012-05-11 Thread David Winsemius
On May 11, 2012, at 9:13 AM, Rosario Garcia Gil wrote: Hello It is possible to set up an lm() model where none of the categories of the categorical independent variable need to be used as references, I mean use the total mean instead. Yes. ?contrasts -- David Winsemius, MD Heritage Lab

Re: [R] Multiple regression Categorical data

2012-05-11 Thread Greg Snow
?contr.sum On Fri, May 11, 2012 at 8:13 AM, Rosario Garcia Gil wrote: > Hello > > It is possible to set up an lm() model where none of the categories of the > categorical independent variable need to be used as references, I mean use > the total mean instead. > > Thanks > /R > _

[R] Multiple regression Categorical data

2012-05-11 Thread Rosario Garcia Gil
Hello It is possible to set up an lm() model where none of the categories of the categorical independent variable need to be used as references, I mean use the total mean instead. Thanks /R __ R-help@r-project.org mailing list https://stat.ethz.ch/ma