Like tidy.etwfe() but for a TWFE-with-covariates fit. Has no selected
column (twfeCovs is pure OLS and does no regularized selection).
twfeCovs estimates one pooled effect per cohort, so the returned frame
has the same G + 1 rows (overall ATT in row 1, then one row per cohort)
as the sibling estimators.
Usage
# S3 method for class 'twfeCovs'
tidy(x, conf.int = TRUE, conf.level = 1 - x$alpha, ...)Arguments
- x
An object of class
"twfeCovs"returned bytwfeCovs().- conf.int
Logical; include CI columns.
- conf.level
Numeric in (0, 1); defaults to
1 - x$alpha. Applies only to the overall-ATT row; the cohort rows pass through the fit-timecatt_dfbounds (reflecting the fit'sci_type) and are not recomputed atconf.level(#197). Seetidy.fetwfe().- ...
Unused.
Examples
if (FALSE) { # \dontrun{
res <- twfeCovsWithSimulatedData(
simulateData(genCoefs(G = 3, T = 6, d = 2, density = 0.5, eff_size = 2),
N = 120, sig_eps_sq = 1, sig_eps_c_sq = 0.5, seed = 123)
)
broom::tidy(res)
} # }