From the course: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Observations from the log file - SAS Tutorial
From the course: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research
Observations from the log file
- [Instructor] Before going too far in implementing our transformation code, I wanted to step back and make sure you understand some features of the log file that you will want to keep in mind for your project, because they can really help. As you can see here, SAS automatically outputs these numbers when you run a data step. You don't even have to ask it. It always tells you the number of rows in the data set in the set statement, and it always tells you the number of rows, and the number of variables, in the data set being output from the data statement. These numbers can be transcribed outside of SAS, so you can keep track of them. But you might wonder, why would you want to keep track of them? Let me scroll down, and I'll show you. Okay, remember this part of the transformation code we did earlier? This is where we removed all the records that did not have a value recorded for our hypothesized exposure, which is diabetes. Let's look at the numbers for the rows in, and rows out. We…
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.
Contents
-
-
-
-
(Locked)
Alternatives to labels and formats4m 11s
-
(Locked)
Using PROC FREQ to prepare5m 5s
-
Removing rows by categorical criteria6m 21s
-
(Locked)
Removing rows by continuous criteria4m 38s
-
(Locked)
Removing rows where values are missing6m 38s
-
(Locked)
Observations from the log file6m
-
(Locked)
Updating data reduction documentation5m 36s
-
(Locked)
-
-
-
-
-
-
-