Convenience wrapper mirroring the *WithSimulatedData() pattern: fits
fetwfe() on a "FETWFE_simulated" object (via fetwfeWithSimulatedData())
and returns debiasedATT() on the fit.
Arguments
- simulated_obj
An object of class
"FETWFE_simulated"(fromsimulateData()).- q
Numeric; the
L_qbridge penalty exponent. Must be< 1(the debiased SE requires bridge selection). Defaults to0.5.- alpha
Numeric in
(0, 1)orNULL; confidence level1 - alpha. DefaultNULL, inheriting thealphastored on the fit.- ...
Further arguments forwarded to
fetwfeWithSimulatedData()(e.g.fusion_structure,lambda_selection,cv_seed).
Value
An object of class "debiased_att" (see debiasedATT()).
Examples
if (FALSE) { # \dontrun{
coefs <- genCoefs(G = 3, T = 6, d = 2, density = 0.5, eff_size = 2, seed = 1)
dat <- simulateData(coefs, N = 200, sig_eps_sq = 1, sig_eps_c_sq = 0.5, seed = 1)
debiasedATTWithSimulatedData(dat)
} # }