This page explains the details of estimating weights using entropy balancing by setting method = "ebal"
in the call to weightit
or weightitMSM
. This method can be used with binary and multinomial treatments.
In general, this method relies on estimating weights by minimizing the entropy of the weights subject to exact moment balancing constraints. This method relies on ebalance
from the ebal package.
Binary Treatments
For binary treatments, this method estimates the weights using ebalance
. The following estimands are allowed: ATE, ATT, and ATC. The weights are taken from the output of the ebalance
fit object. When the ATE is requested, ebalance
is run twice, once for each treatment group. When include.obj = TRUE
, the returned object is the ebal
fit (or a list of the two fits when the estimand is the ATE).
Multinomial Treatments
For multinomial treatments, this method estimates the weights using ebalance
. The following estimands are allowed: ATE and ATT. The weights are taken from the output of the ebalance
fit objects. When the ATE is requested, ebalance
is run once for each treatment group. When the ATT is requested, ebalance
is run once for each non-focal (i.e., control) group. When include.obj = TRUE
, the returned object is the list of ebalance
fits.
Continuous Treatments
Continuous treatments are not supported.
Longitudinal Treatments
For longitudinal treatments, the weights are the product of the weights estimated at each time point. This method is not guaranteed to yield exact balance at each time point.
Sampling Weights
Sampling weights are supported through s.weights
in all scenarios.