Input SAS Data Set for Examples
The following program
creates a SAS data set that contains Scholastic Aptitude Test (SAT)
information for university-bound high school seniors from 1972 through
1998. (To view
the entire DATA step, see The UNIVERSITY_TEST_SCORES Data Set.)
The data set in this example is stored in a SAS library that is referenced
by the libref ADMIN. For selected years between 1972 and 1998, the
data set shows estimated scores that are based on the total number
of students nationwide taking the test. Scores are estimated for
male (m) and female (f) students, for both the verbal and math portions
of the test.
options pagesize=60 linesize=80 pageno=1 nodate; libname admin 'your-data-library'; data admin.sat_scores; input Test $ Gender ...
Get Step-by-Step Programming with Base SAS 9.4 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.