Description
Require positive-length intervals, return their overlap and summed durations minus overlap as unionDuration, then divide overlap by union.
Research time coordinates can represent age, residence, observation, or follow-up. Fixed year lengths and censored intervals are modeling conventions; an unfinished observation supplies less timing information than a completed event.
Require positive-length intervals, return their overlap and summed durations minus overlap as unionDuration, then divide overlap by union.
When to use this tool
Use Gerontology Questionnaire Time Window Overlap when you need an ageing-research interval calculation with an explicit time basis.
How to use the tool and how it works
- Enter firstStart, firstEnd, secondStart, secondEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlap, unionDuration, overlapFractionOfUnion. Use the output convention below.
Require positive-length intervals, return their overlap and summed durations minus overlap as unionDuration, then divide overlap by union.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStart | First Start | Required. Finite number. |
| firstEnd | First End | Required. Finite number. |
| secondStart | Second Start | Required. Finite number. |
| secondEnd | Second End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Finite number. |
| unionDuration | Union Duration | Required. Finite number. |
| overlapFractionOfUnion | Overlap Fraction Of Union | Required. Finite number. |
{
"input": {
"firstStart": 0,
"firstEnd": 30,
"secondStart": 20,
"secondEnd": 50
},
"output": {
"overlap": 10,
"unionDuration": 50,
"overlapFractionOfUnion": 0.2
}
} Limitations and assumptions
- Time coordinates share units and touching intervals have zero overlap; this is interval similarity without validating questionnaire comparability, response quality, or clinical meaning.
- 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 actual calendar dates for calendar age and an appropriate censoring-aware analysis for incomplete follow-up. Verify origin, units, and event definitions against the study protocol.
References
Similar or alternative tools
- Older Adult Proxy Window Credit
Return direct minutes alone or add proxy minutes minus their shared overlap when countProxy.
- Caregiver Support Interval Overlap
Require ordered support intervals and return their nonnegative overlap length.