
ggdag - Analyze and Create Elegant Directed Acyclic Graphs
Tidy, analyze, and plot directed acyclic graphs (DAGs). 'ggdag' is built on top of 'dagitty', an R package that uses the 'DAGitty' web tool (<https://dagitty.net/>) for creating and analyzing DAGs. 'ggdag' makes it easy to tidy and plot 'dagitty' objects using 'ggplot2' and 'ggraph', as well as common analytic and graphical functions, such as determining adjustment sets and node relationships.
Last updated
causal-inferencedagggplot-extension
13.08 score 466 stars 10 dependents 3.5k scripts 8.1k downloadsmarginaleffects - Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests
Compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds, etc.) for over 100 classes of statistical and machine learning models in R. Conduct linear and non-linear hypothesis tests, or equivalence tests. Calculate uncertainty estimates using the delta method, bootstrapping, or simulation-based inference. Details can be found in Arel-Bundock, Greifer, and Heiss (2024) <doi:10.18637/jss.v111.i09>.
Last updated
12.27 score 57 dependents 4.9k scripts 38k downloads
ggarrow - Arrows for 'ggplot2'
A 'ggplot2' extension that adds specialised arrow geometry layers. It offers more arrow options than the standard 'grid' arrows that are built-in many line-based geom layers.
Last updated
ggplot-extensionggplot2ggplot2-geom
9.17 score 59 stars 5 dependents 139 scripts 4.0k downloads
propensity - A Toolkit for Calculating and Working with Propensity Scores
Calculates propensity score weights for multiple causal 'estimands' across binary, continuous, and categorical exposures. Provides methods for handling extreme propensity scores through trimming, truncation, and calibration. Includes inverse probability weighted estimators that correctly account for propensity score estimation uncertainty.
Last updated
8.33 score 26 stars 2 dependents 126 scripts 355 downloads
halfmoon - Techniques to Build Better Balance
Build better balance in causal inference models. 'halfmoon' helps you assess propensity score models for balance between groups using metrics like standardized mean differences and visualization techniques like mirrored histograms. 'halfmoon' supports both weighting and matching techniques.
Last updated
6.80 score 24 stars 1 dependents 124 scripts 548 downloads
deli - M-Estimation and Empirical Sandwich Variance Estimation
Solves estimating equations to obtain M-estimators together with empirical sandwich variance estimates, providing a general interface for both custom and built-in estimating equations. Built-in equations cover basic statistics, regression, causal inference, survival analysis, measurement error, and more. An 'R' port of the 'Python' library 'delicatessen' described in 'Zivich et al. (2022)' <doi:10.48550/arXiv.2203.11300>.
Last updated
6.77 score 2 stars 4 dependents 31 scripts 367 downloadscausalworkshop - Install Workshop Materials for Causal Inference in R
Install workshop materials for the Causal Inference in R.
Last updated
4.26 score 24 stars 50 scriptstouringplans - Walt Disney World Park Data
The touringplans data team has collected Walt Disney World Park data from 2015-2021, include wait time data for specific attractions as well as park-specific metadata. This package provides access to these datasets.
Last updated
3.80 score 4 stars 1 dependents 105 scripts


