Previous Page | Next Page

Understanding and Customizing SAS Output: The Output Delivery System (ODS)

Input Data Set for Examples

The examples in this chapter are based on data from a college entrance exam called the Scholastic Aptitude Test, or SAT. The data is provided in one input file that contains the average SAT scores of students that are entering the university from 1972 to 1998. The input file has the following structure:

Verbal m 1972 531  
Verbal f 1972 529
Verbal m 1973 523  
Verbal f 1973 521
Math   m 1972 527  
Math   f 1972 489
Math   m 1973 525  
Math   f 1973 489

The input file contains the following kinds of values:

The following program creates the data set that this chapter uses. (For a complete listing of the input data, see Data Set SAT_SCORES.)

data sat_scores;
   input Test $ Gender $ Year SATscore @@;
   datalines;
Verbal m 1972 531  Verbal f 1972 529
Verbal m 1973 523  Verbal f 1973 521
Verbal m 1974 524  Verbal f 1974 520
...more data lines...
Math   m 1996 527  Math   f 1996 492
Math   m 1997 530  Math   f 1997 494
Math   m 1998 531  Math   f 1998 496
;

Note:   The examples use file names that may not be valid in all operating environments. For information about how your operating environment uses file specifications, see the documentation for your operating environment.   [cautionend]

Previous Page | Next Page | Top of Page