Re: [R] How to force regression coeffs for some values in a categorical variable

2009-11-29 Thread sr danda
gt; On Nov 29, 2009, at 11:23 AM, sr danda wrote: > > Hi, >> >> I am a new R user. I am using it develop regression models with >> categorical >> variables. >> Is there a way to force some regression coefficients to be zero for some >> of >> the v

[R] How to force regression coeffs for some values in a categorical variable

2009-11-29 Thread sr danda
Hi, I am a new R user. I am using it develop regression models with categorical variables. Is there a way to force some regression coefficients to be zero for some of the values in a categorical variable (with 12 factor levels)? I am recoding the values to the default value (1st in the order of d