Regression & correlation

Regression & correlation

Use R to run the statistics.
Use APA format

a. Use the GE dataset

Make a correlation table using the variables stroke, chd, diabetes, BMI, age, gender and smoking. (Note you will need to make dummy variables to do this.)

What factors are associated with the incidence of stroke? Do this with a regression controlling for the different factors.

What factors are associated with the incidence of CHD? Do this with a regression controlling for the different factors. (use logistic regression – logit)

What factors are associated with hypertension?

b. Use the Nursing data

What factors are associated with job satisfaction?