Description
Return one day's contribution to a weighted intake mean.
Dietary-record coverage concerns which planned days, serving amounts or sample weights are represented. A denominator-specific share is separate from the nutrient content and representativeness of an intake assessment.
Return one day's contribution to a weighted intake mean.
When to use this tool
Use Dietary Intake Observed Day Weight when checking a supplied dietary-record support convention.
How to use the tool and how it works
- Enter dayIntake, dayWeight, totalWeight. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read weightedContribution. Use the output convention below.
Return one day's contribution to a weighted intake mean. Require nonnegative dayIntake and dayWeight <= positive totalWeight; contribution = intake*dayWeight/totalWeight.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| dayIntake | Day Intake | Required. Finite number; minimum 0. |
| dayWeight | Day Weight | Required. Finite number; minimum 0. |
| totalWeight | Total Weight | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| weightedContribution | Weighted Contribution | Required. Finite number. |
{
"input": {
"dayIntake": 100,
"dayWeight": 2,
"totalWeight": 10
},
"output": {
"weightedContribution": 20
}
} Limitations and assumptions
- The full weight sum is supplied, not recomputed; one contribution is not total usual intake.
- 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
Review the collection method and missingness pattern, and use an appropriate intake assessment for usual-diet or individual conclusions.
References
Similar or alternative tools
- Dietary Recall Recipe Share Term
Allocate recipe nutrient to a consumed mass share.
- Dietary Record Coverage Fraction
Return dietary-record coverage after excluded days.