Description
share = subsampleCount/totalCount when totalCount > 0; otherwise return share = 0 and defined = false.
Entomological counts can refer to individuals, hosts, marker grains or a known cohort. Ratios are meaningful only when numerator and denominator describe compatible observations; an absent denominator differs from an observed zero proportion.
share = subsampleCount/totalCount when totalCount > 0; otherwise return share = 0 and defined = false.
When to use this tool
Use Insect Count Subsample Share when checking a supplied count ratio or cohort balance.
How to use the tool and how it works
- Enter subsampleCount, totalCount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read share, defined. Inspect defined before interpreting the associated values.
Require nonnegative whole totalCount and subsampleCount <= totalCount. share = subsampleCount/totalCount when totalCount > 0; otherwise return share = 0 and defined = false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| subsampleCount | Subsample Count | Required. Safe integer; minimum 0. |
| totalCount | Total Count | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| share | Dimensionless selected contribution divided by the stated total; not percent. | Required. Finite number. |
| defined | Whether the stated denominator has positive support; read this before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"subsampleCount": 12,
"totalCount": 40
},
"output": {
"share": 0.3,
"defined": true
}
} Limitations and assumptions
- A zero total makes the proportion undefined. This count share does not estimate total population size, random-subsample inclusion probability or counting uncertainty.
- 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 appropriate counting, subsampling and recovery methods for inference beyond these supplied counts.
References
Similar or alternative tools
- Insect Emergence Cumulative One Day Term
Return cumulative as that sum, fraction = cumulative/expectedTotal and remaining = expectedTotal-cumulative.
- Parasitoid Emergence Host Count Share
hostEmergenceFraction = emergedHosts/exposedHosts; parasitoidsPerEmergingHost = parasitoids/emergedHosts.