Description
Return duration fraction and optional full-interval-only credit.
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 fraction and optional full-interval-only credit.
When to use this tool
Use Interval Observation Partial Credit when checking the stated behavioral-research observation, assignment, coverage or coding convention.
How to use the tool and how it works
- Enter observedDuration, intervalDuration, fullCreditOnly. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fraction, credit. Use the output convention below.
Return duration fraction and optional full-interval-only credit. Require positive intervalDuration and observedDuration within it; fraction = observed/interval, credit equals fraction unless fullCreditOnly, then one only for exact complete duration.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observedDuration | Observed Duration | Required. Finite number; minimum 0. |
| intervalDuration | Interval Duration | Required. Finite number; strictly above 0. |
| fullCreditOnly | Full Credit Only | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fraction | Fraction | Required. Finite number. |
| credit | Credit | Required. Finite number. |
{
"input": {
"observedDuration": 5,
"intervalDuration": 10,
"fullCreditOnly": false
},
"output": {
"fraction": 0.5,
"credit": 0.5
}
} Limitations and assumptions
- The credit policy is supplied; no behavior observation, clinical meaning or appropriate scoring rule 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
- Partial Interval Observation One Hit
Return partial-interval occurrence among known samples.
- Whole Interval Observation One Miss
Return whole-interval status only for complete observation.