
56 Producing High-Quality Figures Using SAS/Graph
®
and ODS Graphics
Appendix (Section 4.6). The following are the main sections and features of
the program.
4.3.2.1 Dataset Simulation
• A virtual clinical trial is simulated to include 100 subjects. Subjects
are randomly assigned to either TRT 1 or TRT 2 at the 1:1 ratio. This
is done by using an SAS function, “ranuni(&seed.)”, which generates
random numbers between 0 and 1. If the random number is less
than 0.5, the subject is assigned to TRT 1; otherwise, the subject is
assigned to TRT 2.
• Subjects’ IOP values are assigned based on a normal distribution
with the preset mean and SD. Subjec ...