## Plots
par(mfrow = c(2, 2))
hist(bmi$BMI)
qqnorm( bmi$BMI)
qqline(bmi$BMI)
hist(bmi$Log.BMI)
qqnorm( bmi$Log.BMI)
qqline(bmi$Log.BMI)
par(mfrow = c(2, 3))
plot(bmi$Age, bmi$Log.BMI, main="Log(BMI) vs. Age")
boxplot(Log.BMI ~ AgeCat, data = bmi, main="Log(BMI) vs. Age Category")
boxplot(Log.BMI ~ Sex.f, data = bmi, main="Log(BMI) vs. Sex")
boxplot(Log.BMI ~ Race.f, data = bmi, main="Log(BMI) vs. Race")
boxplot(Log.BMI ~ Uninsured, data = bmi, main="Log(BMI) vs. Uninsured")
boxplot(Log.BMI ~ Comord.Cnt, data = bmi, main="Log(BMI) vs. Comord.Cnt")
par(mfrow = c(3, 3), cex = 0.5)
boxplot(Log.BMI ~ CANCER, data = bmi, main="Log(BMI) vs. CANCER")
boxplot(Log.BMI ~ DIABETES, data = bmi, main="Log(BMI) vs. DIABETES")
boxplot(Log.BMI ~ EMPHYSEMA, data = bmi, main="Log(BMI) vs. EMPHYSEMA")
boxplot(Log.BMI ~ ASTHMA, data = bmi, main="Log(BMI) vs. ASTHMA")
boxplot(Log.BMI ~ STROKE, data = bmi, main="Log(BMI) vs. STROKE")
boxplot(Log.BMI ~ CORONARY, data = bmi, main="Log(BMI) vs. CORONARY")
boxplot(Log.BMI ~CHOLEST, data = bmi, main="Log(BMI) vs. CHOLEST")
boxplot(Log.BMI ~ HIGHBP, data = bmi, main="Log(BMI) vs. HIGHBP")
boxplot(Log.BMI ~ MentHealth, data = bmi, main="Log(BMI) vs. MentHealth")