[R] Multiple regression Categorical data

David Winsemius dwinsemius at comcast.net
Sat May 12 04:58:35 CEST 2012


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 Laboratories
West Hartford, CT



More information about the R-help mailing list