Session Ready
Exercise

Tying it all together

Let's take a new modeling example from start to finish!

Let's build a model to predict, BPSysAve, a person's systolic blood pressure reading, using BPDiaAve, a person's diastolic blood pressure reading and Diabetes, whether or not they were diagnosed with diabetes.

Instructions 1/4
undefined XP
  • 1
  • 2
  • 3
  • 4
  • Create a bubble plot with the following mappings: BPDiaAve to x, BPSysAve to y, WTMEC4YR to size, and Diabetes to color. Include survey-weight linear regression trends lines with geom_smooth().