Skip to contents

internal function to compute entropy balancing weights

Usage

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
)

Arguments

tr.total

treatment moments

co.x

covariate matrix

coefs

starting coefs

base.weight

base weight

max.iterations

max number of iterations

constraint.tolerance

tolerance for constraint

print.level

print level for debugging

Value

list with results