Description
Subtract exclusions within observedMinutes for denominatorMinutes, validating validMinutes within that remainder.
Personal health and activity records use supplied observations, labels, and time intervals. A formatter or simple summary can organize those records without assessing health, diagnosing a condition, or recommending treatment.
Subtract exclusions within observedMinutes for denominatorMinutes, validating validMinutes within that remainder.
When to use this tool
Use Diary Day Valid Time Share when you need a bounded personal-record calculation with explicit units and date conventions.
How to use the tool and how it works
- Enter validMinutes, observedMinutes, excludedObservedMinutes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read denominatorMinutes, share, defined. Inspect defined before interpreting the associated values.
Subtract exclusions within observedMinutes for denominatorMinutes, validating validMinutes within that remainder. Return valid/denominator or zero with defined false for no eligible time.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| validMinutes | Valid Minutes | Required. Finite number; minimum 0. |
| observedMinutes | Observed Minutes | Required. Finite number; minimum 0. |
| excludedObservedMinutes | Excluded Observed Minutes | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| denominatorMinutes | Denominator Minutes | Required. Finite number. |
| share | Dimensionless share under the stated denominator and exclusion convention. | Required. Finite number. |
| defined | Whether the associated ratio has its required denominator; inspect before using a zero placeholder. | Required. Boolean. |
{
"input": {
"validMinutes": 60,
"observedMinutes": 100,
"excludedObservedMinutes": 20
},
"output": {
"denominatorMinutes": 80,
"share": 0.75,
"defined": true
}
} Limitations and assumptions
- Validity flags and durations are supplied; zero share can be undefined and no clinical validity, device accuracy, or missing-time correction is established.
- 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 original observations and consult an appropriate health professional for clinical interpretation or care decisions.
References
Similar or alternative tools
- Wearable Worn Missing Minute Denominator
Return wornMinutes, subtracting missing only when excludeMissing.
- Diary Observation Window Ratio
Return eligibleDuration and observed/eligible when positive, otherwise ratio zero with defined false.