wls_se_ridgeaug: Weighted Least Squares Standard Errors

Description Usage Arguments Value

Description

Weighted Least Squares Standard Errors

Usage

1
2
3
wls_se_ridgeaug(outcomes, metadata, trt_unit = 1, pred_int = F, hc = 0,
  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

trt_unit

Treated unit

pred_int

Whether to add outcome control variance to make pred interval

hc

Type of HC variance estimate (-1 for homoskedastic)

lambda

Ridge hyperparemter, default NULL

scm

Include SCM or not

ridge

Include ridge 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.