get_svd_syn: Find Balancing weights by solving the dual optimization...

Description Usage Arguments Value

Description

Find Balancing weights by solving the dual optimization problem

Usage

1
2
3
get_svd_syn(outcomes, metadata, trt_unit = 1, r, unit_mean = F,
  outcome_col = NULL, cols = list(unit = "unit", time = "time", outcome =
  "outcome", treated = "treated"))

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

r

Rank of matrix for SVD

unit_mean

Whether to take out the unit means

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

Value

outcomes with additional synthetic control added and weights


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