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
- Enter firstDuration, secondDuration, doubleCounted, observedWindow. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| firstDuration | First Duration | Required. Finite number; minimum 0. |
| secondDuration | Second Duration | Required. Finite number; minimum 0. |
| doubleCounted | Double Counted | Required. Finite number; minimum 0. |
| observedWindow | Observed Window | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| correctedDuration | Corrected Duration | Required. Finite number. |
| fraction | Fraction | Required. Finite number. |
{
"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
Similar or alternative tools
- Behavioral Diary Timebin Boundary Choice
Return a diary bin under left-closed or right-closed policy.
- Interval Observation Partial Credit
Return duration fraction and optional full-interval-only credit.