firpo_inf_synth: Get the permutation distribution of SC estimate test...

Description Usage Arguments Value

Description

Get the permutation distribution of SC estimate test statistics assuming equal probability of treatment

Usage

1
2
3
4
firpo_inf_synth(outcomes, metadata, trt_unit, pos = FALSE,
  statfuncs = c(rmse_ratio, mean_abs, abs_tstat), include_treat = 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

Unit that is treated (target for regression), default: 0

pos

Whether to only consider units with positive weights, default False

statfuncs

Function to compute test stats

include_treat

Whether to include the treated unit in randomization distribution

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.