fit_entropy: Fit l2 entropy regularized synthetic controls on outcomes...

Description Usage Arguments Value

Description

Fit l2 entropy regularized synthetic controls on outcomes Wrapper around fit_l2_entropy_formatted

Usage

1
2
fit_entropy(outcomes, metadata, trt_unit = 1, eps = NULL,
  outcome_col = NULL, lasso = FALSE)

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

eps

Bound on synthetic control differences

outcome_col

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

lasso

Whether to do lasso (every covariate is separate)

Value

Weights for synthetic controls, control outcomes as matrix, and whether the unit is actually treated


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