Package: geocausal 0.4.2

geocausal: Causal Inference with Spatio-Temporal Data

Methods for causal inference with spatio-temporal data. Point process tools estimate causal effects over specified spatial and temporal windows from treatment and outcome events. Unit-level longitudinal tools estimate propensity scores and evaluate or learn stochastic treatment policies for discrete spatial or administrative units. 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-any)geocausal_0.4.2.zip(r-4.6-any)geocausal_0.4.2.zip(r-4.5-any)
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.85 score 71 stars 1 scripts 533 downloads 33 exports 163 dependencies

Last updated from:a240e9cd64. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK223
source / vignettesOK252
linux-releaseOK211
macos-releaseOK233
macos-oldrelOK274
windows-develOK159
windows-releaseOK141
windows-oldrelOK107
wasm-releaseOK164

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_policyget_policy_valueget_power_densget_sensget_unit_psget_var_boundget_weighted_surfget_windowimls_to_arrpixel_count_pppsim_cf_denssim_power_denssmooth_ppp

Dependencies:abindbackportsbase64encbootbrewbroombslibcachemcarcarDataclassclassIntclicodetoolscolorspacecorrplotcowplotcpp11crosstalkcrsuggestdata.tableDBIdeldirDerivdigestdoBydplyre1071evaluatefarverfastmapfontawesomeforecastFormulafracdifffsfurrrfuturegenericsgeojsonsfgeometriesggplot2ggpubrggrepelggsciggsignifggthemesglobalsgluegoftestgridExtragtablehighrhtmltoolshtmlwidgetshttpuvisobandjquerylibjsonifyjsonliteKernSmoothknitrlabelinglaterlatticelazyevalleafemleafletleaflet.providersleafpoplifecyclelistenvlme4lmtestmagrittrmapviewMASSMatrixMatrixModelsmclustmemoisemgcvmimeminqamodelrnlmenloptrnnetnumDerivotelparallellypbkrtestpillarpkgconfigplyrpngpolyclippolynomprogressrpromisesproxypurrrquantregR6rapidjsonrrappdirsrasterrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasRglpkrlangrmarkdownrpartrstatixs2S7sasssatellitescalesservrsfsfheadersslamspSparseMspatstat.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
Learn a stochastic policy for unit-level dataget_policy
Evaluate a stochastic policy for unit-level dataget_policy_value
Get power densitiesget_power_dens
Sensitivity analysis for counterfactual contrastsget_sens
Estimate unit-level propensity scoresget_unit_ps
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 unit-level propensity scores and balanceplot.unit_ps
Plot weightsplot.weights
Print resultsprint.cate
Print resultsprint.est
Print a learned unit-level policyprint.policy_fit
Print a unit-level policy valueprint.policy_value
Print a unit-level propensity-score modelprint.unit_ps
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
Summarize a learned unit-level policysummary.policy_fit
Summarize a unit-level policy valuesummary.policy_value
Summarize a unit-level propensity-score modelsummary.unit_ps