Skip to contents

Scores after shuffling model cells: the null of no cell correspondence, with one-sided p-values in which near-ties count as extreme

Usage

uncertainty_permutation_null(
  survey,
  model,
  variant = pfs_variant(),
  draws = 999L,
  seed = 0,
  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.

threads

Worker threads, or NULL.

Value

A tibble with metric, observed, null_mean, null_sd and p_value.