Skip to content

Main content

Behavioral Duration Overlap Correction Tool

Calculate behavioral duration overlap correction from explicit caller-supplied inputs.

Loading tool…

Description

Return overlap-corrected behavioral duration share.

Behavioral-study coding depends on observation intervals, missing samples, event records and assignment rules. Partial-, whole- and momentary-sampling summaries answer different questions; local agreement or coverage does not establish actual behavior, a diagnosis or an effective intervention.

Return overlap-corrected behavioral duration share.

When to use this tool

Use Behavioral Duration Overlap Correction when checking the stated behavioral-research observation, assignment, coverage or coding convention.

How to use the tool and how it works

  1. Enter firstDuration, secondDuration, doubleCounted, observedWindow. 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 correctedDuration, fraction. Use the output convention below.

Return overlap-corrected behavioral duration share. Require positive window and valid nonnegative durations/overlap with union <= window; corrected = first+second-doubleCounted, fraction = corrected/window.1

Input fieldMeaning and unitsAccepted input
firstDurationFirst DurationRequired. Finite number; minimum 0.
secondDurationSecond DurationRequired. Finite number; minimum 0.
doubleCountedDouble CountedRequired. Finite number; minimum 0.
observedWindowObserved WindowRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
correctedDurationCorrected DurationRequired. Finite number.
fractionFractionRequired. Finite number.
json
{
  "input": {
    "firstDuration": 20,
    "secondDuration": 30,
    "doubleCounted": 10,
    "observedWindow": 100
  },
  "output": {
    "correctedDuration": 40,
    "fraction": 0.4
  }
}

Limitations and assumptions

  • Overlap is supplied rather than detected; no complete event timeline, diagnosis or intervention adequacy 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

Use verified observations and the study’s complete sampling/coding protocol, with appropriate statistical and professional interpretation for health or intervention decisions.

References

  1. Calculation and input contract: behavioral-science/behavioral-duration-overlap-correction — tool.io

Similar or alternative tools