Learn R Programming

babsim.hospital (version 11.8.8)

babsimHospitalPara: babsimHospitalPara

Description

Default Control list for babsimHospital This function returns the default controls for the functions babsimHospital. Control is a list of the following settings. Note: dependent parameters that are based on other parameters (e.g., probabilities that add to 1.0) are marked with an asterisk (*). Note: parameters that are currently not used, are marked with a double asterisk (**).

logLevel

if larger than 10, shown detailed simmer output. simmer log_ level, default is 0.

1
FactorPatientsInfectedToHealthy*

Z1: Infected -> Healthy: percentage of patients that move from state infected to healthy, default is 0.831. Note: not used. Value is internally calculated as: 1 - FactorPatientsInfectedToHospital

AmntDaysInfectedToHealthy**

Z1: Infected -> Healthy: duration (in days) if patients move from state infected to healthy, default is 20.5. Note: not used, because not modeled.

2
FactorPatientsInfectedToHospital

Z2: Infected -> Hospital: percentage of patients that move from state infected to hospital, default is 0.169.

AmntDaysInfectedToHospital

Z2: Infected -> Hospital: duration (in days) if patients move from state infected to hospital, default is 8.4.

3

FactorPatientsHospitalToNormal*

Z3: Hospital -> Normal: percentage of patients that move from state hospital to normal, default is 0. Note: not used. Value is internally calculated as: 1 - FactorPatientsHospitalToIntensive - FactorPatientsHospitalToVentilation

AmntDaysHospitalToNormal*

Z3: Hospital -> Normal: duration (in days) if patients move from state hospital to normal, default is 1e6. Note: not used. Patients move from hospital to normal immediately

4
FactorPatientsHospitalToIntensive

Z4: Hospital -> Intensive: percentage of patients that move from state hospital to intensive, default is 0.012.

AmntDaysHospitalToIntensiv*

Z4: Hospital -> Intensive: duration (in days) if patients move from state hospital to intensive, default is 1e6. Note: not used. Patients move from hospital to intensive immediately

5
FactorPatientsHospitalToVentilation

Z5: Hospital -> Ventilation: percentage of patients that move from state hospital to ventilation, default is 0.036.

AmntDaysHospitalToVentilation*

Z5: Hospital -> Ventilation: duration (in days) if patients move from state hospitel to ventilation, default is 1e6. Note: not used. Patients move from hospital to intensive immediately

6
FactorPatientsNormalToHealthy*

Z6: Normal -> Healthy: percentage of patients that move from state normal to healthy, default is 0. Note: not used. Value is internally calculated as: 1 - FactorPatientsNormalToIntensive - FactorPatientsNormalToVentilation - FactorPatientsNormalToDeath

AmntDaysNormalToHealthy

Z6: Normal -> Healthy: duration (in days) if patients move from state normal to healthy, default is 11.6.

7
FactorPatientsNormalToIntensive

Z7: Normal -> Intensive: percentage of patients that move from state normal to intensive, default is 0.0506.

AmntDaysNormalToIntensive

Z7: Normal -> Intensive: duration (in days) if patients move from state normal to intensive, default is 1.25.

8
FactorPatientsNormalToVentilation

Z8: Normal -> Ventilation: percentage of patients that move from state normal to ventilation, default is 0.1013.

AmntDaysNormalToVentilation

Z8: Normal -> Ventilation: duration (in days) if patients move from state normal to ventilation, default is 3.63.

9
FactorPatientsNormalToDeath

Z9: Normal -> Death: percentage of patients that move from state normal to death, default is 0.139.

AmntDaysNormalToDeath

Z9: Normal -> Death: duration (in days) if patients move from state normal to death, default is 11.4.

10
FactorPatientsIntensiveToAftercare*

Z10: Intensive -> Aftercare: percentage of patients that move from state intensive to aftercare, default is 0.25. Note: not used. Value is internally calculated as: 1 - FactorPatientsIntensiveToVentilation - FactorPatientsIntensiveToDeath - FactorPatientsIntensiveToHealthy

AmntDaysIntensiveToAftercare

Z10: Intensive -> Aftercare: duration (in days) if patients move from state intensive to aftercare, default is 7.0.

11
FactorPatientsIntensiveToVentilation

Z11: Intensive > Ventilation: percentage of patients that move from state intensive to ventilation, default is 0.25.

AmntDaysIntensiveToVentilation

