[R] Help - linear regression

From: Thanjavur Bragadeesh <bragadeesh02_at_hotmail.com>
Date: Tue, 22 Jan 2008 10:20:01 +0000


I am trying a linear regression model where the dependent variable is the size of the heart corrected for the patient's height and weight. This is labelled as LAVI. The independent variables are race (european or non-eurpoean), age, sex (male or female) of the patient and whether they have diabetes and high blood pressure. sample size 2000 patients selected from a community.  

when I model
model1<-lm(lavi~age+sex+race+diabetes+hypertension, data=tb1)  and
model2<-lm(lavi~age+sex+age*race+diabetes+hypertension, data=tb1)  

in the first model race comes out as a significant predictor (p<0.005) where as in the second model race is not a significant predictor of lavi (p=.076)  

in my dataset mean age is 55.2 years in the non-europeans and 56.7 years in the europeans (p <0.0001 by t.test).  

should I or should I not include the interaction (age*race) in the model. Is it an acceptable rule to put in interactions if there is a significant relation between the indepenedent variables in univariate analyses.  

Many thanks  


Helping your favorite cause is as easy as instant messaging. You IM, we give.

        [[alternative HTML version deleted]]

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 Tue 22 Jan 2008 - 10:57:49 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 Fri 25 Jan 2008 - 12:30:08 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