Skip to contents

Run a generic misspecification stress-test grid

Usage

stress_test_misspecification(
  scenarios,
  runner,
  replications = 50L,
  seed = 20260808L
)

Arguments

scenarios

Data frame or named list describing scenarios.

runner

Function `runner(scenario, replicate)` returning a one-row or tidy data frame. Errors are retained as classified failures.

replications

Number of simulation or validation replications.

seed

Random-number seed.

Value

An object of class "eye_irt_stress_test", "data.frame", stored as a data frame, containing a generic misspecification stress-test grid and associated metadata needed to interpret the result.