bin_search_balancer: Find the minimal amount of regularization possible

Description Usage Arguments Value

Description

Find the minimal amount of regularization possible

Usage

1
2
3
4
5
bin_search_balancer(outcomes, metadata, trt_unit = 1, start, end, by,
  link = c("logit", "linear", "pos-linear"), regularizer = c("l1", "l2",
  "linf"), normalized = TRUE, outcome_col = NULL, cols = list(unit =
  "unit", time = "time", outcome = "outcome", treated = "treated"),
  opts = list())

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

trt_unit

Unit that is treated (target for regression), default: 0

start

Starting value of tolerances

end

Ending value of tolerances

by

Step size of tolerances

link

Link function for weights

regularizer

Dual of balance criterion

normalized

Whether to normalize the weights

outcome_col

Column name which identifies outcomes, if NULL then assume only one outcome

cols

Column names corresponding to the units, time variable, outcome, and treated indicator

opts

Optimization options

  • MAX_ITERS Maximum number of iterations to run

  • EPS Error tolerance

Value

outcomes with additional synthetic control added and weights


ebenmichael/ents documentation built on May 31, 2019, 8:45 p.m.