Skip to content

Main content

Winkler Score Width Penalty Split Tool

Calculate winkler score width penalty split from explicit caller-supplied inputs.

Loading tool…

Description

Return interval width plus a penalty of 2/alpha times the distance below lower or above upper; observations within the interval add no penalty.

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.

Return interval width plus a penalty of 2/alpha times the distance below lower or above upper; observations within the interval add no penalty.

When to use this tool

Use Winkler Score Width Penalty Split when you need one interval width, coverage, penalty, or error-envelope term.

How to use the tool and how it works

  1. Enter observed, lower, upper, alpha. 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 width, penalty, score. Use the output convention below.

Require lower ≤ upper and alpha in (0, 1). Return interval width plus a penalty of 2/alpha times the distance below lower or above upper; observations within the interval add no penalty.1

For a central prediction interval, alpha is the total nominal probability outside the interval, with alpha/2 in each tail. The interval score combines width with a penalty for observations outside the bounds; lower scores are preferred.2

Input fieldMeaning and unitsAccepted input
observedObservedRequired. Finite number.
lowerLowerRequired. Finite number.
upperUpperRequired. Finite number.
alphaNominal interval miscoverage as a fraction, not a percentage.Required. Finite number; strictly above 0; strictly below 1.
Output fieldInterpretationReturned shape
widthWidthRequired. Finite number.
penaltyPenaltyRequired. Finite number.
scoreScore under the explicit mathematical and availability conventions above.Required. Finite number.
json
{
  "input": {
    "observed": 12,
    "lower": 5,
    "upper": 10,
    "alpha": 0.1
  },
  "output": {
    "width": 5,
    "penalty": 40,
    "score": 45
  }
}

Limitations and assumptions

  • Alpha is a fractional miscoverage level, not percent; this evaluates one interval rather than calibration or average forecast quality.
  • 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/winkler-score-width-penalty-split — tool.io

  2. Strictly Proper Scoring Rules, Prediction, and Estimation — Tilmann Gneiting and Adrian E. Raftery / Journal of the American Statistical Association

Similar or alternative tools