Learn R Programming

ebal (version 0.1-8)

Entropy Reweighting to Create Balanced Samples

Description

Package implements entropy balancing, a data preprocessing procedure described in Hainmueller (2008, ) 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.

Copy Link

Version

Install

install.packages('ebal')

Monthly Downloads

1,482

Version

0.1-8

License

GPL (>= 2)

Last Published

June 9th, 2022

Functions in ebal (0.1-8)

eb

Function for Entropy Balancing
baltest.collect

Collect Covariate Balance Statistics
matrixmaker

Generate Matrix of One-way Interactions and Squared Terms
line.searcher

Optimal step length search for entropy balancing algorithm
getsquares

Generate Matrix of Squared Terms
ebalance

Entropy balancing
ebalance.trim

Trimming of Weights for Entropy Balancing