From the course: SAS® 9.4 Cert Prep: Part 03 Exploring and Validating Data

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Demo: Exploring data with SAS procedures

Demo: Exploring data with SAS procedures

- [Instructor] Let's use the print, means, univariate, and freq procedures to explore and validate our data. So we'll start with proc print. The table we want to look at is the storm_summary SAS dataset in the PG1 library. So I'll use the data= option and provide the table name. So remember, by default, proc print will list all of the rows, but I'd like to include just a subset to get a glance at the first 10 rows. So I'll use the obs= option and 10, I'll submit that proc print step, and there's our first 10 rows. It also includes all of the columns and the data. So let's go back to the code, and now I'm going to add a var statement to limit the columns included in the report. So I start with the keyword var, and then if I know my column names well, I can certainly just list them, Season, Name, and so on, however, a really great short cut in SAS Studio allows us to populate those column names by just clicking on them.…

Contents