Z11: Intensive > Ventilation: duration (in days) if patients move from state intensive to ventilation, default is 2.0.

12
FactorPatientsIntensiveToDeath

Z12: Intensive -> Death: percentage of patients that move from state intensive to death, default is 0.25.

AmntDaysIntensiveToDeath

Z12: Intensive -> Death: duration (in days) if patients move from state intensive to death, default is 2.0.

12a
Removed in v11: FactorPatientsIntensiveToHealthy

Z12a: Intensive -> Healthy: percentage of patients that move from state intensive to healthy, default is 0.25.

AmntDaysIntensiveToHealthy

Z12a: Intensive -> Healthy: duration (in days) if patients move from state intensive to healthy, default is 13.0.

13
Removed in v11: FactorPatientsVentilationToAftercare*

Z13: Ventilation -> Aftercare: percentage of patients that move from state ventilation to aftercare, default is 0.08. Note: not used. Value is internally calculated as: 1 - FactorPatientsVentilationToIntensiveAfter - FactorPatientsVentilationToDeath

Removed in v11: AmntDaysVentilationToAftercare

Z13: Ventilation -> Aftercare: duration (in days) if patients move from state ventilation to aftercare, default is 9.0.

14
FactorPatientsVentilationToIntensiveAfter

Z14: Ventilation -> IntensiveAfter: percentage of patients that move from state ventilation to intensiveAfter, default is 0.42.

AmntDaysVentilationToIntensiveAfter

Z14: Ventilation -> IntensiveAfter: duration (in days) if patients move from state ventilation to intensiveAfter, default is 23.0.

15
Removed in v11: FactorPatientsVentilationToDeath

Z15: Ventilation -> Death: percentage of patients that move from state ventilation to death, default is 0.5.

AmntDaysVentilationToDeath

Z15: Ventilation -> Death: duration (in days) if patients move from state ventilation to death, default is 16.0.

16
FactorPatientsAftercareToHealthy*

Z16: Aftercare -> Healthy: percentage of patients that move from state aftercare to healthy, default is 1.0. Note: not used. Value is 1. No branching required, because there is no alternative.

AmntDaysAftercareToHealthy

Z16: Aftercare -> Healthy: duration (in days) if patients move from state aftercare to healthy, default is 21.0.

17 I
FactorPatientsIntensiveAfterToAftercare*

Z17I: IntensiveAfter -> Aftercare: percentage of patients that move from state intensiveAfter to aftercare, default is 0.5. Note: not used. Value is internally calculated as: 1 - FactorPatientsIntensiveAfterToHealthy - FactorPatientsIntensiveAfterToDeath - FactorPatientsIntensiveAfterToHealthy

AmntDaysIntensiveAfterToAftercare

Z17I: IntensiveAfter -> Aftercare: duration (in days) if patients move from state intensiveAfter to aftercare, default is 7.0.

17 II
Removed in v11: AmntDaysIntensiveAfterToHealthy

Z17II: IntensiveAfter -> Healthy: duration (in days) if patients move from state intensiveAfter to healthy, default is 18.0.

18
FactorPatientsIntensiveAfterToDeath

IntensiveAfter -> Death: percentage of patients that move from state intensiveAfter to death, default is 0.0.

AmntDaysIntensiveAfterToDeath

IntensiveAfter -> Death: duration (in days) if patients move from state intensiveAfter to death, default is 1e-6.

GammaShapeParameter

Gamma shape parameter, default is 1 (exponential distribution).

RiskFactorA

Parameter a in the exponential function r(x) = a exp(b x) that models the risk r as a function of the age x, default is 0.02048948.

RiskFactorB

Parameter b in the exponential function r(x) = a exp(b x) that models the risk r as a function of the age x, default is 0.07138200.

RiskMale

Death risk of male patients compared to female , default is 2.

AmntDaysIntensiveAfterToHealthy

IntensiveAfter -> Healthy: duration (in days) if patients move from state intensiveAfter to death, default is 3.

FactorPatientsIntensiveAfterToHealthy

IntensiveAfter -> Healthy: percentage of patients that move from state intensiveAfter to healthy, default is 0.67.

Usage

babsimHospitalPara()

Arguments

Value

a list

Examples

Run this code
# NOT RUN {
# change Gamma parameter
x <- babsimHospitalPara()
x$GammaShapeParameter <- 1.0
# }

Run the code above in your browser using DataLab