Description
Return duration-weighted agreement on valid intervals.
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 duration-weighted agreement on valid intervals.
When to use this tool
Use Observer Agreement Window Share when checking the stated behavioral-research observation, assignment, coverage or coding convention.
How to use the tool and how it works
- Enter durations, firstLabels, secondLabels, valid. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read validDuration, agreementDuration, agreementShare, defined. Inspect defined before interpreting the associated values.
Return duration-weighted agreement on valid intervals. Require aligned arrays and nonnegative durations; agreementDuration sums valid rows with equal labels, agreementShare divides by validDuration or is undefined at zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| durations | Durations | Required. Array of finite number; minimum 0; maximum items 256. |
| firstLabels | First Labels | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| secondLabels | Second Labels | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| valid | Whether this local input/result condition holds; inspect the limitations before treating it as full validation. | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| validDuration | Valid Duration | Required. Finite number. |
| agreementDuration | Agreement Duration | Required. Finite number. |
| agreementShare | Duration-weighted literal agreement on valid rows, without chance correction. | Required. Finite number. |
| defined | Whether the stated denominator or information basis supports this value; inspect placeholders before interpretation. | Required. Boolean. |
{
"input": {
"durations": [
2,
3,
5
],
"firstLabels": [
"A",
"B",
"A"
],
"secondLabels": [
"A",
"A",
"A"
],
"valid": [
true,
true,
false
]
},
"output": {
"validDuration": 5,
"agreementDuration": 2,
"agreementShare": 0.4,
"defined": true
}
} Limitations and assumptions
- This is literal agreement without chance correction; repeated/overlapping intervals and label meaning must be handled by the study protocol.
- 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
- Observer Agreement Positive Occurrence Term
Return positive agreement and positive-event intersection over union.
- Observer Visible Interval Share Tool
Calculate observer visible interval share from explicit caller-supplied inputs.