Skip to content

Commit ebaa51c

Browse files
authored
Set default LOS based on historical resp failure
Data from Anesi, George L <George.Anesi@uphs.upenn.edu> HUP, PMC, PAH, LGH, CCH 2013-2018 (*CCH 2017-2018 only) Acute respiratory failure admissions from the ED All acute respiratory failure N=10,235 Hospital LOS (hours) hospital_los_hours ------------------------------------------------------------- Percentiles Smallest 1% 9.55 0 5% 21.45 0 10% 36.05 0 Obs 10,235 25% 63.33333 .2666667 Sum of Wgt. 10,235 50% 113.2667 Mean 174.9854 Largest Std. Dev. 285.939 75% 204.85 5009.783 90% 358.3 6214.167 Variance 81761.1 95% 505.8167 9516.217 Skewness 23.01387 99% 1028.217 15925.03 Kurtosis 1051.167 Acute respiratory failure requiring mechanical ventilation in the ED N=2,029 Hospital LOS (hours) hospital_los_hours ------------------------------------------------------------- Percentiles Smallest 1% 5.116667 0 5% 21.48333 0 10% 37.8 .2666667 Obs 2,029 25% 72.5 .4166667 Sum of Wgt. 2,029 50% 139.35 Mean 212.6392 Largest Std. Dev. 248.1143 75% 259.4333 2327.667 90% 450.4 2528.55 Variance 61560.72 95% 626.95 2558.133 Skewness 3.943032 99% 1208.683 2689.217 Kurtosis 27.13584 Acute respiratory failure requiring ICU admission N=4,040 Hospital LOS (hours) hospital_los_hours ------------------------------------------------------------- Percentiles Smallest 1% 5.7 0 5% 22.95833 0 10% 40.475 .2666667 Obs 4,040 25% 75.83334 .4166667 Sum of Wgt. 4,040 50% 139.2333 Mean 214.9631 Largest Std. Dev. 305.1634 75% 254.375 2961.917 90% 447.7583 5009.783 Variance 93124.72 95% 629.8417 6214.167 Skewness 11.72017 99% 1214.067 9516.217 Kurtosis 276.2198
1 parent 2c9a8e7 commit ebaa51c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
st.sidebar.number_input("Ventilated %", 0, 100, value=1, step=1, format="%i")
4343
/ 100.0
4444
)
45-
hosp_los = st.sidebar.number_input("Hospital LOS", value=5, step=1, format="%i")
46-
icu_los = st.sidebar.number_input("ICU LOS", value=7, step=1, format="%i")
47-
vent_los = st.sidebar.number_input("Vent LOS", value=14, step=1, format="%i")
45+
hosp_los = st.sidebar.number_input("Hospital LOS", value=7, step=1, format="%i")
46+
icu_los = st.sidebar.number_input("ICU LOS", value=9, step=1, format="%i")
47+
vent_los = st.sidebar.number_input("Vent LOS", value=10, step=1, format="%i")
4848
Penn_market_share = (
4949
st.sidebar.number_input(
5050
"Hospital Market Share (%)", 0, 100, value=15, step=1, format="%i"

0 commit comments

Comments
 (0)