Skip to content

Main content

Generation Interval Explicit Anchor Pair Tool

Infection-time generation interval with conservative endpoint uncertainty propagation; a negative lower interval flags overlapping uncertainty.

Loading tool…

Description

The interval is infecteeInfection - infectorInfection; minimumInterval subtracts both infectorUncertainty and infecteeUncertainty, while maximumInterval adds both.

Epidemiological timing depends on which event defines the origin, how intervals include their boundaries and whether time is observed. Numeric day coordinates and elapsed intervals do not by themselves select a calendar or a transmission model.

The interval is infecteeInfection - infectorInfection; minimumInterval subtracts both infectorUncertainty and infecteeUncertainty, while maximumInterval adds both.

When to use this tool

Use Generation Interval Explicit Anchor Pair when reconciling supplied day coordinates, observation windows or interval boundaries.

How to use the tool and how it works

  1. Enter infectorInfection, infecteeInfection, infectorUncertainty, infecteeUncertainty. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read interval, minimumInterval, maximumInterval. Use the output convention below.

Require infecteeInfection >= infectorInfection and nonnegative uncertainty widths. The interval is infecteeInfection - infectorInfection; minimumInterval subtracts both infectorUncertainty and infecteeUncertainty, while maximumInterval adds both. Every coordinate and uncertainty must share the same time unit and origin.1

Input fieldMeaning and unitsAccepted input
infectorInfectionInfector InfectionRequired. Finite number.
infecteeInfectionInfectee InfectionRequired. Finite number.
infectorUncertaintyNonnegative symmetric half-width around the infector infection time.Required. Finite number; minimum 0.
infecteeUncertaintyNonnegative symmetric half-width around the infectee infection time.Required. Finite number; minimum 0.
Output fieldInterpretationReturned shape
intervalIntervalRequired. Finite number.
minimumIntervalMinimum IntervalRequired. Finite number.
maximumIntervalMaximum IntervalRequired. Finite number.
json
{
  "input": {
    "infectorInfection": 10,
    "infecteeInfection": 15,
    "infectorUncertainty": 1,
    "infecteeUncertainty": 2
  },
  "output": {
    "interval": 5,
    "minimumInterval": 2,
    "maximumInterval": 8
  }
}

Limitations and assumptions

  • Each uncertainty input is interpreted as a symmetric half-width around its supplied infection coordinate. The lower interval bound may be negative even though the central interval is nonnegative. These are arithmetic extremes, not statistical confidence limits or proof of transmission linkage.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use an explicit calendar conversion for real dates and a suitable transmission or censoring model for inference beyond these local time calculations.

References

  1. Calculation and input contract: epidemiology/generation-interval-explicit-anchor-pair — tool.io

Similar or alternative tools