[R] rlm and lmrob error messages

From: Susanne Komhard <susanne.komhard_at_ise.fraunhofer.de>
Date: Wed, 14 May 2008 15:18:49 +0200


Hello all,

I'm using R2.7.0 (on Windows 2000) and I'm trying do run a robust regression on following model structure:

model = "Y ~ x1*x2 / (x3 + x4 + x5 +x6)"

where x1 and x2 are both factors (either 1 or 0) and x3.....x6 are numeric. The error code I get when running rlm(as.formula(model), data=daymean) is:

error in rlm.default(x, y, weights, method = method, wt.method = wt.method, :
  'x' is singular: singular fits are not implemented in rlm

As singular.ok = TRUE is default with lmrob from the robustbase package, I tried running the model using lmrob, but I get following error message

Too many singular resamples
Aborting fast_s()

error in lmrob.S(x = x, y = y, control = control) :   C function R_lmrob_S() exited prematurely

I don't understand what the error messages mean, especially in the case of lmrob and greatly appreciate any help or ideas as to what might cause the error. The model works fine with lm.

Kind regards,

Susanne



R-help_at_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. Received on Wed 14 May 2008 - 16:37:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 14 May 2008 - 20:30:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive