Description Usage Arguments Value
Estimate p-value with non-uniform probabilities of treatment with SCM weights
1 2 | valid_test(metadata, fitfunc, units, probs, trt_unit, pretimes, posttimes,
statfuncs)
|
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 |
att estimates, test statistics, p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.