Printing Raw Data with PROC PRINT

PROC PRINT can be used to create a printout of your raw data as they exist in the computer’s internal memory. The output of PROC PRINT shows each participant’s value on each of the requested variables. You can use this procedure with both quantitative variables and classification variables. The general form is:

PROC PRINT   DATA=dataset-name;
   VAR  variable-list  ;
RUN;

In the variable list, you can request any variable that is specified in the INPUT statement, as well as any new variable that is created from existing variables. If you do not include the VAR statement, then all existing variables will be printed. The program presented earlier in this chapter included the following PROC PRINT statements:

PROC PRINT ...

Get A Step-by-Step Approach to Using SAS® for Univariate & Multivariate Statistics, Second 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.