Appendix B SAS Macro Code to Automate the Programming

In the interest of simplicity, the SAS code provided above avoided all macro programming, except for using the %CrucialRates macro. However, analysts can profit greatly by making elementary use of the SAS Macro Language. Below is the full program that was used in developing the EER example. Note how the parameters that shape the problem are specified only once at the beginning. Due to rounding, the results obtained with this code differ slightly from those given above.

options ls=80 nocenter; /************************************************************************\ Program Name: EER_SSAnalysis060722.sas Date: 22 July 2006 Investigator: "Sol Capote, MD; CHI Malaria Research Group" Statistician: ...

Get Pharmaceutical Statistics Using SAS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.