The figure shows external aid projects in Somalia as registered in the Development Assistance Database, spanning from January 4, 2006, to February 28, 2017. This visualization excludes projects from the first and second administrations and those in regions, plains, and plateaus. All depicted locations are of precision 1, indicating exact geographical positions.
Leveraging Machine Learning and Satellite Imagery in Poverty Reduction
– A Quantitative Study on Measuring and Understanding Differences Between Anti-Poverty Programs in Africa
Spatial Distribution of Treatments in Somalia
Predicted Wealth in Somalia (2017-2019)
Predicted Wealth And Treatment Locations in Somalia (2017-2019)
Showing Wealth Map Cells Containing Treatment
Data Set With Coordinates and Wealth Values for Treated Cells
| longitude | latitude | id | predicted_wealth |
|---|---|---|---|
| 45.34375 | 2.03711 | 1 | 0.3183594 |
| 49.18158 | 11.28421 | 2 | 0.0000000 |
| 45.34375 | 2.03711 | 3 | 0.3183594 |
| 45.34375 | 2.03711 | 4 | 0.3183594 |
| 44.06500 | 9.56000 | 5 | 0.3942871 |
| 47.43083 | 6.76972 | 6 | 0.0000000 |
| 49.18158 | 11.28421 | 7 | 0.0000000 |
| 46.38666 | 5.53598 | 8 | 0.2287598 |
| 45.01432 | 10.43959 | 9 | 0.0000000 |
| 45.34375 | 2.03711 | 10 | 0.3183594 |
Visualize Wealth Map Predictions only in Somalia
Treated vs. Control areas in Somalia
Treatment Point with 3360 m Buffer Radius
| Group | Mean | Std_Deviation |
|---|---|---|
| Treated | 0.12 | 0.15 |
| Control | 0.03 | 0.09 |
Calculating Naive ATE (Differences in Means)
| Metric | Value |
|---|---|
| Mean Treated | 0.1216 |
| Mean Control | 0.0346 |
| ATE (Mean Difference) | 0.0870 |
| P-Value | 0.0000 |
IPW
I performed inverse propensity score weighting (IPW) by including geographic coordinates (longitude and latitude) as covariates. Moreover, the IPW was done using the ps function, which models the probability of receiving the intervention based on geographic location. The derived propensity scores were then used to compute weights to correct for any imbalances between groups. After calculating these weights, I fitted a weighted linear regression model to quantitatively estimate the effect of treatment on wealth levels, adjusting for potential confounders indicated by geographic coordinates.
| Characteristic | Beta | 95% CI1 | p-value |
|---|---|---|---|
| treatment | 0.08 | 0.08, 0.08 | <0.001 |
| 1 CI = Confidence Interval | |||
The model suggests that, after adjusting for geographical variation through IPW, being in a treated area is associated with a statistically significant increase in wealth level compared to being in a control area, with all else being equal. The magnitude of this effect is an increase of 0.080017 in the wealth level due to treatment. This finding supports the hypothesis that the treatment (e.g., aid projects) has a positive impact on wealth levels in the treated areas.
DoubleML Partially Linear Regression
================= DoubleMLPLR Object ==================
------------------ Data summary ------------------
Outcome variable: wealth_level
Treatment variable(s): treatment
Covariates: longitude, latitude
Instrument(s):
No. Observations: 14766
------------------ Score & algorithm ------------------
Score function: partialling out
DML algorithm: dml2
------------------ Machine learner ------------------
ml_l: regr.ranger
ml_m: regr.ranger
------------------ Resampling ------------------
No. folds: 5
No. repeated sample splits: 1
Apply cross-fitting: TRUE
------------------ Fit summary ------------------
Estimates and significance testing of the effect of target variables
Estimate. Std. Error t value Pr(>|t|)
treatment 0.04705 0.01145 4.108 3.99e-05 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1