--------------------------------------------------------------------------------------------------- log: C:\mydocs\MPH\Text\SecondEdition\WebDoFiles\1.4.11.Sepsis.log log type: text opened on: 26 Dec 2007, 20:26:22 . * 1.4.11.Sepsis.log . * . * Perform paired t test of temperature change by 2 hours . * in septic patients receiving ibuprofen. . * . use c:\WDDtext\1.4.11.Sepsis.dta . codebook treat ------------------------------------------------------------------------------------------------- treat Treatment ------------------------------------------------------------------------------------------------- type: numeric (float) label: treatmnt range: [0,1] units: 1 unique values: 2 missing .: 0/455 tabulation: Freq. Numeric Label 231 0 Placebo 224 1 Ibuprofen . keep if treat==1 (231 observations deleted) . codebook temp0 temp1 ------------------------------------------------------------------------------------------------- temp0 Baseline Temperature (deg. F) ------------------------------------------------------------------------------------------------- type: numeric (float) range: [91.58,107] units: .01 unique values: 96 missing .: 0/224 mean: 100.362 std. dev: 2.13871 percentiles: 10% 25% 50% 75% 90% 97.7 99.25 100.58 101.48 102.74 ------------------------------------------------------------------------------------------------- temp1 Temperature after 2 hours ------------------------------------------------------------------------------------------------- type: numeric (float) range: [92.6,106.7] units: .01 unique values: 78 missing .: 16/224 mean: 99.5211 std. dev: 1.85405 percentiles: 10% 25% 50% 75% 90% 97.3 98.6 99.5 100.5 101.4 . ttest temp0 = temp1 Paired t test ------------------------------------------------------------------------------ Variable | Obs Mean Std. Err. Std. Dev. [95% Conf. Interval] ---------+-------------------------------------------------------------------- temp0 | 208 100.4056 .1493624 2.154135 100.1111 100.7 temp1 | 208 99.52106 .1285554 1.854052 99.26761 99.7745 ---------+-------------------------------------------------------------------- diff | 208 .8845193 .0861504 1.242479 .7146746 1.054364 ------------------------------------------------------------------------------ mean(diff) = mean(temp0 - temp1) t = 10.2672 Ho: mean(diff) = 0 degrees of freedom = 207 Ha: mean(diff) < 0 Ha: mean(diff) != 0 Ha: mean(diff) > 0 Pr(T < t) = 1.0000 Pr(|T| > |t|) = 0.0000 Pr(T > t) = 0.0000 . log close log: C:\mydocs\MPH\Text\SecondEdition\WebDoFiles\1.4.11.Sepsis.log log type: text closed on: 26 Dec 2007, 20:26:34 -------------------------------------------------------------------------------------------------