EXP Library

EXP.RESULTS

The following sections are the raw data and DATA steps for the EXP library.
proc datasets library=exp;

data exp.results;
    input id  treat $  initwt  wt3mos age;
    datalines;
 1    Other      166.28    146.98     35
 2    Other      214.42    210.22     54
 3    Other      172.46    159.42     33
 5    Other      175.41    160.66     37
 6    Other      173.13    169.40     20
 7    Other      181.25    170.94     30
10    Other      239.83    214.48     48
11    Other      175.32    162.66     51
12    Other      227.01    211.06     29
13    Other      274.82    251.82     31
14    surgery    203.60    169.78     38
17    surgery    171.52    150.33     42
18    surgery    207.46    155.22     41
;
run;

EXP.SUR

data exp.sur;
    input id  treat $  initwt  wt3mos  wt6mos  age;
    datalines;
14    surgery    203.60    169.78    143.88     38
17    surgery    171.52    150.33    123.18     42
18    surgery    207.46    155.22       .       41
;
run;