Skip to content

Main content

Predator Prey Sample Count Ratio Tool

Calculate predator prey sample count ratio from explicit caller-supplied inputs.

Loading tool…

Description

Return predators/prey and (predators/predatorEffort)/(prey/preyEffort).

Ecological observation summaries depend on sampling effort, eligible time, classified counts and missingness policies. Flower-minutes, area-days and observed proportions have different denominators. Observation support is distinct from true abundance, detection probability or a causal biological-control effect.

Return predators/prey and (predators/predatorEffort)/(prey/preyEffort).

When to use this tool

Use Predator Prey Sample Count Ratio when checking the stated observation support, exposure, sample or seasonal-gap convention.

How to use the tool and how it works

  1. Enter predators, prey, predatorEffort, preyEffort. 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 rawRatio, effortAdjustedRatio. Use the output convention below.

Require whole predators>=0, whole prey>=1 and positive efforts. Return predators/prey and (predators/predatorEffort)/(prey/preyEffort).1

Input fieldMeaning and unitsAccepted input
predatorsPredatorsRequired. Safe integer; minimum 0.
preyPreyRequired. Safe integer; minimum 1.
predatorEffortPredator EffortRequired. Finite number; strictly above 0.
preyEffortPrey EffortRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
rawRatioRaw RatioRequired. Finite number.
effortAdjustedRatioPredator count per predator effort divided by prey count per prey effort.Required. Finite number.
json
{
  "input": {
    "predators": 20,
    "prey": 100,
    "predatorEffort": 2,
    "preyEffort": 4
  },
  "output": {
    "rawRatio": 0.2,
    "effortAdjustedRatio": 0.4
  }
}

Limitations and assumptions

  • Effort units must be comparable; corrected observed counts do not determine true abundance or a biological control effect.
  • 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 verified representative field records and suitable sampling/detection analysis for ecological inference, uncertainty and management.

References

  1. Calculation and input contract: agroecology/predator-prey-sample-count-ratio — tool.io

Similar or alternative tools