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" <[EMAIL PROTECTED]> wrote: You can do this yourself with ginv() -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cal Stats Sent: Monday, April 03, 2006 7:40 PM To: [email protected] Subject: [R] lm - Generalized Inverse Hi, is there a lm which will implement the moore-pensrose generalized inverse. Thanks. Harsh --------------------------------- [[alternative HTML version deleted]] ______________________________________________ [email protected] 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]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
