Single Cocoon Weight MG
Calculate tare-corrected batch and pooled single-cocoon mg means with count weighting; no nominal breed cocoon mass table.
Description
A cocoon sample's container must be removed from gross mass.
A cocoon sample's container must be removed from gross mass. Pooled single-cocoon weight uses total net mass over total counted cocoons.
Calculate tare-corrected batch and pooled single-cocoon mg means with count weighting; no nominal breed cocoon mass table.
When to use Single Cocoon Weight MG
Use this tool to calculate tare-corrected batch and pooled single-cocoon mg means with count weighting; no nominal breed cocoon mass table.
Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.
How to use Single Cocoon Weight MG and understand its results
- Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.
- Enter grossSampleMassesGrams, containerTaresGrams, cocoonCounts using the field table and calculation rules, then run the tool.
- Read batchMeanCocoonMassMg, pooledMeanCocoonMassMg. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| grossSampleMassesGrams | Gross sample masses grams | list of number | Required |
| containerTaresGrams | Container tares grams | list of number | Required |
| cocoonCounts | Cocoon counts | list of number | Required |
Align nonnegative gross and tare masses with positive integer counts. Reject tare above gross; return local and pooled means with count weighting.1
Paired lists must be nonempty and have equal lengths.
mean mg/cocoon = 1000 × (gross grams − tare grams)/cocoon count Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| batchMeanCocoonMassMg | Batch mean cocoon mass mg | list of number |
| pooledMeanCocoonMassMg | Pooled mean cocoon mass mg | number |
{
"input": {
"grossSampleMassesGrams": [
11,
22
],
"containerTaresGrams": [
1,
2
],
"cocoonCounts": [
5,
10
]
},
"output": {
"batchMeanCocoonMassMg": [
2000,
2000
],
"pooledMeanCocoonMassMg": 2000
}
} Limitations and assumptions
No breed-specific nominal weight or representative-sample guarantee is provided.
Numbers and computed results must be finite; overflow produces an error. Numeric lists are limited to 100,000 entries; the rules above may require smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Shell Weight Percent SR: Compare matched shell/whole mass ratios on as-received and moisture-corrected dry bases, preserving pooled mass weighting instead of averaging individual percentages. For a complementary task, use Double Cocoon Percent Defect Rate: Audit double-cocoon count share and a caller equal-mass price-discount scenario; count share is not claimed to be measured double-cocoon mass share.
References
-
Single Cocoon Weight MG — tool.io
Similar or alternative tools
- Shell Weight Percent SR
Compare matched shell/whole mass ratios on as-received and moisture-corrected dry bases, preserving pooled mass weighting instead of averaging individual percentages.
- Double Cocoon Percent Defect Rate
Audit double-cocoon count share and a caller equal-mass price-discount scenario; count share is not claimed to be measured double-cocoon mass share.