di_standard_error: Estimate the variance of the SC estimate

Description Usage Arguments Value

Description

Estimate the variance of the SC estimate

Usage

1
2
3
di_standard_error(outcomes, metadata, trt_unit = 1, use_weights = FALSE,
  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

use_weights

Whether to use weights in se estimate, default: FALSE

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.