Function for Entropy Balancing
This function is called internally by ebalance and ebalance.trim to implement entropy balancing. This function would normally not be called manually by a user.
ebalance
ebalance.trim
eb(tr.total = tr.total, co.x = co.x, coefs = coefs, base.weight = base.weight, max.iterations = max.iterations, constraint.tolerance = constraint.tolerance, print.level = print.level)
tr.total
co.x
coefs
base.weight
max.iterations
constraint.tolerance
print.level
A list containing the results from the algorithm.
Jens Hainmueller
ebalance, ebalance.trim
##---- NA -----