[R] Stepwise Multiple Regression

From: frank frank <beth_strain2002_at_hotmail.com>
Date: Mon, 03 Mar 2008 22:57:53 +0000

Dear R,
I am using stepwise multiple glm to select a subset of variables using the step command. My question is how do you calculate the percentage variance for each parameter in the reduced model. An example of my code thus far is,

fit<-glm(Abalone~offset(Area)+Sessile invertebrates+Bare rock+ NCA + Encrusting red algae, family = poisson ())

step(fit)

fit1<-glm(Abalone~offset(Area)+Bare rock+NCA+Encrusting red algae, family=poisson())

Thanks in advance
Beth Strain



What are you waiting for? Join Lavalife FREE

%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D30288&_t=764581033&_r=email_taglines_Join_free_OCT07&_m=EXT



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 03 Mar 2008 - 23:02:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Mar 2008 - 06:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive