Helper function for calculating bootstrapped estimates for the QOI. This version is parallelized.
handle_bootstrap_parallel(
qoi.in,
data.in,
lead,
number.iterations,
att.treated.unit.ids,
atc.treated.unit.ids,
outcome.variable,
unit.id.variable,
confidence.level,
lag,
pooled,
num.cores = 1
)
Returns a matrix of bootstrapped QOI estimate values.
String specifying qoi
data.frame object with the data
integer. Specifies number of bootstrap iterations
Integer vector specifying the treated units for the att or art
Integer vector specifying the "treated" units under the atc definition
string specifying the name of the outcome variable
string specifying the name of the unit id variable
double. specifies confidence level for confidence interval
integer vector specifying size of the lag.
logical. Specifies whether or not to calculate point estimates for each specified lead value, or a single pooled estimate.
number of cores to be used for parallelization