get_screensyn: Fit synthetic controls on estimated outcomes under control

Description Usage Arguments Value

Description

Fit synthetic controls on estimated outcomes under control

Usage

1
2
3
4
get_screensyn(outcomes, metadata, trt_unit = 1, screenfunc = c("LAS", "2"),
  weightfunc = c("SC", "ENT"), opts.screen = NULL, opts.weights = NULL,
  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

screenfunc

What function to use to impute control outcomes LAS=LASSO on outcome model, 2=LASSO on outcome and L infinity dual on selection

weightfunc

What function to use to fit weights SC=Vanilla Synthetic Controls, ENT=Maximum Entropy

opts.screen

Optional options for fitting prognostic score

opts.weights

Optional options for fitting synth 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

Value

outcomes with additional synthetic control added and weights


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