Intervention Exposure Model

This module contains tools for modeling intervention exposures and their effects on target measures.

class vivarium_public_health.treatment.intervention.Intervention(intervention)[source]

A model for an intervention defined by a dichotomous coverage value.

This is a specialization of CausalFactor restricted to "intervention" entity types. It can source data either from the artifact or from parameters supplied in the configuration. For an intervention named my_intervention, the configuration could look like:

configuration:
    my_intervention:
        exposure: 0.5
Parameters:

intervention (str)

VALID_ENTITY_TYPES = ['intervention']
class vivarium_public_health.treatment.intervention.InterventionEffect(intervention, target)[source]

A model for the effect of an intervention on an affected entity’s target measure.

This is a specialization of CausalFactorEffect for interventions. It can source relative risk and population attributable fraction data from the artifact or from scalar configuration parameters.

For an intervention named my_intervention that affects affected_cause.incidence_rate, the configuration would look like:

configuration:
    intervention_effect.my_intervention_on_cause.affected_cause.incidence_rate:
        data_sources:
            relative_risk: 0.5
Parameters:
  • intervention (str)

  • target (str)

EXPOSURE_CLASS

alias of Intervention

property name: str

The unique name for this intervention effect component.