Skip to contents

Percentile intervals from resampling cells with replacement; each draw is seeded on its own

Usage

uncertainty_bootstrap(
  survey,
  model,
  variant = pfs_variant(),
  draws = 1000L,
  seed = 0,
  confidence = 0.95,
  threads = NULL
)

Arguments

survey, model

Cells of the survey and of the model.

variant

A specification from pfs_variant().

draws

Number of resamples.

seed

Random seed.

confidence

Interval confidence.

threads

Worker threads, or NULL.

Value

A tibble with metric, estimate, ci_low, ci_high and draws.