Skip to content
Skip to Content

Ensembles and intervals

One run is one possible future. An ensemble of replications gives an interval, and an interval is what a policy result is reported with.

One run draws one possible future for each person. A result reported from one run would hide how much it depends on chance. cohortix is built to report results with their uncertainty: an ensemble of replications of a scenario, and an interval rather than a single date or a single number.

One person's path rising through time. Above a blue plane the path splits into a bundle of faint paths, one per replicate. Brackets mark the spread of the moment her union comes, under the baseline and under the policy.One person's path rising through time. Above a blue plane the path splits into a bundle of faint paths, one per replicate. Brackets mark the spread of the moment her union comes, under the baseline and under the policy.
Replicates of one future: a bundle of paths, an interval. The timing of her union spans an interval in time, never a single date.

Replications

A replication is the same scenario run with another replication number in its seed path. The seed path has four parts, each recorded in provenance:

PartWhat changes it
Rootscenario.seed.
Population realizationAnother draw of the initial population.
ReplicationAnother draw of the run on the same population.
Parameter setAnother set of parameter values, for calibration and sensitivity.

Each replication is reproducible on its own: the same seed path gives the same journal, byte for byte.

Comparing scenarios

A baseline and a policy scenario run with the same seed paths share common random numbers, so each pair of replications differs only where the policy acts.

In this version

Version 0.1 runs one replication per command. The ensemble service, which runs replications in parallel, compares scenarios and reports the cost of runs, is planned and not written yet (crate cohortix-ensemble). The [ensemble] table of the scenario file is refused as not supported yet. Each run stays single-threaded; parallelism will be across runs.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.