Package: optweight 2.0.1.9000

optweight: Optimization-Based Stable Balancing Weights

Use optimization to estimate weights that balance covariates for binary, multi-category, continuous, and multivariate treatments in the spirit of Zubizarreta (2015) <doi:10.1080/01621459.2015.1023805>. The degree of balance can be specified for each covariate. In addition, sampling weights can be estimated that allow a sample to generalize to a population specified with given target moments of covariates, as in matching-adjusted indirect comparison (MAIC).

Authors:Noah Greifer [aut, cre]

optweight_2.0.1.9000.tar.gz
optweight_2.0.1.9000.zip(r-4.7-any)optweight_2.0.1.9000.zip(r-4.6-any)optweight_2.0.1.9000.zip(r-4.5-any)
optweight_2.0.1.9000.tgz(r-4.6-any)optweight_2.0.1.9000.tgz(r-4.5-any)
optweight_2.0.1.9000.tar.gz(r-4.7-any)optweight_2.0.1.9000.tar.gz(r-4.6-any)
optweight_2.0.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
optweight/json (API)

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

Bug tracker:https://github.com/ngreifer/optweight/issues

Pkgdown/docs site:https://ngreifer.github.io

On CRAN:

Conda:

causal-inferenceinverse-probability-weightsobservational-studyoptimizationpropensity-scores

5.37 score 10 stars 36 scripts 2.2k downloads 10 exports 23 dependencies

Last updated from:4272a40b9d. Checks:8 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR158
source / vignettesERROR224
linux-releaseERROR151
macos-releaseERROR125
macos-oldrelERROR153
windows-develERROR97
windows-releaseERROR90
windows-oldrelERROR85
wasm-releaseOK126

Exports:check.targetscheck.tolsoptweightoptweight.fitoptweight.svyoptweight.svy.fitoptweightMVoptweightMV.fitprocess_targetsprocess_tols

Dependencies:argclicollapsecpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixosqpR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Stable Balancing Weightsoptweight optweight.fit
Stable Balancing Weights for Generalizationoptweight.svy optweight.svy.fit
Stable Balancing Weights for Multivariate TreatmentsoptweightMV optweightMV.fit
Plot Dual Variables for Covariate Constraintsplot.optweight plot.optweight.svy plot.optweightMV
Construct and Check Targets Inputcheck.targets print.optweight.targets process_targets
Construct and Check Tolerance Inputcheck.tols print.optweight.tols process_tols
Summarize, Print, and Plot Information about Estimated Weightsplot.summary.optweight summary.optweight summary.optweight.svy summary.optweightMV