trade-study
Compare experiments and model choices, weighing uncertainty, information and cost.
trade-study is a domain-independent framework for comparing experiments, model settings and data-collection plans using repeated simulations. Users supply a simulator and scorer, define factors and objectives, and compare choices such as model formulations, numerical methods or measurement strategies. Public-health, ecological and other examples illustrate the interface without limiting where it can be used.
Public; package maturity: alpha; latest released version: v0.6.0 (final) on PyPI · v0.6.0 archive · all archived versions · Development documentation and executable examples
The package supports design grids, replicated and paired comparisons, adaptive searches, sensitivity analysis and model weighting. Saved results, caches and provenance support resuming and checking a study.
A Pareto front identifies candidates for which no alternative improves one stated objective without worsening another. Choosing among them also requires preferences or constraints. Statistical comparisons depend on the replicate design; synthetic findings need separate assessment before being applied to observed data. The computed example states its measurement model, assumed costs and numerical checks.
Two longer guides show how the same framework can organize applied design questions: a synthetic monitoring-station study compares instrument settings and assumed station costs, and a synthetic serosurvey study compares sample size, allocation, accuracy and hypothetical cost. Both are executable demonstrations, not validated recommendations for a field program.
Computed example, inputs and checks
Method diagram (SVG) · Vector PDF · All figure sources and downloads