weighted_test: Estimate p-value with non-uniform probabilities of treatment...

Description Usage Arguments Value

Description

Estimate p-value with non-uniform probabilities of treatment with SCM weights

Usage

1
2
weighted_test(metadata, fitfunc, units, probs, trt_unit, pretimes, posttimes,
  statfuncs)

Arguments

metadata

with treatment time

fitfunc

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

units

Numbers of the units to permute treatment around

probs

Propensity scores

trt_unit

Treated unit

pretimes

Vector of times in pre-period

posttimes

Vector of times in post-period

statfuncs

Function to compute test stats

Value

att estimates, test statistics, p-values


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