Join Jordan Bakerman for an in-depth discussion in this video Reporting data, part of SAS Programming for R Users, Part 1.
- [Instructor] Now that we know how to get our data…into SAS, we want to to ahead and report the data…and bring back just a few features in a report.…So here I'm going to use a few different PROC Steps…and return some results.…So in R when I read in a data set, I like to go…ahead and use the head function, just to make…sure I read it in correctly.…The names function, just to see the variable names.…What's the dimension of my data set.…The unique levels of my classification variables.…And then maybe I want to go ahead and…print variables conditionally.…
How would I do all this in SAS?…The first procedure is the Contents Procedure.…And it provides the same information as the…functions dim and names in R.…So it's going to provide the number of observations,…the number of variables, as well as the variable…names in the data set.…And as a best practice, I like to use the varnum…option so SAS will print the variables to…the results page in the order that they appear…in the data set.…But of course in SAS studio, if you wanted,…
Note: You can visit the SAS site to obtain a copy of the software, and use the company's online data sets to do the course exercises.
- SAS University Edition
- Working in SAS Studio
- Using tasks and snippets in SAS Studio
- Determining power using simulation
- SAS procedure syntax
- Creating datasets manually in the DATA step
- Importing raw data files
- Creating new variables and conditional processing
- Match-merging data sets
Skill Level Beginner
Descriptive Healthcare Analytics in Rwith Monika Wahi4h 15m Advanced
1. Introduction and Working in SAS
2. Importing and Reporting Data
3. Creating New Variables, Functions, and Data Tables
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.