--------------------------------------------------------------------------------------------------- log: C:\mydocs\MPH\Text\SecondEdition\WebDoFiles\1.3.9.Sepsis.log log type: text opened on: 26 Dec 2007, 20:25:46 . * 1.3.9.Sepsis.log . * . * Calculate the sample mean, median, variance and standard deviation . * for the baseline APACHE score in each treatment group. Draw box plots . * and dotplots of APACHE score for treated and control patients. . * . use C:\WDDtext\1.3.2.Sepsis.dta . sort treat . by treat, sort: summarize apache, detail ------------------------------------------------------------------------------------------------- -> treat = Placebo Baseline APACHE Score ------------------------------------------------------------- Percentiles Smallest 1% 3 0 5% 5 2 10% 7 3 Obs 230 25% 10 4 Sum of Wgt. 230 50% 14.5 Mean 15.18696 Largest Std. Dev. 6.922831 75% 19 32 90% 24 33 Variance 47.92559 95% 28 35 Skewness .6143051 99% 33 41 Kurtosis 3.383043 ------------------------------------------------------------------------------------------------- -> treat = Ibuprofen Baseline APACHE Score ------------------------------------------------------------- Percentiles Smallest 1% 3 3 5% 5 3 10% 7 3 Obs 224 25% 10 4 Sum of Wgt. 224 50% 14 Mean 15.47768 Largest Std. Dev. 7.261882 75% 21 31 90% 25 34 Variance 52.73493 95% 29 36 Skewness .5233335 99% 34 37 Kurtosis 2.664936 . graph hbox apache, over(treat) . more . dotplot apache, over(treat) center . more . log close log: C:\mydocs\MPH\Text\SecondEdition\WebDoFiles\1.3.9.Sepsis.log log type: text closed on: 26 Dec 2007, 20:26:03 -------------------------------------------------------------------------------------------------