Piet van Remortel
2005-Jan-25 10:41 UTC
[R] "disregarded projections" warning when fitting lm model
Hi all, I'm fitting a linear model (using lm) to some 2500 data points. The model consists of 4 single terms and two combined terms. I get the following warning message: "Extra arguments projections are just disregarded. in: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) " Can anybody clarify this ? I don't seem to find any pointer to what this might mean. Too many/little data points ? too many terms in the model ? thanks Piet -- Piet van Remortel Intelligent Systems Lab University of Antwerp Belgium http://www.islab.ua.ac.be
Dimitris Rizopoulos
2005-Jan-25 11:42 UTC
[R] "disregarded projections" warning when fitting lm model
Hi Piet, did you put an argument named `projections' in you lm call? If you look in lm.fit, then you'll see when this warning message appears. E.g.,: x <- rnorm(100) y <- rnorm(100) lm(y~x, projections=5) Call: lm(formula = y ~ x, projections = 5) Coefficients: (Intercept) x -0.09678 0.16589 Warning message: Extra arguments projections are just disregarded. in: lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) I hope it helps. Best, Dimitris ---- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/16/336899 Fax: +32/16/337015 Web: http://www.med.kuleuven.ac.be/biostat http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm ----- Original Message ----- From: "Piet van Remortel" <piet.vanremortel at gmail.com> To: <r-help at stat.math.ethz.ch> Sent: Tuesday, January 25, 2005 11:41 AM Subject: [R] "disregarded projections" warning when fitting lm model> Hi all, > > I'm fitting a linear model (using lm) to some 2500 data points. The > model consists of 4 single terms and two combined terms. I get the > following warning message: > > "Extra arguments projections are just disregarded. in: lm.fit(x, y, > offset = offset, singular.ok = singular.ok, ...) " > > Can anybody clarify this ? I don't seem to find any pointer to what > this might mean. Too many/little data points ? too many terms in > the > model ? > > thanks > > Piet > > > -- > Piet van Remortel > Intelligent Systems Lab > University of Antwerp > Belgium > http://www.islab.ua.ac.be > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Prof Brian Ripley
2005-Jan-25 12:45 UTC
[R] "disregarded projections" warning when fitting lm model
On Tue, 25 Jan 2005, Piet van Remortel wrote:> I'm fitting a linear model (using lm) to some 2500 data points. The > model consists of 4 single terms and two combined terms. I get the > following warning message: > > "Extra arguments projections are just disregarded. in: lm.fit(x, y, > offset = offset, singular.ok = singular.ok, ...) " > > Can anybody clarify this ? I don't seem to find any pointer to what > this might mean. Too many/little data points ? too many terms in the > model ?It means you called lm.fit with an argument `projections' it does not support. Presumably you called lm with such an argument, even though none is documented. Please read the help page for lm for more details. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595