standard_error_: Internal function to estimate the variance of the SC estimate

Description Usage Arguments Value

Description

Internal function to estimate the variance of the SC estimate

Usage

1
standard_error_(metadata, fitfunc, units, trt_unit, posttimes, weights = NULL)

Arguments

metadata

with treatment time

fitfunc

Partially applied fitting function which takes in the number of the treated unit

units

Numbers of the control units to include when estimating the se

trt_unit

Treated unit

posttimes

Vector of times in post-period

weights

Weights to use in SC estimate, default: NULL (Doudchenko-Imbens 2017)

Value

att estimates, test statistics, p-values


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