Skip to content

Commit

Permalink
closing in on full model
Browse files Browse the repository at this point in the history
  • Loading branch information
aflaxman committed Aug 22, 2024
1 parent 0e8d794 commit cf76c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
input_draw_count: 10
random_seed_count: 5
random_seed_count: 10

branches:
# TODO change to name of intervention
- placeholder_branch_name:
scenario: ['baseline']
- relative_shift_intervention.diet_high_in_sodium.exposure:
shift_factor: [1.0, 0.95, 0.90, 0.85]
16 changes: 5 additions & 11 deletions src/vivarium_sodium_reduction/model_specifications/model_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ components:
- SI('ischemic_stroke')
- SI('intracerebral_hemorrhage')
- SI('subarachnoid_hemorrhage')
- SI('chronic_kidney_disease')
- SI('stomach_cancer')
#- SI('hypertensive_heart_disease') # need a PAF-of-1 model, this does not have incidence
# results: # need age_group for stratification
# - SI('chronic_kidney_disease') # no rr for SBP->CKD or any CKD subtype; TODO: must be a PAF-of-1 this for CKD due to HTN
#- SI('hypertensive_heart_disease') # TODO: a PAF-of-1 model, this does not have incidence
# results: # TODO: need age_group for stratification,
# - DisabilityObserver()
# - DiseaseObserver('ischemic_heart_disease')
# - DiseaseObserver('ischemic_stroke')
# - DiseaseObserver('intracerebral_hemorrhage')
# - MortalityObserver()
# # TODO: how do I observe the risk factors?
# TODO: figure out how to run psimulate
vivarium_sodium_reduction.components.risks:
- CorrelatedRisk('risk_factor.high_systolic_blood_pressure')
- CorrelatedRisk('risk_factor.diet_high_in_sodium')
Expand All @@ -29,8 +30,7 @@ components:
- NonLogLinearRiskEffect('risk_factor.high_systolic_blood_pressure', 'cause.ischemic_stroke.incidence_rate')
- NonLogLinearRiskEffect('risk_factor.high_systolic_blood_pressure', 'cause.intracerebral_hemorrhage.incidence_rate')
- NonLogLinearRiskEffect('risk_factor.high_systolic_blood_pressure', 'cause.subarachnoid_hemorrhage.incidence_rate')
# - NonLogLinearRiskEffect('risk_factor.high_systolic_blood_pressure', 'cause.chronic_kidney_disease.incidence_rate')
# - NonLogLinearRiskEffect('risk_factor.diet_high_in_sodium', 'cause.stomach_cancer.incidence_rate')
- NonLogLinearRiskEffect('risk_factor.diet_high_in_sodium', 'cause.stomach_cancer.incidence_rate')
vivarium_sodium_reduction.components.interventions:
- RelativeShiftIntervention('diet_high_in_sodium.exposure')

Expand Down Expand Up @@ -68,12 +68,6 @@ configuration:
- age_start: 0
- age_end: 125

risk_factor:
high_systolic_blood_pressure:
- tmred: 120.0
# diet_high_in_sodium:
# - tmred: 1.0

stratification:
default:
- 'age_group'
Expand Down

0 comments on commit cf76c3d

Please sign in to comment.