From the course: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Scatter plot - SAS Tutorial
From the course: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
Scatter plot
- [Narrator] In this movie, we are going to continue working with continuous variables. We will make scatter plots. See I'm using exercise file 220_ scatter plots. Okay, In order to get you a really nice scatter plot, I thought I do one between average hours of sleep per night and age, but the problem is in order to do that we have to use the original Dataset we read in which is BRFSS_A. The age variable _age 80 in that Dataset is in pretty good shape as we saw when we made our histogram. But the slept time one variable has values in it like 77 and 99 that we can include. You might remember that from when I showed you how to clean up a continuous variable. So we actually are going to repeat that here. See, I'm running the same code I did before with the clean_example. I'm reading in BRFSS_A, So we are using the whole dataset and I'm creating slept time two as a cleaned variable. Since I just copied the code from…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.