Skip to content

[RsR] Maximum number of variables with lmRob? Error: singular matrix encountered

1 message · Fabricio Vasselai

#
Dears,

Sorry for taking so long to get in touch again. But I really thank the
insights so far. Mainly, I really apreciate the detailed answer given by
Manuel.
Indeed, depending on the models I run, one or other results are quite
different when I use lmrob and lmRob. More clearly in the p-values. but you
are right that (a) it is not the usual pattern, as generally results are
similar but lmrob seems to be more efficient; (b) if considering the std
errors, most differences seems to be not that different anymor;
Yep, this is a perfect point to be made. The models I've been trying they
always mix continuous and binary variables. LmRob goes directly for a M-S
estimate. After I read your email, I tried separate models for continuous
and for binary variables both with lmrob and lmRob. Differences in results
from the models with only continuous variables were always tiny. Even
simulating data and models, I got the same results, i.e. I think most
differences I've been experiencing between lmrob and lmRob were due to the
different approach to the mix of continuous and categorical variables.
Ok. Acknowledged, it makes sense. I have a dataset of 600 cases, running
models with 16 varaibles, 3 interactions. Even though, as I said I think
the main differences I found so far were due to how each function handles
the mix of different types of variables.
Cool, I will try this, as it speaks to me: not so large dataset, not so
small models.

Thanks a ton for the info, Manuel. And thanks everybody for the references.

FABRICIO





2012/8/30 Manuel Koller <koller at stat.math.ethz.ch>