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

Observations from the log file - SAS Tutorial

From the course: SAS Essential Training: 1 Descriptive Analysis for Healthcare Research

Start my 1-month free trial

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…

Contents