Skip to content

Main content

Caregiver Reported Night Day Duration Tool

Calculate caregiver reported night day duration from explicit caller-supplied inputs.

Loading tool…

Description

Return observed union, unallocated remainder after explicit missing, and observed/period coverage.

Research schedules and activity records use numeric intervals, pauses, and overlap conventions. The same endpoints can produce different summaries depending on whether simultaneous activities are counted once or separately.

Return observed union, unallocated remainder after explicit missing, and observed/period coverage.

When to use this tool

Use Caregiver Reported Night Day Duration when you need a time-budget or interval calculation in geriatric research records.

How to use the tool and how it works

  1. Enter dayHours, nightHours, overlappingHours, missingHours, periodHours. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read observedHours, unallocatedHours, coverage. Use the output convention below.

Require positive periodHours and compatible nonnegative day, night, overlap, and missing hours whose union plus missing fits the period. Return observed union, unallocated remainder after explicit missing, and observed/period coverage.1

Input fieldMeaning and unitsAccepted input
dayHoursDay HoursRequired. Finite number; minimum 0.
nightHoursNight HoursRequired. Finite number; minimum 0.
overlappingHoursOverlapping HoursRequired. Finite number; minimum 0.
missingHoursMissing HoursRequired. Finite number; minimum 0.
periodHoursPeriod HoursRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
observedHoursObserved HoursRequired. Finite number.
unallocatedHoursUnallocated HoursRequired. Finite number.
coverageCoverageRequired. Finite number.
json
{
  "input": {
    "dayHours": 10,
    "nightHours": 8,
    "overlappingHours": 1,
    "missingHours": 2,
    "periodHours": 24
  },
  "output": {
    "observedHours": 17,
    "unallocatedHours": 5,
    "coverage": 0.7083333333333334
  }
}

Limitations and assumptions

  • Day and night are supplied categories and overlap is not detected; no clinical observation, sleep assessment, caregiver reliability, or care quality 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

Reconcile the full schedule and source timing convention before aggregation. Use an appropriate observational or clinical assessment for questions that duration arithmetic cannot answer.

References

  1. Calculation and input contract: geriatrics/caregiver-reported-night-day-duration — tool.io

Similar or alternative tools