Package: geocausal 0.4.2

geocausal: Causal Inference with Spatio-Temporal Data

Spatio-temporal causal inference based on point process data. You 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. See Papadogeorgou, et al. (2022) <doi:10.1111/rssb.12548> and Mukaigawara, et al. (2024) <doi:10.31219/osf.io/5kc6f>.

Authors:Mitsuru Mukaigawara [cre, aut], Lingxiao Zhou [aut], Georgia Papadogeorgou [aut], Jason Lyall [aut], Kosuke Imai [aut]

geocausal_0.4.2.tar.gz
geocausal_0.4.2.zip(r-4.7)geocausal_0.4.2.zip(r-4.6)geocausal_0.4.2.zip(r-4.5)
geocausal_0.4.2.tgz(r-4.6-any)geocausal_0.4.2.tgz(r-4.5-any)
geocausal_0.4.2.tar.gz(r-4.7-any)geocausal_0.4.2.tar.gz(r-4.6-any)
geocausal_0.4.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
geocausal/json (API)

# Install 'geocausal' in R:
install.packages('geocausal', repos = c('https://mmukaigawara.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mmukaigawara/geocausal/issues

Datasets:

On CRAN:

Conda:

5.84 score 69 stars 520 downloads 30 exports 164 dependencies

Last updated from:32303fe38d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK230
source / vignettesOK315
linux-release-x86_64OK232
macos-release-arm64OK119
macos-oldrel-arm64OK132
windows-develOK133
windows-releaseOK130
windows-oldrelOK151
wasm-releaseOK203

Exports:conv_owin_into_sfdx_outpreddx_supthinget_adaptive_baseline_densget_base_densget_categet_cate_sensget_cf_densget_cf_dens_adaptiveget_cf_sum_log_intensget_dist_focusget_dist_lineget_distexpget_elevget_em_vecget_estget_estimatesget_hfrget_histget_obs_densget_power_densget_sensget_var_boundget_weighted_surfget_windowimls_to_arrpixel_count_pppsim_cf_denssim_power_denssmooth_ppp

Dependencies:abindbackportsbase64encbootbrewbroombslibcachemcarcarDataclassclassIntclicodetoolscolorspacecorrplotcowplotcpp11crosstalkcrsuggestdata.tableDBIdeldirDerivdigestdoBydplyre1071evaluatefarverfastmapfontawesomeforecastFormulafracdifffsfurrrfuturegenericsgeojsonsfgeometriesggplot2ggpubrggrepelggsciggsignifggthemesglobalsgluegoftestgridExtragtablehighrhtmltoolshtmlwidgetshttpuvisobandjquerylibjsonifyjsonliteKernSmoothknitrlabelinglaterlatticelazyevalleafemleafletleaflet.providersleafpoplifecyclelistenvlme4lmtestmagrittrmapviewMASSMatrixMatrixModelsmclustmemoisemgcvmicrobenchmarkmimeminqamodelrnlmenloptrnnetnumDerivotelparallellypbkrtestpillarpkgconfigplyrpngpolyclippolynomprogressrpromisesproxypurrrquantregR6rapidjsonrrappdirsrasterrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasRglpkrlangrmarkdownrpartrstatixs2S7sasssatellitescalesservrsfsfheadersslamspSparseMspatstat.dataspatstat.explorespatstat.geomspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstringistringrsurvivalsvglitesystemfontstensorterratextshapingtibbletidyrtidyselecttidyterratimeDatetinytexunitsurcautf8uuidvctrsviridisLitewithrwkxfunyamlzoo

Readme and manuals

Help Manual

Help pageTopics
airstrikesairstrikes
airstrikes_2006airstrikes_2006
Convert windows into sf objectsconv_owin_into_sf
Perform out-of-sample predictiondx_outpred
Perform superthinning testsdx_supthin
Generate adaptive intervention densities based on historical dataget_adaptive_baseline_dens
Get the baseline densityget_base_dens
Generate a Hajek estimator for heterogeneity analysisget_cate
Sensitivity analysis for conditional average treatment effectsget_cate_sens
Get counterfactual densitiesget_cf_dens
Get counterfactual densitiesget_cf_dens_adaptive
Calculate the log counterfactual densitiesget_cf_sum_log_intens
Get distance mapsget_dist_focus
Get distance maps from lines and polygonsget_dist_line
Get the expectation of treatment events with arbitrary distancesget_distexp
Get elevation dataget_elev
convert a list of im objects to a vectorget_em_vec
Get causal estimates comparing two scenariosget_est
Generate a Hajek estimatorget_estimates
Create a hyperframeget_hfr
Obtain histories of treatment or outcome eventsget_hist
Solve linear program for sensitivity bounds at a given gammaget_linear_prog
Generate observed densitiesget_obs_dens
Get power densitiesget_power_dens
Sensitivity analysis for counterfactual contrastsget_sens
Calculate variance upper boundsget_var_bound
Generate average weighted surfacesget_weighted_surf
Generate a windowget_window
convert a list of im objects to a three-dimensional arrayimls_to_arr
insurgenciesinsurgencies
insurgencies_2006insurgencies_2006
iraq_windowiraq_window
Get number of events in a pixelpixel_count_ppp
Plot estimated CATEplot.cate
Plot simulated counterfactual densitiesplot.cflist
Plot distance-based expectationsplot.distlist
Plot estimatesplot.est
Plot a hyperframeplot.hyperframe
Plot a pixel imageplot.im
Plot a list of pixel imagesplot.imlist
Plot a list of pixel images or point patternsplot.list
Plot observed densitiesplot.obs
Plot simulated power densitiesplot.powerlist
Plot a list of point patternsplot.ppplist
Plot the results of superthinning testsplot.supthin
Plot weightsplot.weights
Print resultsprint.cate
Print resultsprint.est
Generate weighted surfaces for sensitivity analysissens_weighted_surf
Simulate counterfactual densitiessim_cf_dens
Simulate power densitiessim_power_dens
Smooth outcome eventssmooth_ppp
Summarize resultssummary.cate
Summarize resultssummary.est
Summarize resultssummary.obs