Skip to content

ebal

Entropy Reweighting to Create Balanced Samples

v0.1-8 · Jun 9, 2022 · GPL (>= 2)

Description

Package implements entropy balancing, a data preprocessing procedure described in Hainmueller (2008, <doi:10.1093/pan/mpr025>) that allows users to reweight a dataset such that the covariate distributions in the reweighted data satisfy a set of user specified moment conditions. This can be useful to create balanced samples in observational studies with a binary treatment where the control group data can be reweighted to match the covariate moments in the treatment group. Entropy balancing can also be used to reweight a survey sample to known characteristics from a target population.

Downloads

3.2K

Last 30 days

2307th

10.1K

Last 90 days

40.1K

Last year

Trend: +0.4% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Jens Hainmueller <jhain@stanford.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Jens",
                    family = "Hainmueller",
                    role = c("aut", "cre"),
                    email = "jhain@stanford.edu")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Jens Hainmueller <jhain@stanford.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Jens",
                    family = "Hainmueller",
                    role = c("aut", "cre"),
                    email = "jhain@stanford.edu")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Jens Hainmueller <jhain@stanford.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Jens",
                    family = "Hainmueller",
                    role = c("aut", "cre"),
                    email = "jhain@stanford.edu")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Jens Hainmueller <jhain@stanford.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Jens",
                    family = "Hainmueller",
                    role = c("aut", "cre"),
                    email = "jhain@stanford.edu")
as necessary.

Reverse Dependencies (6)

imports

suggests

Dependency Network

Dependencies Reverse dependencies fdid jointCalib cobalt hbal missDiag rbw ebal

Version History

new 0.1-8 Mar 10, 2026
updated 0.1-8 ← 0.1-6 diff Jun 8, 2022
updated 0.1-6 ← 0.1-5 diff Jan 26, 2014
updated 0.1-5 ← 0.1-4 diff Oct 15, 2013
updated 0.1-4 ← 0.1-3 diff Aug 11, 2013
updated 0.1-3 ← 0.1-2 diff Feb 8, 2013
updated 0.1-2 ← 0.1-1 diff Dec 26, 2011
new 0.1-1 Jul 26, 2011