fit_dr: Fit a regularized outcome model and synthetic controls

Description Usage Arguments Value

Description

Fit a regularized outcome model and synthetic controls

Usage

1
fit_dr(outcomes, metadata, trt_unit = 1, alpha_w = NULL, alpha_o = NULL)

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

alpha_w

regularization parameter for p score, if NULL use CV

alpha_o

regularization parameter for outcome model, if NULL use CV

Value

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


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