Package: optweight 0.2.5.9001

optweight: Targeted Stable Balancing Weights Using Optimization

Use optimization to estimate weights that balance covariates for binary, multinomial, and continuous 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.

Authors:Noah Greifer [aut, cre]

optweight_0.2.5.9001.tar.gz
optweight_0.2.5.9001.zip(r-4.5)optweight_0.2.5.9001.zip(r-4.4)optweight_0.2.5.9001.zip(r-4.3)
optweight_0.2.5.9001.tgz(r-4.4-any)optweight_0.2.5.9001.tgz(r-4.3-any)
optweight_0.2.5.9001.tar.gz(r-4.5-noble)optweight_0.2.5.9001.tar.gz(r-4.4-noble)
optweight_0.2.5.9001.tgz(r-4.4-emscripten)optweight_0.2.5.9001.tgz(r-4.3-emscripten)
optweight.pdf |optweight.html
optweight/json (API)
NEWS

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

Peer review:

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

On CRAN:

causal-inferenceinverse-probability-weightsobservational-studyoptimizationpropensity-scores

6 exports 8 stars 1.36 score 30 dependencies 15 scripts 725 downloads

Last updated 2 years agofrom:2c201beeb2. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 05 2024
R-4.5-winWARNINGSep 05 2024
R-4.5-linuxWARNINGSep 05 2024
R-4.4-winWARNINGSep 05 2024
R-4.4-macWARNINGSep 05 2024
R-4.3-winWARNINGSep 05 2024
R-4.3-macWARNINGSep 05 2024

Exports:check.targetscheck.tolsoptweightoptweight.fitoptweight.svyoptweight.svy.fit

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeosqppillarpkgconfigR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Construct and Check Targets Inputcheck.targets print.optweight.targets
Construct and Check Tolerance Inputcheck.tols print.optweight.tols
Estimate Balancing Weights Using Optimizationoptweight print.optweight print.optweightMSM
Fitting Function for Optweightoptweight.fit
Estimate Targeting Weights Using Optimizationoptweight.svy print.optweight.svy
Fitting Function for Optweight for Survey Weightsoptweight.svy.fit
Plot Dual Variables for Assessing Balance Constraintsplot.optweight plot.optweight.svy
Summarize, print, and plot information about estimated weightsplot.summary.optweight print.summary.optweight print.summary.optweight.svy print.summary.optweightMSM summary.optweight summary.optweight.svy summary.optweightMSM