Characteristic | N = 1,0001 |
---|---|
owner_vacancy_rate | 4.3 (1.9, 8.3) |
renter_vacancy_rate | 3.9 (1.8, 9.0) |
poverty_line_prop | 16 (9, 24) |
unemployed_prop | 12 (8, 20) |
no_car_prop | 14 (9, 24) |
never_married_prop | 38 (29, 57) |
separated_prop | 3.23 (2.07, 4.62) |
maternal_age | 28 (22, 37) |
edu_level | |
1 | 292 (29%) |
2 | 452 (45%) |
3 | 256 (26%) |
insurance_status | |
1 | 489 (49%) |
2 | 493 (49%) |
3 | 18 (1.8%) |
race_ethnicity | |
1 | 216 (22%) |
2 | 53 (5.3%) |
3 | 3 (0.3%) |
4 | 139 (14%) |
5 | 4 (0.4%) |
6 | 19 (1.9%) |
7 | 525 (53%) |
8 | 41 (4.1%) |
parity | |
1 | 406 (41%) |
2 | 300 (30%) |
3 | 294 (29%) |
neighborhood_violence | 47 (34, 69) |
preterm_birth | 79 (7.9%) |
1 Median (IQR); n (%) |
Modified treatment policies
\[ \renewcommand{\P}{\mathsf{P}} \newcommand{\m}{\mathsf{m}} \newcommand{\p}{\mathsf{p}} \newcommand{\q}{\mathsf{q}} \newcommand{\bb}{\mathsf{b}} \newcommand{\g}{\mathsf{g}} \newcommand{\rr}{\mathsf{r}} \newcommand{\IF}{\mathbb{IF}} \newcommand{\dd}{\mathsf{d}} \newcommand{\Pn}{$\mathsf{P}_n$} \newcommand{\E}{\mathsf{E}} \]
As we already discussed, a modified treatment policy is an intervention characterized by a dependence on the natural, or observed, value of treatment. Examples include:
Decreasing surgeries that last more than 4 hours by 1 hour (additive MTP)
Decreasing BMI by 2 units for individuals with BMI > 30 (additive MTP)
Decreasing AQI by 20% (multiplicative MTP).
Synthetic Neighborhood Community Violence Data
In some current work, we are interested in estimating the effect of decreasing the level of community violence (violent crime rate) on risk of preterm birth. Research suggests community violence may impact infant health through physiological responses to stress, worsening maternal mental health, and unhealthy coping behaviors. Community violence is a highly endogenous exposure, which, motivates the use of such a shift intervention.1
Problem 1
Write a shift function (named d_mtp
) for a modified treatment policy where the natural value of neighborhood violence is decreased by 50%. Using the lmtp
package, estimate the population mean effect of this intervention on preterm birth. Make sure to use the id
argument to account for community level clustering in the estimation of standard errors. To save computation time, don’t use cross-fitting.
Did you get this error?
: Detected decimalish `trt` values and `mtp = FALSE`. Consider setting `mtp =
WarningTRUE` if getting errors.
: nnls
Loading required package: object 'fit' not found Error
Make sure to set mtp = TRUE
if you’re intervention is a modified treatment policy!
Problem 2
Let’s compare the effect of the intervention on reducing neighborhood violence on preterm birth to the observed preterm birth rate. Use the lmtp_contrast()
function.
With lmtp
we found that under a hypothetical intervention that reduces neighborhood violence by 50%, preterm birth would decrease by approximately 4.4 percentange points.
References
Footnotes
Thank you to Chris Dharma, who simulated this data!↩︎