get_dr: Fit a regularized outcome model and synthetic controls

Description Usage Arguments Value

Description

Fit a regularized outcome model and synthetic controls

Usage

1
get_dr(outcomes, metadata, alpha_w = NULL, alpha_o = NULL, net_param = 1)

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

alpha_w

regularization parameter for p score, if NULL use CV

alpha_o

regularization parameter for outcome model, if NULL use CV

net_param

elastic net parameter, 1: lasso, 0: ridge, default: 1

trt_unit

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

Value

synthetic control weights, outcome regression parameters control outcomes boolean for treated


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