Skip to content

Main content

Hypergeometric Support Endpoint Budget Tool

Calculate hypergeometric support endpoint budget from explicit caller-supplied inputs.

Loading tool…

Description

For nonnegative safe-integer population, successes, and draws within population return minimum=max(0,draws-(population-successes)), maximum=min(draws,successes), and supportSize=maximum-minimum+1.

Event probabilities and probability masses lie between zero and one. Marginals, intersections, conditioning events, and endpoint atoms describe different quantities. A probability bound or local consistency check can constrain a model without specifying its complete distribution or dependence structure.

For nonnegative safe-integer population, successes, and draws within population return minimum=max(0,draws-(population-successes)), maximum=min(draws,successes), and supportSize=maximum-minimum+1.

When to use this tool

Use Hypergeometric Support Endpoint Budget when you need the stated event identity, boundary policy, distribution component, or local feasibility check.

How to use the tool and how it works

  1. Enter population, successes, draws. 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 minimum, maximum, supportSize. Use the output convention below.

For nonnegative safe-integer population, successes, and draws within population return minimum=max(0,draws-(population-successes)), maximum=min(draws,successes), and supportSize=maximum-minimum+1.1

Input fieldMeaning and unitsAccepted input
populationPopulationRequired. Safe integer; minimum 0.
successesSuccessesRequired. Safe integer; minimum 0.
drawsDrawsRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
minimumMinimumRequired. Safe integer.
maximumMaximumRequired. Safe integer.
supportSizeSupport SizeRequired. Safe integer.
json
{
  "input": {
    "population": 10,
    "successes": 4,
    "draws": 8
  },
  "output": {
    "minimum": 2,
    "maximum": 4,
    "supportSize": 3
  }
}

Limitations and assumptions

  • This is the support of sampling without replacement, not a mass function. The all-zero population case is allowed and gives a singleton support at zero.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Use a full probability table or distribution when a local mass, bound, or identity is insufficient. Specify dependence, conditioning, support order, and endpoint policy before combining terms.

References

  1. Calculation and input contract: probability/hypergeometric-support-endpoint-budget — tool.io

Similar or alternative tools