Chapter 2. Getting Your Data into SAS®

 

“Practice is the best of all instructors.”

 
 --PUBLIUS SYRUS, CIRCA 42 B.C
 

“We all learned by doing, by experimenting (and often failing), and by asking questions.”

 
 --JAY JACOB WIND

From Bartlett’s Familiar Quotations 13th edition, by John Bartlett, copyright 1955 by Little Brown & Company. Public domain.

From the SAS L Listserv, March 15, 1994. Reprinted by permission of the author.

2.1

Methods for Getting Your Data into SAS

30

2.2

Entering Data with the Viewtable Window

32

2.3

Reading Files with the Import Wizard

34

2.4

Telling SAS Where to Find Your Raw Data

36

2.5

Reading Raw Data Separated by Spaces

38

2.6

Reading Raw Data Arranged in Columns

40

2.7

Reading Raw Data Not in Standard Format

42

2.8

Selected Informats

44

2.9

Mixing ...

Get The Little SAS® Book: A Primer, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.