The goal of the package geocausal is to implement causal inference analytic methods based on spatio-temporal data. Users provide the raw data of locations and timings of treatment and outcome events, specify counterfactual scenarios, and the package estimates causal effects over specified spatial and temporal windows.

For methodological details, please refer to the following article.

Papadogeorgou G, Imai K, Lyall J, and Li F (2022). Causal inference with spatio-temporal data: Estimating the effects of airstrikes on insurgent violence in Iraq. J R Stat Soc Series B.


Please cite this package as follows:

Mukaigawara M, Papadogeorgou G, Lyall J, Imai K (2023). geocausal: Causal Inference with Spatio-Temporal Data. R package version 0.1.0,


You can install the package geocausal from GitHub with:

# install.packages("devtools")

and CRAN with: