1998-02-27 (Week 7)


Assignment #2

Due: 1998-03-14

Repeat your preliminary analysis of the SSC Case Studies, this time using SAS. Your report from Assignment #1 will probably have indicated a number of directions worthy of further study and you should be able to improve on your earlier analysis in a number of ways. You may also be ready to try more model-fitting or multivariate analysis, if you consider it appropriate. Detail your results in a written report.


Getting Started with SAS

As most of you know there were problems running the X-window version of SAS on the Department X-terms this morning. Pat Monger is looking into that now. The X-terms give you the convenience of editor windows for SAS data, program, output, etc., and nice graphics.

You can also run SAS in batch mode. This is useful if you want to run something from a non-graphics terminal.

You should first create a new directory on data to hold the files for a new project. Then, using pico, vi or the editor of your choice, write the SAS program in a file with extension sas, prog1.sas for example. You could start with Example 1.1 on page 5 of Elliott. Don't forget the ; at the end of each line.

To submit the program, leave the editor and at the UNIX prompt enter

sas prog1

After the program runs, you will find two new files in the directory, prog1.lst which contains the program output and prog1.log which holds a log of the session. You can read these files with an editor or send them to the printer.

Because the width of the computer screen and the width and height of the printer pages are limited, you will usually want to include a statement in your program specifying the width and number of lines of the output pages; details are on page 31 of Elliott.


Back to S4P03