search for: factorvar

Displaying 1 result from an estimated 1 matches for "factorvar".

Did you mean: factor_var
2009 Dec 03
2
Avoiding singular fits in rlm
I keep coming back to this problem of singular fits in rlm (MASS library), but cannot figure out a good solution. I am fitting a linear model with a factor variable, like lm( Y ~ factorVar) and this works fine. lm knows to construct the contrast matrix the way I would expect, which puts the first factor as the baseline level. But when I try rlm( Y ~ factorVar) I get the message "'x' is singular: singular fits are not implemented in rlm." How can I solve this probl...