SAS programming lecture 4:
Homework 1 is due today, please remember to turn in a hard
copy of your code as well as sending me the information
via email. Also remember to write on your hard copy of your code
what previous statistics courses you have had.
Drawing (pseudo) random samples
- Pseudo random number generators
- Use of the seed value: for seed <= 0 SAS uses the
system clock; for seed > 0 that number is used
Use of simulation to assess level and power of a statistical
procedure
- Using simple DO loops, the OUTPUT statement, PROC GLM
options
Logical statements
- Simple IF ( ) THEN ( ) statements
- The ELSE statement
- Selecting and deleting cases; detecting the end of a file
- Executing a block of statements after IF ( ) THEN
- the RETAIN statement, accumulators, and counters