Skip to content

Main content

Interval Score Missing Endpoint Case Tool

Central interval score with missing endpoints explicitly flagged rather than treated as zero bounds.

Loading tool…

Description

With both endpoints present, validate their order and calculate width plus scaled outside penalties; otherwise return score zero, defined false, and missing endpoint names.

An interval forecast has both a width and a relationship to an observed value. Scoring rules can penalize narrow misses while boundary conventions determine coverage separately.

With both endpoints present, validate their order and calculate width plus scaled outside penalties; otherwise return score zero, defined false, and missing endpoint names.

When to use this tool

Use Interval Score Missing Endpoint Case when you need one interval width, coverage, penalty, or error-envelope term.

How to use the tool and how it works

  1. Enter lower, upper, actual, alpha, lowerPresent, upperPresent. 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 defined, score, missingEndpoints. Inspect defined before interpreting the associated values.

Require alpha in (0, 1). With both endpoints present, validate their order and calculate width plus scaled outside penalties; otherwise return score zero, defined false, and missing endpoint names.1

Input fieldMeaning and unitsAccepted input
lowerLowerRequired. Finite number.
upperUpperRequired. Finite number.
actualObserved value on the same scale and unit as its prediction.Required. Finite number.
alphaNominal interval miscoverage as a fraction, not a percentage.Required. Finite number.
lowerPresentLower PresentRequired. Boolean.
upperPresentUpper PresentRequired. Boolean.
Output fieldInterpretationReturned shape
definedWhether the accompanying numeric result has an available denominator or required inputs.Required. Boolean.
scoreScore under the explicit mathematical and availability conventions above.Required. Finite number.
missingEndpointsMissing EndpointsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
json
{
  "input": {
    "lower": 1,
    "upper": 3,
    "actual": 4,
    "alpha": 0.5,
    "lowerPresent": true,
    "upperPresent": true
  },
  "output": {
    "defined": true,
    "score": 6,
    "missingEndpoints": []
  }
}

Limitations and assumptions

  • Absent endpoint numbers are ignored for ordering and the score is a placeholder; this does not construct one-sided interval scores.
  • 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

Aggregate scores over comparable observations and examine empirical coverage and interval width together.

References

  1. Calculation and input contract: metrics/interval-score-missing-endpoint-case — tool.io

Similar or alternative tools