wpermtest: Get the permutation distribution of the test stat assuming...

Description Usage Arguments Value

Description

Get the permutation distribution of the test stat assuming equal probability of treatment

Usage

1
2
wpermtest(metadata, fitfunc, units, weights, 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

weights

Weights for the permutation distribution

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.