CRAN/E | WeightIt

WeightIt

Weighting for Covariate Balance in Observational Studies

Installation

About

Generates balancing weights for causal effect estimation in observational studies with binary, multi-category, or continuous point or longitudinal treatments by easing and extending the functionality of several R packages and providing in-house estimation methods. Available methods include propensity score weighting using generalized linear models, gradient boosting machines, the covariate balancing propensity score algorithm, inverse probability tilting, Bayesian additive regression trees, and SuperLearner, and directly estimating balancing weights using entropy balancing, energy balancing, and optimization-based weights. Also allows for assessment of weights and checking of covariate balance by interfacing directly with the 'cobalt' package. See the vignette "Installing Supporting Packages" for instructions on how to install any package 'WeightIt' uses, including those that may not be on CRAN.

ngreifer.github.io/WeightIt/
github.com/ngreifer/WeightIt
Bug report File report

Key Metrics

Version 1.0.0
R ≥ 3.3.0
Published 2024-03-23 26 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks WeightIt results

Downloads

Yesterday 112 0%
Last 7 days 597 -43%
Last 30 days 3.627 +20%
Last 90 days 12.771 +31%
Last 365 days 39.423 +47%

Maintainer

Maintainer

Noah Greifer

noah.greifer@gmail.com

Authors

Noah Greifer

aut / cre

Material

README
NEWS
Reference manual
Package source

In Views

CausalInference

Vignettes

Using WeightIt to Estimate Balancing Weights
Estimating Effects After Weighting
Installing Supporting Packages

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

WeightIt archive

Depends

R ≥ 3.3.0

Imports

cobalt ≥ 4.5.1
ggplot2 ≥ 3.3.0
chk ≥ 0.8.1
rlang ≥ 1.1.0
crayon
backports ≥ 1.4.1
utils
stats

Suggests

rootSolve ≥ 1.8.2.4
CBPS ≥ 0.18
optweight ≥ 0.2.4
SuperLearner ≥ 2.0-25
mclogit
MNP ≥ 3.1-4
brglm2 ≥0.5.2
osqp ≥ 0.6.0.5
survival
fwb ≥ 0.2.0
splines
marginaleffects ≥ 0.11.1
sandwich
MASS
gbm ≥ 2.1.3
dbarts ≥ 0.9-20
misaem ≥ 1.0.1
knitr
rmarkdown

Reverse Imports

CIMTx
MatchThem
mvGPS

Reverse Suggests

adjustedCurves
cobalt
jointVIP
lmw