tidy() returns the period-by-period event-study table (one row per time
period, with the \(\hat\lambda\)-aligned point estimate, bootstrap
standard error, and both normal-approximation and percentile confidence
intervals). glance() returns a one-row summary for the overall ATT
alongside the valid and discarded bootstrap replication counts.
Arguments
- x
An
sdid_event_studyobject returned bysdid_event_study().- ci_type
Optional override (
"normal"or"percentile") selecting which confidence interval populatesconf.lowandconf.high. Defaults tox$ci_type. Bothci_norm_lower/ci_norm_upperandci_pct_lower/ci_pct_upperare always included as well.- conf.int
Logical; include
conf.low/conf.highcolumns (defaultTRUE).- ...
Unused.
Value
For tidy(), a data.frame with one row per period and columns
time, event_time, period, estimate, std.error, conf.low,
conf.high, ci_norm_lower, ci_norm_upper, ci_pct_lower,
ci_pct_upper. For glance(), a one-row data.frame with columns
estimate, std.error, p.value, conf.low, conf.high,
ci_norm_lower, ci_norm_upper, ci_pct_lower, ci_pct_upper,
ci_type, level, clustered, n_clusters, n_treated, n_controls,
T_pre, T_post, n_boot, n_boot_valid, n_boot_dropped.
