get_index: Fit synthetic controls for multiple outcomes together with an...

Description Usage Arguments Value

Description

Fit synthetic controls for multiple outcomes together with an index

Usage

1
get_index(outcomes, metadata, syn_func, name, trt_unit = 1, alpha = NULL)

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

syn_func

Function to get synthetic controls

name

Name of the synthetic control method

trt_unit

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

alpha

Vector of size (n_outcomes - 1) or n_outcomes which specifies the weights, if no input then alpha = 1/n_units

Value

both outcomes with additional synthetic controls added weights for synthetic controls


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