Causalwiz
App
Tools for Causal Inference Analysis and Visualization
causalwiz
is an R package for causal inference analysis. It provides tools for estimating treatment effects using various methods including Inverse Probability Weighting (IPW) and Augmented Inverse Probability Weighting (AIPW).
The package is accompanied by a series of articles, written in Italian, covering theoretical foundations of causal inference and practical implementations of the methods implemented in causalwiz
.
Installation
You can install the package via Github repository:
# install.packages("pak")
::pak("carminemnc/causalwiz") pak
Usage
library(causalwiz)
# Load example data
data("welfare_small")
# Perform causal analysis
<- ipw_estimators(
results data = welfare_small,
estimation_method = "IPW",
outcome = "y",
treatment = "w",
covariates = c("age", "polviews", "income", "educ", "marital", "sex")
)