Utility Macros
These are macros that may be used within higher level macros.
- words.sas (rev=1): Counts the words in a string (used only for byvars where shortcut lists not allowed). This is taken directly from p256 of the SAS Macro manual.
- Varlist.sas (rev=1): takes a shortcut list of SAS variables as input and returns the expanded list of variable names.
- CheckVar.sas (rev=1): Checks that needed variables exist in a particular data set.
- quartiles.sas (rev=3): Creates quartile versions of continuous variables. Updated 3/26/08.
- Univariate.sas (rev=3): Calculates summary statistics for specified variables. Updated 3/26/08.
- RefDummy.sas (rev=1): Finds the reference values for categorical variables and creates dummy variables. Updated 4/22/08.
- dummy.sas (rev=1): Creates dummy variables for categorical variables. Updated 4/22/08.
- residsqr.sas (rev=1): Calculate the average studentized residuals within each 10-percentile. Updated 4/22/08.
- TransposeMany.sas (rev=1): Contains a long2wide and wide2long macro for transposing many variables at once