Teachingserv wilcoxon rank-sum mann-whitney testteachingserv
type: numeric (float)
range: [2686013,3708268] units: 1
2.8e+06 2.9e+06 3.2e+06 3.5e+06 3.7e+06
--------------------------------------------------------------------------------------
unique values: 65 missing .: 0/239
mean: 72.795
percento2 Percent oxygen inspired
--------------------------------------------------------------------------------------
182 22
4 26
5 62
7 100
range: [8.083334,500.5] units: 1.000e-06
unique values: 239 missing .: 0/239
--------------------------------------------------------------------------------------
hospitalist Hospitalist service
unique values: 2 missing .: 0/239
tabulation: Freq. Numeric Label
--------------------------------------------------------------------------------------
type: numeric (float)
204 0 No
35 1 yes
label: yn
range: [0,1] units: 1
2 .
--------------------------------------------------------------------------------------
range: [0,1] units: 1
unique values: 2 missing .: 6/239
--------------------------------------------------------------------------------------
death Died
unique values: 2 missing .: 0/239
tabulation: Freq. Numeric Label
Percent |
oxygen |
30 | 25 10.46 88.28
32 | 2 0.84 89.12
------------+-----------------------------------
Total | 239 100.00
1% 22 22
5% 22 22
75% 22 100
90% 34 100 Variance 208.0601
service | Freq. Percent Cum.
------------+-----------------------------------
. tab mental
Cognitive |
------------+-----------------------------------
Total | 239 100.00
| frequency |
| expected frequency |
No | 150 32 | 182
| 155.3 26.7 | 182.0
Total | 204 35 | 239
| 204.0 35.0 | 239.0
No | 150 32 | 182
yes | 54 3 | 57
Cramér's V = -0.1485
gamma = -0.5868 ASE = 0.205
Died | Freq. Percent Cum.
------------+-----------------------------------
. tab hospitalist death, expected
+--------------------+
+--------------------+
Hospitalis | Died
-----------+----------------------+----------
yes | 57 0 | 57
. tab hospitalist death, all exact
Hospitalis | Died
-----------+----------------------+----------
Total | 230 9 | 239
Kendall's tau-b = -0.1107 ASE = 0.020
Fisher's exact = 0.120
Percentiles Smallest
1% 24 20
Largest Std. Dev. 15.45459
75% 83 96
Teaching | Freq. Percent Cum.
------------+-----------------------------------
. sort teachingserv
. by teachingserv: sum age, det
Percentiles Smallest
1% 31 31
Largest Std. Dev. 16.12656
75% 83 83
-> teachingserv = yes
Age in years
10% 48 24 Obs 223
25% 66 26 Sum of Wgt. 223
95% 93 97 Skewness -1.111432
99% 97 99 Kurtosis 4.128002
Percentiles Smallest
1% 74 74
Largest Std. Dev. 7.071068
75% 84 .
. sktest age if teachingserv ==0
age | 0.043 0.052 6.90 0.0317
. sktest age if teachingserv ==1
age | 0.000 0.008 31.64 0.0000
. ttest age, by( teachingserv)
No | 14 73.28571 4.310004 16.12656 63.97452 82.59691
yes | 223 72.70852 1.037923 15.4995 70.66308 74.75396
------------------------------------------------------------------------------
Degrees of freedom: 235
. ranksum age, by( teachingserv)
Two-sample Wilcoxon rank-sum (Mann-Whitney) test
-------------+---------------------------------
combined | 237 28203 28203
Ho: age(teachi~v==No) = age(teachi~v==yes)
z = -0.056
LOS in Hours
-------------------------------------------------------------
25% 60.06667 23.86667 Sum of Wgt. 185
50% 88.11667 Mean 113.3379
99% 427.0667 500.5 Kurtosis 6.440586
--------------------------------------------------------------------------------------
1% 31.93333 31.93333
5% 42.05 34.85
75% 105.3167 145.6833
90% 139.25 158.55 Variance 1306.844
Skewness/Kurtosis tests for Normality
------- joint ------
Skewness/Kurtosis tests for Normality
------- joint ------
Variance ratio test
------------------------------------------------------------------------------
---------+--------------------------------------------------------------------
combined | 233 106.8428 5.071763 77.4171 96.85018 116.8354
F = 5.3696 F = 5.3696 F = 5.3696
P < F = 1.0000 2*(P > F) = 0.0000 P > F = 0.0000
---------+--------------------------------------------------------------------
No | 185 113.3379 6.158798 83.7687 101.187 125.4889
diff | 31.52855 8.07197 15.60067 47.45644
------------------------------------------------------------------------------
P < t = 0.9999 P > |t| = 0.0001 P > t = 0.0001
ranksum outcomelos, by(pathway)
yes | 48 4823 5616
-------------+---------------------------------
adjusted variance 173160.00
Ho: outcom~s(pathway==No) = outcom~s(pathway==yes)