Skip to content

question

2 messages · Jan de Leeuw, Brian Ripley

#
Is it correct that

lsfit(matrix(0,10,1),1:10,intercept=FALSE)

returns zero residuals ?
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
#
On Sat, 28 Jun 2003, Jan de Leeuw wrote:

            
No.  I would use lm.fit for such problems, and that seems to behave 
(probably rather coincidentally).