[R] lm regression query
gunter.berton at gene.com
Fri Feb 15 11:06:26 CET 2013
Smells like homework to me. If so, we don't do homework on this list.
On Thu, Feb 14, 2013 at 3:55 PM, email <email8889 at gmail.com> wrote:
> 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 find
> the relationship between Crime and Education when Urbanization and Age are
> held constant?
> What would be the difference if I drop the term Urbanization + Age ?
> lm(Crime ~ Education)
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Genentech Nonclinical Biostatistics
Internal Contact Info:
More information about the R-help