Bootstrap for IID data frames
# S3 method for data.frame
bootstrap_variance(
data,
estimator_func,
point_estimate,
bootstrap_reps = 500,
...
)A list with components se, variance, and replicates.
A data.frame.
Function returning an object with a numeric scalar
component y_hat and an optional logical component converged.
Unused for IID bootstrap, included for signature consistency.
integer; number of resamples.
Additional arguments. Some are consumed by bootstrap_variance()
itself (for example resample_guard for IID bootstrap or
bootstrap_settings/bootstrap_options/bootstrap_type/bootstrap_mse
or survey bootstrap). Remaining arguments are forwarded to estimator_func.