Re: [R] lm regression query

2013-02-15 Thread Bert Gunter
Smells like homework to me. If so, we don't do homework on this list. -- Bert On Thu, Feb 14, 2013 at 3:55 PM, email wrote: > Hello: > > I have a 4-column dataset: Crime, Education, Urbanization, Age. I want to > construct a multiple linear regression to find the effect of Education, > Urbanizat

Re: [R] lm regression query

2013-02-14 Thread Nicole Ford
> > You could also run it and find out. There are many R tutorials free online. I presume crime is continuous, as well...? ~Nicole Ford Graduate Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gi

Re: [R] lm regression query

2013-02-14 Thread Nicole Ford
You will also need to specify/ name your model: Mod <- lm(Crime~. ~Nicole Ford Graduate Instructor Department of Government and International Affairs University of South Florida office: SOC 012M e: nmhi...@mail.usf.edu http://gia.usf.edu/student/nford/ Sent from my iPhone On Feb 14, 201

Re: [R] lm regression query

2013-02-14 Thread Pascal Oettli
Hi, Did you read the help file? Particularly the section "Details". ?lm Regards, Pascal Le 15/02/2013 08:55, email a écrit : Hello: I have a 4-column dataset: Crime, Education, Urbanization, Age. I want to construct a multiple linear regression to find the effect of Education, Urbanization,

[R] lm regression query

2013-02-14 Thread email
Hello: I have a 4-column dataset: Crime, Education, Urbanization, Age. I want to construct a multiple linear regression to find the effect of Education, Urbanization, and Age on Crime" lm(Crime ~ Education + Urbanization + Age) If I use + in above statement, does it mean it will build a model to