Programming Assignments
In order to receive full credit for an assignment, you must submit
printouts of the following:
- SAS program
- SAS log file
- SAS output
Any other material requested in class must also be submitted. These will be due on the
assigned due date.
Due dates will be assigned in
class after sufficient material has been covered in the lectures or from readings. Incomplete or late assignments
will receive reduced credit.
It is not sufficient that a program run without errors. The program must
also be written in a meaningful fashion. In particular, programs must have titles, labels, and
variable names that are meaningful for the associated problem.
Note: Assignment #0 is optional and will not be graded. It is
an opportunity for you to get some practice with
the SAS environment before working on an
assignment that counts.
- Assignment #0: (Optional)
- Read Chapter 2 (pp19 - 30) of the SAS text. You should also review either the SAS for
Windows or SAS for Unix
tips.
- Download Guide 1.
- Invoke SAS and execute Guide 1. Your output should look like this. Notice that the data is printed, summary statistics are
computed and two histograms are produced.
- Modify Guide 1 so that "CSC323 - Optional Assignment" appears as a footnote on each page of your output.
- Assignment #1: (Due: 8/9)
- Review the
Normal Distribution
lecture notes. You will also need the "Fundamental Principle of
Data Analysis" discussed in class on Tue, 7/31.
- Readings (SAS text):
- TITLE & OPTIONS statement: pp27 - 28 & pp30
- INPUT statement: pp41 - 43
- INFILE statement: pp45
- PROC PRINT: pp46 - 48
- LABEL statement: pp53
- PROC MEANS: pp86 - 87
- Assignment #2: (Due: 8/23)
- Review the lecture notes on
Hypothesis Testing
(my).
- Readings (SAS text):
- As for Assignment #1.
- PROC UNIVARIATE: pp80 - 86
Note: The output presented in the text is for v6.12 of SAS but the
discussion is accurate - see the "hypothesis testing & SAS link" below
for the v8 output.
- Optional: Read pages
149 - 155 (i.e. the section on Building a Hypothesis Test) for
another presentation of the idea of hypothesis testing.
- See the hypothesis testing & SAS link.