From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Sat 28 Jun 2003 - 17:39:50 EST
Message-id: <Pine.LNX.4.44.0306280820370.23826-100000@gannet.stats>
On Sat, 28 Jun 2003, Jan de Leeuw wrote:
> Is it correct that
>
> lsfit(matrix(0,10,1),1:10,intercept=FALSE)
>
> returns zero residuals ?
No. I would use lm.fit for such problems, and that seems to behave
(probably rather coincidentally).
-- Brian D. Ripley, ripley@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______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST