bootstrap_ridgeaug: Bootstrap standard errors for estimated counterfactual with...

Description Usage Arguments Value

Description

Bootstrap standard errors for estimated counterfactual with synth

Usage

1
2
3
bootstrap_ridgeaug(outcomes, metadata, n_boot, trt_unit = 1, pred_int = F,
  lambda = NULL, scm = T, ridge = 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

n_boot

Number of bootstrap samples

trt_unit

Treated unit

pred_int

Whether to add outcome control variance to make pred interval

lambda

Ridge hyper-parameter, if NULL then CV

scm

Whether to augment SCM with ridge

ridge

Include ridge or not

cols

Column names corresponding to the units, time variable, outcome, and treated indicator

Value

att estimates, test statistics, p-values


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