Description
Include unknown in the first-category denominator only when includeUnknown; always calculate unknownFraction on the full total.
A subsample fraction, histogram bin, or counted category describes a selected part of a larger fisheries record. Expansion and relative frequency have different denominators and require explicit sampling assumptions.
Include unknown in the first-category denominator only when includeUnknown; always calculate unknownFraction on the full total.
When to use this tool
Use Fish Catch Subsample Sex Unknown Base when you need a bounded sample-count or expansion component.
How to use the tool and how it works
- Enter firstSex, secondSex, unknown, includeUnknown. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read denominator, firstSexFraction, unknownFraction. Use the output convention below.
Require nonnegative integer firstSex, secondSex, and unknown with a positive known-category total. Include unknown in the first-category denominator only when includeUnknown; always calculate unknownFraction on the full total.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstSex | First Sex | Required. Safe integer; minimum 0. |
| secondSex | Second Sex | Required. Safe integer; minimum 0. |
| unknown | Unknown | Required. Safe integer; minimum 0. |
| includeUnknown | Include Unknown | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| denominator | Selected population, count, or duration base; inspect its documented zero handling. | Required. Safe integer. |
| firstSexFraction | First Sex Fraction | Required. Finite number. |
| unknownFraction | Unknown Fraction | Required. Finite number. |
{
"input": {
"firstSex": 30,
"secondSex": 20,
"unknown": 10,
"includeUnknown": false
},
"output": {
"denominator": 50,
"firstSexFraction": 0.6,
"unknownFraction": 0.16666666666666666
}
} Limitations and assumptions
- The two fractions can use different denominators; categories are supplied and no biological classification, population representativeness, or missing-data correction is inferred.
- 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 a documented sampling design and assess representativeness, detection, and uncertainty before making population estimates.
References
Similar or alternative tools
- Workplace Catchment Mode Share Term
Include unknown in the mode denominator only when requested and always report unknownShare on the full total.
- Hematology Differential One Cell Fraction
Add unclassified cells to the denominator only when includeUnclassified, then divide categoryCells by that denominator.