You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ANC propensity is correlated with LBWSG category propensity and IFD propensity as described in the the :ref:`correlated propensities <facility_choice_correlated_propensities_section>`
77
77
section of the facility choice model document. Currently we assume that there is no correlation of ANC with other factors.
78
78
79
-
79
+
80
+
2.2 Module Outputs
81
+
------------------
82
+
83
+
ANC attendance impacts hemoglobin exposure and facility choice in our model, and in order for the
84
+
outputs of this component to be compatible with the data needs of these two downstream components, we will need two different
85
+
outputs, one being polychotomous for the facility choice component and the other being dichotomous for the hemoglobin component.
86
+
87
+
.. list-table:: Module outputs
88
+
:header-rows: 1
89
+
:widths: 10 15 15
90
+
91
+
* - Output
92
+
- Value
93
+
- Dependencies
94
+
* - ANC attendance category
95
+
-
96
+
1. :code:`none`
97
+
2. :code:`later_pregnancy_only`
98
+
3. :code:`first_trimester_only`
99
+
4. :code:`first_trimester_and_later_pregnancy`
100
+
101
+
The categories of this polytomous variable are listed from highest risk (1) to lowest risk (4) in terms of ultrasound timing,
102
+
in accordance with the :ref:`special ordering of the categories section <facility_choice_special_ordering_of_categories_section>`
103
+
of the delivery facility choice model document: The categories need to be ordered 1 < 2 < 3 < 4 when sampling the ANC attendance
104
+
variable using the correlated ANC propensity in order to induce the correct correlations for the facility choice model.
105
+
- Used as an input for the :ref:`AI Ultrasound module <2024_vivarium_mncnh_portfolio_ai_ultrasound_module>`, for determining receipt and timing of ultrasound.
106
+
* - First trimester ANC attendance
107
+
-
108
+
- *True* when ANC attendance category is :code:`first_trimester_only` or :code:`first_trimester_and_later_pregnancy`
109
+
- *False* when ANC attendance category is :code:`none` or :code:`later_pregnancy_only`
110
+
- Used as an input for the :ref:`hemoglobin module <2024_vivarium_mncnh_portfolio_hemoglobin_module>`, for eligibility for receipt of oral iron in the first trimester.
111
+
This variable is dichotomous for each pregnancy.
112
+
* - Late pregnancy ANC attendance
113
+
-
114
+
- *True* when ANC attendance category is :code:`first_trimester_and_later_pregnancy` or :code:`later_pregnancy_only`
115
+
- *False* when ANC attendance category is :code:`none` or :code:`first_trimester_only`
116
+
- Used as an input for the :ref:`hemoglobin module <2024_vivarium_mncnh_portfolio_hemoglobin_module>`, for eligibility for anemia screening, as well as receipt of oral or IV iron in later pregnancy.
117
+
This variable is dichotomous for each pregnancy.
118
+
119
+
The categorical variable is simply a polytomous encoding of the 2x2 table implied by the dichotomous variables:
- GBD covariate ID 8: :code:`get_covariate_estimates(location_id=location_id, release_id=16, year_id=2023, covariate_id=8)`
95
164
- Proportion of pregnant people receiving 4 or more antenatal care visits including 1 or more from a skilled provider
96
165
166
+
The use of ANC1 is straightforward: it determines how many people *never* attend ANC, vs attend ANC at all.
167
+
Similarly, ANCfirst determines how many people should attend in the first trimester.
168
+
Lastly, we use ANC4 as a proxy measure for attending ANC *throughout pregnancy*, though this could miss in both directions:
169
+
someone could attend only 2-3 visits and have these spread across time (more likely),
170
+
or they could attend 4+ visits all during one phase of pregnancy (less likely).
171
+
Due to the imperfectness of this proxy measure, we decided to treat it as an upper bound on attending throughout pregnancy,
172
+
which means it is only impactful when it is *lower* than ANCfirst (see next section for details).
173
+
In practice, in our modeled locations, this only occurs in Pakistan.
97
174
98
-
2.2 Module Description
99
-
----------------------
175
+
In the absence of better data, we assume that the DHS data used to produce the ANCfirst, ANC1, and ANC4 covariates applies to abortion/miscarriage/ectopic pregnancies
176
+
as well as pregnancies resulting in live birth or stillbirth.
177
+
We further assume that abortion/miscarriage/ectopic pregnancies end before they can attend later pregnancy ANC visits (though in fact abortions and miscarriages in particular could happen beyond this point).
100
178
101
-
ANC attendance will be modeled as a single variable with 4 possible exposure options:
179
+
.. note::
102
180
103
-
A. Attends ANC during first trimester AND later pregnancy
104
-
B. Attends ANC during first trimester but NOT later pregnancy
105
-
C. Attends ANC during later pregnancy but NOT first trimester
106
-
D. Does not attend ANC at all during pregnancy
181
+
As of `pull request #1690 <https://github.com/ihmeuw/vivarium_research/pull/1690>`_ we updated our strategy to
182
+
include the ANCfirst variable that the HS team processed and shared with us. Please see
for more information on this strategy update and other options considered.
107
185
108
-
.. list-table:: ANC exposure options
109
-
:header-rows: 1
186
+
Vivarium modeling strategy
187
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
110
188
111
-
* -
112
-
- Visit during late pregnancy
113
-
- No visit during late pregnancy
114
-
* - **Visit during first trimester**
115
-
- A
116
-
- B
117
-
* - **No visit during first trimester**
118
-
- C
119
-
- D
189
+
With the data and assumptions in the previous section, we can fully determine the proportions in the 4 categories of ANC attendance.
190
+
Here is the procedure for **live birth or stillbirth** pregnancies:
120
191
121
-
The below table describes what probability values to use for each exposure option outlined above, **for pregnancies resulting in live birth or stillbirth**.
192
+
1. First, assign probability of 1 - ANC1 to the :code:`none` category.
193
+
2. Then, assign probability to :code:`later_pregnancy_only` so that it and :code:`none`, taken together, equal 1 - ANCfirst.
194
+
(You'll never run out of probability on this step, since ANCfirst must be less than or equal to ANC1).
195
+
3. Then, assign probability to :code:`first_trimester_and_later_pregnancy` until
196
+
you have either assigned all remaining probability, or the probability in this category has become equal to ANC4 (which we treat as an upper bound).
197
+
4. Assign any remaining probability to :code:`first_trimester_only`. Note that in our actual data, this category only receives
198
+
non-zero probability when ANC4 > ANCfirst, which only occurs in Pakistan out of our modeled locations.
199
+
200
+
Mathematically, that means the probabilities are as follows, **for pregnancies resulting in live birth or stillbirth**.
122
201
123
202
.. list-table:: ANC exposure probability values for pregnancies resulting in live birth or stillbirth
124
203
:header-rows: 1
125
204
126
205
* - ANC exposure option
127
-
- Description
128
206
- Probability value
129
207
- Notes
130
-
* - A
131
-
- Attends ANC during first trimester AND later pregnancy
208
+
* - :code:`first_trimester_and_later_pregnancy`
132
209
- ``min(ANCfirst, ANC4)``
133
210
- Assume that attending ANC in first trimester reflects "active care seeking behavior" and that it is unlikely
134
211
for someone who attends first trimester ANC to attend no subsequent visits.
135
-
* - B
136
-
- Attends ANC during first trimester but NOT later pregnancy
212
+
* - :code:`first_trimester_only`
137
213
- ``ANCfirst - min(ANCfirst, ANC4)``
138
214
- Prevalence of first trimester visit ONLY (and no late pregnancy visit) only occurs if ANCfirst > ANC4
139
-
* - C
140
-
- Attends ANC during later pregnancy but NOT first trimester
215
+
* - :code:`later_pregnancy_only`
141
216
- ``ANC1 - ANCfirst``
142
217
-
143
-
* - D
144
-
- Does not attend ANC at all during pregnancy
218
+
* - :code:`none`
145
219
- ``1 - ANC1``
146
220
-
147
221
148
-
.. note::
149
-
150
-
As of `pull request #1690 <https://github.com/ihmeuw/vivarium_research/pull/1690>`_ we updated how we assign our ANC exposures to
151
-
include the ANCfirst variable that the HS team processed and shared with us. Please see `these slides <https://uwnetid.sharepoint.com/:p:/r/sites/ihme_simulation_science_team/_layouts/15/Doc.aspx?sourcedoc=%7BADD6223E-9FCA-40BB-BB7F-FE44F377CCDB%7D&file=ANC%20visit%20timing%20data%20strategy%20options.pptx&action=edit&mobileredirect=true>`_
152
-
for more information on this strategy update.
153
-
154
-
The above probabilities are to be implemented pregnancies resulting in live birth or stillbirth only.
155
-
Abortion/miscarriage/ectopic pregnancies are assigned
156
-
probabilities differently because we assume their pregnancies end before they can attend later pregnancy ANC visits.
157
-
The below table describes what probabilities to use for each exposure option **for abortion/miscarriage/ectopic pregnancies**:
222
+
Abortion/miscarriage/ectopic pregnancies are similar, except that we make it impossible for them to attend later
223
+
pregnancy ANC visits, resulting in the following (simpler) probabilities:
158
224
159
225
.. list-table:: ANC exposure probabilities for abortion/miscarriage/ectopic pregnancies
160
226
:header-rows: 1
161
227
162
228
* - ANC exposure option
163
-
- Description
164
229
- Probability value
165
230
- Notes
166
-
* - A
167
-
- Attends ANC during first trimester AND later pregnancy
231
+
* - :code:`first_trimester_and_later_pregnancy`
168
232
- 0
169
233
- Assumption
170
-
* - B
171
-
- Attends ANC during first trimester but NOT later pregnancy
234
+
* - :code:`first_trimester_only`
172
235
- ``ANCfirst``
173
236
-
174
-
* - C
175
-
- Attends ANC during later pregnancy but NOT first trimester
237
+
* - :code:`later_pregnancy_only`
176
238
- 0
177
239
- Assumption
178
-
* - D
179
-
- Does not attend ANC at all during pregnancy
180
-
- Probability equal to ``1 – ANCfirst``
181
-
-
182
-
183
-
184
-
2.3 Module Outputs
185
-
------------------
186
-
187
-
As mentioned earlier, ANC attendance impacts hemoglobin exposure and facility choice in our model, and in order for the
188
-
outputs of this component to be compatible with the data needs of these two downstream components, we will need two different
189
-
outputs, one being dichotomous for the hemoglobin component and the other being polychotomous for the facility choice component.
190
-
191
-
.. list-table:: Module outputs
192
-
:header-rows: 1
193
-
:widths: 10 15 15
194
-
195
-
* - Output
196
-
- Value
197
-
- Dependencies
198
-
* - First trimester ANC attendance
240
+
* - :code:`none`
241
+
- ``1 – ANCfirst``
199
242
-
200
-
- *True* for groups A and B
201
-
- *False* for groups C and D
202
-
- Used as an input for the :ref:`hemoglobin module <2024_vivarium_mncnh_portfolio_hemoglobin_module>`.
203
-
This variable is dichotomous for each pregnancy.
204
-
* - Late pregnancy ANC attendance
205
-
-
206
-
- *True* for groups A and C
207
-
- *False* for groups B and D
208
-
- Used as an input for the :ref:`hemoglobin module <2024_vivarium_mncnh_portfolio_hemoglobin_module>`.
209
-
This variable is dichotomous for each pregnancy.
210
-
* - ANC attendance category
211
-
-
212
-
1. :code:`none` for group D
213
-
2. :code:`later_pregnancy_only` for group C
214
-
3. :code:`first_trimester_only` for group B
215
-
4. :code:`first_trimester_and_later_pregnancy` for group A
216
-
217
-
The categories of this polytomous variable are listed from highest risk (1) to lowest risk (4) in terms of ultrasound timing,
218
-
in accordance with the :ref:`special ordering of the categories section <facility_choice_special_ordering_of_categories_section>`
219
-
of the delivery facility choice model document: The categories need to be ordered D < C < B < A when sampling the ANC attendance
220
-
variable using the correlated ANC propensity in order to induce the correct correlations for the facility choice model.
221
-
- Used as an input for the :ref:`AI Ultrasound module <2024_vivarium_mncnh_portfolio_ai_ultrasound_module>`.
222
243
223
244
224
245
3.0 Assumptions and limitations
225
246
++++++++++++++++++++++++++++++++
226
247
227
-
* We assume that the prevalence of attending both first trimester and later pregnancy visits is the minimum of ANCfirst (as processed by the HS team) and ANC4
228
-
(GBD covariate also processed by HS team). There is non-zero prevalence of first trimester visits only when ANC4 > ANC1 (such as in Pakistan). We are likely
229
-
overestimating the correlation between first trimester ANC and later pregnancy ANC (i.e., the prevalence of a first trimester ANC visit ONLY is likely non-zero
230
-
despite this assertion in our model.) We assume that the DHS data used to produce the ANCfirst, ANC1, and ANC4 covariates applies to abortion/miscarriage/ectopic pregnancies
248
+
* We use ANC4 as an upper bound on attending ANC throughout pregnancy in Pakistan, though strictly speaking this isn't logically necessary,
249
+
but represents our assumption that this proxy measure is an underestimate.
250
+
This assumption could be wrong if many people attend 4+ visits all during one phase of pregnancy.
251
+
* We assume that the DHS data used to produce the ANCfirst, ANC1, and ANC4 covariates applies to abortion/miscarriage/ectopic pregnancies
231
252
as well as pregnancies resulting in live birth or stillbirth.
253
+
* We assume that abortion/miscarriage/ectopic pregnancies can only attend ANC in the first trimester (though in fact abortions and miscarriages in particular can happen beyond this point).
0 commit comments