课程: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
今天就学习课程吧!
今天就开通帐号,24,100 门业界名师课程任您挑!
Cleaning a continuous variable - SAS教程
课程: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
Recoding a grouped variable7 分钟 3 秒
-
(已锁定)
Recoding the smoking variable6 分钟 3 秒
-
(已锁定)
Creating flags: Indicator variables5 分钟 22 秒
-
(已锁定)
Grouping a continuous variable5 分钟 3 秒
-
(已锁定)
Cleaning a continuous variable4 分钟 48 秒
-
(已锁定)
Completing the analytic dataset4 分钟 38 秒
-
(已锁定)
Challenge: Make a categorical variable from a continuous one4 分钟 52 秒
-
(已锁定)
Solution: Make a categorical variable from a continuous one3 分钟 27 秒
-
-
-
-
-
-
-