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 dummy's).
But I am not sure if this is the correct approach if I want to force
coefficients to be specific values.

Thanks for your help.

Regards,
Danda

        [[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.

Reply via email to