Hi, I would suggest starting with a look at frequently asked questions, and also ?glm. To get you started this is what you're looking for:
glm.mod1<-glm(formula, family=binomial("logit"),data=file) Good luck Mike On Fri, Jan 27, 2012 at 1:17 PM, Frank Harrell <f.harr...@vanderbilt.edu>wrote: > How many statistics courses have you taken? > Frank > > pnandak wrote > > > > I have a data set of 8000 records and 124 variables. > > To find the Whether that a person who opened the mail will redeem the > > Offer (Dependent variable is 0 or 1) > > So need to model Logistic Regression. > > > > My question here is - i have 124 variables(mix of categorical and > > continuous) > > how would i select(R code) attribute - ie. independent variable from > those > > 124 variable(Variable selection) so that i can build a model using glm > > > > pls. give me codes in R- on how to do that > > > > > ----- > Frank Harrell > Department of Biostatistics, Vanderbilt University > -- > View this message in context: > http://r.789695.n4.nabble.com/pls-help-Logisitic-Regression-Urgent-tp4333142p4333433.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. > -- *Michael Griffiths, Ph.D *Statistician *Upstream Systems* 8th Floor Portland House Bressenden Place SW1E 5BH <http://www.google.com/url?q=http%3A%2F%2Fwww.upstreamsystems.com%2F&sa=D&sntz=1&usg=AFrqEzfKYfaAalqvahwrpywpJDL9DxUmWw> Tel +44 (0) 20 7869 5147 Fax +44 207 290 1321 Mob +44 789 4944 145 www.upstreamsystems.com<http://www.google.com/url?q=http%3A%2F%2Fwww.upstreamsystems.com%2F&sa=D&sntz=1&usg=AFrqEzfKYfaAalqvahwrpywpJDL9DxUmWw> *griffi...@upstreamsystems.com <einst...@upstreamsystems.com>* <http://www.upstreamsystems.com/> [[alternative HTML version deleted]] ______________________________________________ R-help@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.