Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAS Output Delivery System. Find heart in the sashelp library Double click.

Similar presentations


Presentation on theme: "SAS Output Delivery System. Find heart in the sashelp library Double click."— Presentation transcript:

1 SAS Output Delivery System

2 Find heart in the sashelp library Double click

3

4

5

6

7 You set the default output to include HTML pages.

8 Erase the title and footnote.

9

10 Control Say you want only the contingency table and the chi-square statistic… Play with the code.

11 Not needed Fix the file name. Remove the extra stuff

12 Notice the output is generating two tables. I want to know the names so I can cut down the second table to only include the first Chi-Square. crosstabfreqs chisq

13 Request the names of the output tables in the log Turn it off.

14 ODS voodoo For procedures that generate a lot of output- tables you can tell it which to select or exclude. You can tell SAS to save the output of a table into a dataset (usually in the work library).

15 Same info in work and the report

16 Print Chi-square Notice the filter

17 Remember the ;

18 This works but has an extra table

19

20 Don’t display the statistics You can turn off all the output and still have it write the table of statistics into the work library. The ODS destination name

21 Calculate the chi-square Print the table without doing the statistics. Solution

22

23

24 Cleaning Up Macros (and other SAS programs) often use temporary datasets. It is good form to delete them. This code silently deletes the theChi table from the work library:

25 The Macro


Download ppt "SAS Output Delivery System. Find heart in the sashelp library Double click."

Similar presentations


Ads by Google