Skip to content

IndividualNonDiseaseDeathRateModifier

The IndividualNonDiseaseDeathRateModifier intervention class provides a method of modifying an individual's non-disease mortality rate over time, until an expiration event is reached. For example, this intervention could be given to people who have access to health care to model that they have a different life expectancy than those who do not. Different distribution patterns can be designated, and linear interpolation will be used to calculate values between time points.

Note

Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false. Minimum, maximum, or default values of "NA" indicate that those values are not applicable for that parameter.

EMOD does not use true defaults; that is, if the dependency relationships indicate that a parameter is required, you must supply a value for it. However, many of the tools used to work with EMOD will use the default values provided below.

JSON format does not permit comments, but you can add "dummy" parameters to add contextual information to your files. Any keys that are not EMOD parameter names will be ignored by the model.

The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.

Parameter Type Min Max Default Description
Cost_To_Consumer float 999999 0 0 The cost of getting the non-disease death modifier each time it is distributed.
Disqualifying_Properties array of strings NA NA [] A list of IndividualProperty key:value pairs that cause an intervention to be aborted (persistent interventions will stop being distributed to individuals with these values). See IndividualProperties and NodeProperties parameters for more information. Generally used to control the flow of health care access. For example, to prevent the same individual from accessing health care via two different routes at the same time.
Dont_Allow_Duplicates boolean 0 1 0 If an individual's container has an intervention, set to true (1) to prevent them from receiving another copy of the intervention. Supported by all intervention classes.
Duration_To_Modifier array of json objects NA NA NA An array of Times and Values used to specify different modifiers over the duration of the intervention. Linear interpolation is used to find the values between time points. If the duration exceeds the max time, then the last modifier value will be used.
Expiration_Duration_Constant float 0 3.40282e+38 6 Each instance will receive this constant/fixed value.
Expiration_Duration_Distribution enum NA NA NOT_INITIALIZED For the distribution of each intervention, a randomly selected duration from this distribution will determine when the person stops using the intervention. This is independent of how long the intervention is effective. Possible values are:
NOT_INITIALIZED
CONSTANT_DISTRIBUTION
UNIFORM_DISTRIBUTION
GAUSSIAN_DISTRIBUTION
EXPONENTIAL_DISTRIBUTION
POISSON_DISTRIBUTION
LOG_NORMAL_DISTRIBUTION
DUAL_CONSTANT_DISTRIBUTION
WEIBULL_DISTRIBUTION
DUAL_EXPONENTIAL_DISTRIBUTION
Expiration_Duration_Exponential float 0 3.40282e+38 6 The mean for an exponential distribution.
Expiration_Duration_Gaussian_Mean float 0 3.40282e+38 6 The mean for a Gaussian distribution.
Expiration_Duration_Gaussian_Std_Dev float 1.17549e-38 3.40282e+38 1 The standard deviation for a Gaussian distribution.
Expiration_Duration_Kappa float 1.17549e-38 3.40282e+38 1 The shape value in a Weibull distribution.
Expiration_Duration_Lambda float 1.17549e-38 3.40282e+38 1 The scale value in a Weibull distribution.
Expiration_Duration_Log_Normal_Mu float -3.40282e+38 3.40282e+38 6 The mean for a log-normal distribution.
Expiration_Duration_Log_Normal_Sigma float -3.40282e+38 3.40282e+38 1 The width for a log-normal distribution.
Expiration_Duration_Max float 0 3.40282e+38 1 The maximum of the uniform distribution.
Expiration_Duration_Mean_1 float 1.17549e-38 3.40282e+38 1 The mean of the first exponential distribution.
Expiration_Duration_Mean_2 float 1.17549e-38 3.40282e+38 1 The mean of the second exponential distribution.
Expiration_Duration_Min float 0 3.40282e+38 0 The minimum of the uniform distribution.
Expiration_Duration_Peak_2_Value float 0 3.40282e+38 1 The value to assign to the remaining individuals.
Expiration_Duration_Poisson_Mean float 0 3.40282e+38 6 The mean for a Poisson distribution.
Expiration_Duration_Proportion_0 float 0 1 1 The proportion of individuals to assign a value of zero.
Expiration_Duration_Proportion_1 float 0 1 1 The proportion of individuals in the first exponential distribution.
Expiration_Event string NA NA "" When the person stops using the intervention, this event will be broadcasted. See Event list for possible values or define custom events using config parameter Custom_Individual_Events.
Intervention_Name string NA NA IndividualNonDiseaseDeathRateModifier The optional name used to refer to this intervention as a means to differentiate it from others that use the same class.
New_Property_Value string NA NA "" An optional IndividualProperty key:value pair that will be assigned when the intervention is distributed. See IndividualProperties and NodeProperties parameters for more information. Generally used to indicate the broad category of health care cascade to which an intervention belongs to prevent individuals from accessing care through multiple pathways. For example, if an individual must already be taking a particular medication to be prescribed a new one.
{
    "Use_Defaults": 1,
    "Events": [
        {
            "class": "CampaignEvent",
            "Start_Day": 3000,
            "Nodeset_Config": {
                "class": "NodeSetAll"
            },
            "Event_Coordinator_Config": {
                "class": "StandardInterventionDistributionEventCoordinator",
                "Target_Demographic": "Everyone",
                "Demographic_Coverage": 1.0,
                "Intervention_Config": {
                    "class": "IndividualNonDiseaseDeathRateModifier",
                    "Cost_To_Consumer": 1,
                    "Duration_To_Modifier": {
                        "Times":  [0.0, 365.0, 730.0, 1095.0],
                        "Values": [2.0,   1.0,   0.5,    0.0]
                    },
                    "Expiration_Duration_Distribution": "CONSTANT_DISTRIBUTION",
                    "Expiration_Duration_Constant": 1000,
                    "Expiration_Event": "BackToNormalMortality"
                }
            }
        }
    ]
}