Package: balancing 0.0.0.9000

balancing: Optimization-Based Balancing Weights for Causal Inference
Calculates optimization-based balancing weights for causal inference, including entropy balancing, inverse probability tilting, the covariate balancing propensity score, energy balancing, characteristic function distance balancing, and stable balancing weights. Weights target covariate balance directly by solving a convex optimization problem, with support for binary, categorical, and continuous exposures across a range of causal estimands. A Rust core provides the numerical solvers.
Authors:
balancing_0.0.0.9000.tar.gz
balancing_0.0.0.9000.zip(r-4.7-x86_64)balancing_0.0.0.9000.zip(r-4.7-arm64)balancing_0.0.0.9000.zip(r-4.6-x86_64)balancing_0.0.0.9000.zip(r-4.6-arm64)balancing_0.0.0.9000.zip(r-4.5-x86_64)
balancing_0.0.0.9000.tgz(r-4.6-x86_64)balancing_0.0.0.9000.tgz(r-4.6-arm64)balancing_0.0.0.9000.tgz(r-4.5-x86_64)balancing_0.0.0.9000.tgz(r-4.5-arm64)
balancing_0.0.0.9000.tar.gz(r-4.7-arm64)balancing_0.0.0.9000.tar.gz(r-4.7-x86_64)balancing_0.0.0.9000.tar.gz(r-4.6-arm64)balancing_0.0.0.9000.tar.gz(r-4.6-x86_64)
balancing_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
balancing/json (API)
| # Install 'balancing' in R: |
| install.packages('balancing', repos = c('https://r-causal.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-causal/balancing/issues
Pkgdown/docs site:https://r-causal.github.io
Last updated from:1b40fcb277. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 344 | ||
| linux-devel-x86_64 | OK | 377 | ||
| source / vignettes | OK | 376 | ||
| linux-release-arm64 | OK | 301 | ||
| linux-release-x86_64 | OK | 256 | ||
| macos-release-arm64 | OK | 438 | ||
| macos-release-x86_64 | OK | 782 | ||
| macos-oldrel-arm64 | OK | 436 | ||
| macos-oldrel-x86_64 | OK | 722 | ||
| windows-devel-arm64 | OK | 916 | ||
| windows-devel-x86_64 | OK | 398 | ||
| windows-release-arm64 | OK | 718 | ||
| windows-release-x86_64 | OK | 453 | ||
| windows-oldrel-x86_64 | OK | 437 | ||
| wasm-release | OK | 264 |
Exports:as_bwas_conditionalas_marginalbalancebalance_methodbalance_termsbalancingbalancing_estimating_equationsbuild_constraint_matrixbwbw_cbpsbw_cfdbw_energybw_entropybw_iptbw_sbwestimandestimating_equation_methodestimating_equationsfit_methodipwis_bwis_causal_wtmethod_labelnew_bwpool_ipwquadratic_program_methodrebuild_constraint_matrixsupported_estimandssupported_exposure_typessupports_estimating_equations
Dependencies:causalgenericsclideligenericsgluelifecyclerlangrootSolveS7tidyselectvctrswithr
Last update: 2026-08-31
Started: 2026-07-14
Last update: 2026-08-31
Started: 2026-07-14
Last update: 2026-08-02
Started: 2026-07-14
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Estimate balancing weights | balance |
| The balancing method specification classes | balance_method estimating_equation_method quadratic_program_method |
| Balance constraints | balance_terms |
| A fitted balancing result | balancing |
| Package options | balancing_options |
| Balancing weight vectors | as_bw bw is_bw new_bw |
| Covariate balancing propensity score | bw_cbps |
| Characteristic function distance balancing | bw_cfd |
| Energy balancing | bw_energy |
| Entropy balancing | bw_entropy |
| Inverse probability tilting | bw_ipt |
| Stable balancing weights | bw_sbw |
| Extract the estimating-equations container | estimating_equations |
| Inverse probability weighting for a balancing fit | ipw.balancing |
| Extract balancing weights | weights,balancing::balancing-method |
