get_ridgeaug_cov: Fit synthetic controls on outcomes

Description Usage Arguments Value

Description

Fit synthetic controls on outcomes

Usage

1
2
3
get_ridgeaug_cov(outcomes, metadata, covs, trt_unit = 1, lambda = NULL,
  scm = T, cols = list(unit = "unit", time = "time", outcome = "outcome",
  treated = "treated"))

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

covs

Dataframe of covariates

trt_unit

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

lambda

Ridge hyper-parameter, if NULL use CV

scm

Include SCM or not

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.