Skip to content

SAS for Clinical Programmers

Learn the 20% of SAS that does 80% of the work in a clinical trial. Watch every concept run, one statement at a time, in DataStep Studio.

The 20% that matters

We counted the features in 276 real production programs from one clinical study. WHERE= was in 193 of them, MERGE in 146, PROC SQL in 135. Hash objects were in 2. This book teaches the first group in depth.

See SAS think

Click through each concept one statement at a time: the code, the program data vector, the log and the output change on every step. Then do the same in DataStep Studio with F10.

Real trial data

Every example runs on the public CDISC pilot study: 254 randomised subjects, three arms, real SDTM and ADaM.

Nothing untested

Every program on these pages ran in DataStep Studio on SAS OnDemand before it was printed. The numbers you read are the numbers you will get.

Programs (of 276) that use each feature, in one real clinical study. The book teaches the top of this list in depth.
  1. WHERE= data set option193ch. 2
  2. IN= on MERGE188ch. 5
  3. MERGE146ch. 5
  4. LABEL141ch. 3
  5. LENGTH137ch. 3
  6. PROC SQL135ch. 6
  7. explicit OUTPUT122ch. 4
  8. ATTRIB119ch. 3
  9. NODUPKEY116ch. 4
  10. FIRST. / LAST.97ch. 4
  11. RETAIN86ch. 4
  12. PROC FORMAT66ch. 7
  13. PROC TRANSPOSE62ch. 7
  14. %DO loops60ch. 8
  15. ARRAY53ch. 7
  16. CALL EXECUTE9ch. 18
  17. FULL JOIN6ch. 5
  18. hash object2reference only