Analogue of the Compliance Index for entity-flow profiles:
fraction of entities whose wait time from arrival to activation
does not exceed a threshold number of days (default 14). A value
below 0.80 is flagged as a critical wait-gap.
Usage
compute_wait_gap_index(
data,
window_days = 14,
by_scenario = TRUE,
by_cohort = TRUE,
n_bootstrap = 1000
)Arguments
- data
A
dynasimR_dataobject or entity tibble with await_dayscolumn (orwait_days_to_minin minutes).- window_days
Numeric. Allowed wait time in days. Default
14.- by_scenario
Logical. Stratify by scenario. Default
TRUE.- by_cohort
Logical. Stratify by
cohort(if present). DefaultTRUE.- n_bootstrap
Integer. Bootstrap replicates for CIs. Default
1000.