View source: R/staggered_ife_setup_data.R
staggered_ife_setup_pte | R Documentation |
Estimate treatment effects in an interactive fixed effects model for untreated potential outcomes by exploiting staggered treatment adoption.
staggered_ife_setup_pte(
yname,
gname,
tname,
idname,
data,
required_pre_periods = 1,
nife = 1,
anticipation = 0,
cband = TRUE,
alp = 0.05,
boot_type = boot_type,
biters = 100,
cl = 1,
...
)
yname |
Name of outcome in |
gname |
Name of group in |
tname |
Name of time period in |
idname |
Name of id in |
data |
balanced panel data |
required_pre_periods |
the number of pre-treatment time periods that are needed |
nife |
the number of interactive fixed effects to include in the model |
anticipation |
how many periods before the treatment actually takes place that it can have an effect on outcomes |
cband |
whether to compute a uniform (instead of pointwise) confidence band |
alp |
significance level; default is 0.05 |
boot_type |
type of bootstrap |
biters |
number of bootstrap iterations; default is 100 |
cl |
number of clusters to be used when bootstrapping; default is 1 |
... |
extra arguments |
pte_params
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.