Skip to Content
Producing High-Quality Figures Using SAS/GRAPH and ODS Graphics Procedures
book

Producing High-Quality Figures Using SAS/GRAPH and ODS Graphics Procedures

by Charlie Chunhua Liu
February 2015
Beginner to intermediate
282 pages
7h 27m
English
Chapman and Hall/CRC
Content preview from Producing High-Quality Figures Using SAS/GRAPH and ODS Graphics Procedures
167Box Plots
value hrdf
1 = ‘Hour 0’
2 = ‘Hour 2’
3 = ‘Hour 8’;
value bsldf
1 = ‘BSL IOP: < 24’
2 = ‘BSL IOP: > = 24 to < = 26’
3 = ‘BSL IOP: > 26’
OTHER = ‘ ’;
run;
** Generate the required number of subjects and randomly
assign to 2 treatment groups;
data subj;
do i = 1 to &subjnum.;
subjid = 1000+ i;
if ranuni (&seed.) < 0.5 then trtnum = 1;
else trtnum = 2;
output;
end;
drop i;
run;
** Set up the IOP Values based on the trt assignment and
visits/timepoints;
data iop;
set subj;
do i = 1 to 4; ** 4 visits;
do j = 1 to 3; ** 3 timepoints/visit;
visit = i;
hour = j;
if i = 1 then do; ** Baseline;
if j = 1 then iop = round((RANNOR(&seed.)* &SD.
+25),.1); ** Hour 0;
if j = 2 then iop = round((RANNOR(&seed.)* ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781482207026