Skip to content

Main content

Public Health Equity One Group Ratio Tool

Calculate public health equity one group ratio from explicit caller-supplied inputs.

Loading tool…

Description

Calculate public health equity one group ratio from explicit caller-supplied inputs.

Public-health summaries depend on who is counted, which observations are verified, and the period and population used as the base. Shares, weighted contributions, and inventory balances describe supplied records; they do not by themselves establish a health outcome or a clinical recommendation.

Calculate public health equity one group ratio from explicit caller-supplied inputs.

When to use this tool

Use it for public health equity one group ratio when the required inputs and conventions are already available.

How to use the tool and how it works

  1. Enter groupEvents, groupPopulation, referenceEvents, referencePopulation, rateBase. Use the stated units and boundary conventions.
  2. Run the calculation. Correct any input error before interpreting a result.
  3. Read groupRate, referenceRate, ratio, difference. Inspect any known, defined, inclusion, or boundary flags before interpreting numeric values.

Require nonnegative groupEvents and positive groupPopulation, referenceEvents, referencePopulation, and rateBase. Scale both event/population rates by rateBase, return their ratio, and return their signed group-minus-reference difference.1

Input fieldMeaning and unitsAccepted input
groupEventsGroup EventsRequired. Finite number; minimum 0.
groupPopulationGroup PopulationRequired. Finite number; strictly above 0.
referenceEventsReference EventsRequired. Finite number; strictly above 0.
referencePopulationReference PopulationRequired. Finite number; strictly above 0.
rateBasePositive multiplier for the event rate, such as 100 or 1000; not a percentage rate.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
groupRateGroup RateRequired. Finite number.
referenceRateReference RateRequired. Finite number.
ratioDimensionless ratio of compatible quantities under the stated formula.Required. Finite number.
differenceDifferenceRequired. Finite number.
json
{
  "input": {
    "groupEvents": 20,
    "groupPopulation": 100,
    "referenceEvents": 30,
    "referencePopulation": 200,
    "rateBase": 100
  },
  "output": {
    "groupRate": 20,
    "referenceRate": 15,
    "ratio": 1.3333333333333333,
    "difference": 5.000000000000002
  }
}

Limitations and assumptions

  • Events may exceed population, allowing repeated-event rates. This descriptive comparison is not age-adjusted, uncertainty-qualified, or evidence of a causal inequity.
  • The field tables describe structural bounds; the mechanics also state cross-field requirements. Malformed input shapes, disallowed keys, and invalid domains cause input errors. Results must remain finite and within the declared output contract. A successful false flag or zero placeholder is distinct from an error.
  • Numeric arithmetic uses binary floating point. Exact comparisons have no hidden tolerance or decimal rounding; negative zero is exported as zero. Decimal-text integer operations retain the exactness specifically stated above.

Alternative or Complementary methods

For public health equity one group ratio, check the source records and the supplied rule before comparing the result with another method. Use an appropriately validated measurement or analysis method for clinical interpretation.

References

  1. Calculation and input contract: public-health/public-health-equity-one-group-ratio — tool.io

Similar or alternative tools