[R] Multiple regression Categorical data

Greg Snow 538280 at gmail.com
Fri May 11 20:44:48 CEST 2012


?contr.sum

On Fri, May 11, 2012 at 8:13 AM, Rosario Garcia Gil
<M.Rosario.Garcia at slu.se> 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-help at 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.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list