Accurately calculating age in only one line
An autocall library contains files that define SAS macros. If you regularly use user-written SAS macros, it is efficient to store these macros in a separate directory
Calculating age at diagnosis from date of birth (extracted fron Swedish ID number) and diagnosis date
Three approaches for categorising a continuous variable into quantiles.
Converting variable types from character to numeric (and vice versa)
How to use customised notes and warnings in the SAS log
Illustration of the FIRST. and LAST. variables for data step processing within by groups.
Approaches to estimating ratios of proportions (risk ratios)
SAS Formats and Informats
SAS arrays are useful when we wish to perform a similar operation on a set of variables