I did employ  ginv() to solve my problem earlier.
  
  the problem is i would like to employ step() to do model selection using AIC/BIC.
  
  now this needs an lm object to be input. i created an slm object giving  the necessary elements in the lm object  and  then input to  step()
  
  but i get an error saying row size changing: remove NAs.
  
  the data does not have NA's
  
  Thanks
  
  Harsh

"Doran, Harold" <HDoran@air.org> wrote:  You can do this yourself with ginv() 

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Cal Stats
Sent: Monday, April 03, 2006 7:40 PM
To: r-help@stat.math.ethz.ch
Subject: [R] lm - Generalized Inverse

Hi,
  
     is there a  lm  which will implement the moore-pensrose generalized
inverse.
  
  Thanks.
  
  Harsh
  
  
---------------------------------

 [[alternative HTML version deleted]]

______________________________________________
R-help@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



		
---------------------------------

	[[alternative HTML version deleted]]


