***Note: environment setup not shown;
proc format;
value groupf
1='Gender'
2='Race'
3='Age (years)'
4='Height (cm)'
5='Weight (kg)'
6='BMI (kg/m^2)';
run;
data demostat;
set testdata.demostat;
label col1='Treatment A'
col2='Treatment B'
col3='Total'
col4='Treatment A'
col5='Treatment B'
col6='Total';
format group groupf.;
run;
%let _xname_=example1.sas;
%let h1=CK Pharmaceutical|_xpgnum_;
%let h2=Protocol 3001|;
%let h3=Example 1;
%let h5=Subject Characteristics at Study Entry;
%let note1=%str(Note: Age was calculated by ((date of consent-date of birth)/365.25); BMI was calculated by (weight(kg)/height(m)**2).);
%let f3=Data are simulated and do not represent any actual trials.;
%let f4=Pgm: _xname_|Runtime: _xdate_|Validated: Yes;
%xprint(data=demostat,
column=@label @col1-col6,
order=@@@.group,
overhead=col1 col3 Treatment Regimen: BID\col4 col6 Treatment Regimen: TID,
title=h5,
note=note1,
footer=f4);
|