Description
Return their nonnegative overlap length and max(0, newStart-oldEnd) as gapDays.
Population indicators depend on compatible boundaries, time periods, counted groups, and denominator choices. A share or density can change when exclusions or daytime populations change, even without arithmetic error.
Return their nonnegative overlap length and max(0, newStart-oldEnd) as gapDays.
When to use this tool
Use Residence Move Overlap Gap when you need one transparent population-accounting component.
How to use the tool and how it works
- Enter oldStart, oldEnd, newStart, newEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlapDays, gapDays. Use the output convention below.
Require ordered old and new residence intervals. Return their nonnegative overlap length and max(0, newStart-oldEnd) as gapDays.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| oldStart | Old Start | Required. Safe integer. |
| oldEnd | Old End | Required. Safe integer. |
| newStart | New Start | Required. Safe integer. |
| newEnd | New End | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlapDays | Overlap Days | Required. Safe integer. |
| gapDays | Gap Days | Required. Safe integer. |
{
"input": {
"oldStart": 0,
"oldEnd": 20,
"newStart": 15,
"newEnd": 30
},
"output": {
"overlapDays": 5,
"gapDays": 0
}
} Limitations and assumptions
- Inputs are day coordinates with duration by subtraction, without inclusive-date addition; chronology, residence identity, and occupancy rights are not verified.
- 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 source definitions, geography, temporal alignment, and uncertainty before making a demographic or service-access conclusion.
References
Similar or alternative tools
- Residential Mobility Tenure Month Term
Return month-coordinate tenure and 12 × previousMoves/exposureMonths.
- Commute Window Exposure Fraction
Return their nonnegative overlap and overlap divided by commute duration.