课程: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research

今天就学习课程吧!

今天就开通帐号,24,100 门业界名师课程任您挑!

Cleaning a continuous variable

Cleaning a continuous variable

- [Instructor] This movie is an example of how to clean up a continuous variable. The way we are making our analytic data set, we won't need to clean up our continuous variable SLEPTIM1 because we are simply getting rid of all the records that have no value, or an invalid value in that field. So, this is off the beaten path of us making our analytic data set, but I thought I'd show you this demonstration in case you need to clean up a continuous variable in the future. So as you can see, I named this code 148_CleaningExample. Okay, let's start with a PROC FREQ on SLEPTIM1 in the whole data set. The big BRFSS_a data set we originally read in. Remember how we did a PROC FREQ on this variable a few movies ago? Well, this is the same thing, only on the whole data set. Let's run this. So what we are looking for in this output, are values in SLEPTIM1 we wish weren't there. Let's look at the very bottom. Now, you can…

内容