Skip to Main Content
Elementary Statistics Using SAS
book

Elementary Statistics Using SAS

by Sandra D. Schlotzhauer
May 2015
Intermediate to advanced content levelIntermediate to advanced
560 pages
11h 17m
English
SAS Institute
Content preview from Elementary Statistics Using SAS

Chapter 2 Creating SAS Data Sets

Your first step in using SAS to summarize and analyze data is to create a SAS data set. If your data is in a spreadsheet or other type of file, see Chapter 3, “Importing Data.” This chapter discusses the following topics:

  • understanding features of SAS data sets
  • creating a SAS data set
  • printing a data set
  • sorting a data set

The “Special Topics” section discusses the following tasks:

  • adding labels to variable names
  • adding labels to values of variables

What Is a SAS Data Set?

Understanding the SAS DATA Step

Summarizing the SAS DATA Step

Assigning Names

Task 1: The DATA Statement

Task 2: The INPUT Statement

Task 3: The DATALINES Statement

Task 4: The Data Lines

Task 5: The Null Statement

Task 6: The RUN Statement ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential Statistics Using SAS University Edition

Essential Statistics Using SAS University Edition

Geoff Der, Brian S. Everitt

Publisher Resources

ISBN: 9781607643791