diagnostics

diagnostics

Data validation and sample-sufficiency diagnostics: input coverage, model fit, bootstrap stability and collinearity.

Classes

Name Description
ValidationError Raised when simulation data fails validation checks.

Functions

Name Description
bootstrap_convergence_trace Running bootstrap stability of a model’s predictions, for a convergence plot.
check_input_coverage Largest gap between neighbouring sorted values of each input, as a fraction of its range.
relative_spread Spread of bootstrap predictions at each probe point, relative to the spread of the data.
sample_sufficiency Performs a suite of statistical diagnostics to evaluate if the current sample size is sufficient.
validate_simulation Validates simulation data, coercing to numeric and removing invalid rows.