Hierarchically Regularized Entropy Balancing
Overview
Implements hierarchically regularized entropy balancing proposed by Xu and Yang (2022) doi:10.1017/pan.2022.12. The method adjusts the covariate distributions of the control group to match those of the treatment group. 'hbal' automatically expands the covariate space to include higher order terms and uses cross-validation to select variable penalties for the balancing conditions.
Install
Health
- OK13 OK2026-09-24
- WARNING11 OK, 2 WARNING2026-09-17
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 14includes a package overview page
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 36%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Forks over time
Releases over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/xuyiqing/hbal on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen on or before 2026-09-15Pull request it wrote: opened by a project memberCommits: at least 24 crediting it in the message
- Claude Opus 515 commits · Sep 2026
- Claude Fable 5.17 commits · Sep 2026
- Claude Sonnet 52 commits · Sep 2026
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2023-01-24
- Total releases
- 4 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 139 KB / 1 file
- Download size
- 179 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("hbal")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.