ArticleslgStudy

mathematics

Scoring rule

Scoring rule is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Scoring rule rather than just read about it. In short: In decision theory, both a scoring rule as well as a scoring function provide an ex post summary measure for the evaluation of the quality of a prediction or forecast. They assign a numeric score to a single prediction given the actual outcome.

Scoring rule — main illustration
Scoring rule — illustration

Key takeaways

  • Scoring rule belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Scoring rule to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Scoring rule from memory before moving on to harder problems.

Reference excerpt

In decision theory, both a scoring rule as well as a scoring function provide an ex post summary measure for the evaluation of the quality of a prediction or forecast. They assign a numeric score to a single prediction given the actual outcome. Depending on the sign convention, this score can be interpreted as a loss or a reward for the forecaster. Scoring rules assess probabilistic predictions or forecasts, i.e. predictions of the whole probability distribution F {\displaystyle F} of the outcome. On the other hand, scoring functions assess point predictions, i.e. predictions of a property or functional T ( F ) {\displaystyle T(F)} of the probability distribution F {\displaystyle F} of the outcome. Examples of such a property are the expectation and the median.

Scoring rules answer the question "how good is a predicted probability distribution given the observation of the actual outcome?" Scoring rules that are (strictly) proper are proven to have the lowest expected score if the predicted distribution equals the underlying distribution of the target variable. Although this might differ for individual observations, this should result in a minimization of the expected score if the "correct" distributions are predicted. In the same way, scoring functions answer the question "how good is a point prediction given the observation of the actual outcome?". Scoring functions that are (strictly) consistent (for the functional T {\displaystyle T} ) are proven to have the lowest expected score if the point prediction equals (or is among) the true functional of the underlying distribution of the target variable. Scoring rules and scoring functions are often used as "cost functions" or "loss functions" of forecasting models. If a sample of forecasts and observations of the outcome is collected, they can be evaluated as the empirical mean of the given sample, often also called the "score". Scores of predictions of different models or forecasters can then be compared to conclude which model or forecaster is best. For example, consider a probabilistic model that predicts (based on an input x {\displaystyle x} ) a gaussian distribution N ( μ , σ 2 ) {\displaystyle {\mathcal {N}}(\mu ,\sigma ^{2})} with mean μ ∈ R {\displaystyle \mu \in \mathbb {R} } and standard deviation σ ∈ R + {\displaystyle \sigma \in \mathbb {R} _{+}} . A common interpretation of probabilistic models is that they aim to quantify their own predictive uncertainty. In this example, an observed target variable y ∈ R {\displaystyle y\in \mathbb {R} } is then held compared to the predicted distribution N ( μ , σ 2 ) {\displaystyle {\mathcal {N}}(\mu ,\sigma ^{2})} and assigned a score S ( N ( μ , σ 2 ) , y ) ∈ R {\displaystyle \mathbf {S} ({\mathcal {N}}(\mu ,\sigma ^{2}),y)\in \mathbb {R} } . When a probabilistic model is trained on a scoring rule, it should "teach" the model to predict when its uncertainty is low, and when its uncertainty is high, and it should result in calibrated predictions, while minimizing the predictive uncertainty. Although the example given concerns the probabilistic forecasting of a real valued target variable, a variety of different scoring rules have been designed with different target variables in mind. Scoring rules exist for binary and categorical probabilistic classification, as well as for univariate and multivariate probabilistic regression.

… excerpt ends here. Continue reading the full article.

Illustrations

Scoring rule: Visualization of the expected score under various predictions from some common scoring functions. Dashed black line: forecaster's true belief, red: linear, orange: spherical, purple: quadratic, green: log.
Visualization of the expected score under various predictions from some common scoring functions. Dashed black line: forecaster's true belief, red: linear, orange: spherical, purple: quadratic, green: log.
Scoring rule: The average logarithmic score of 10 points i.i.d. sampled from a standard normal distribution (blue histogram), evaluated on a variety of distributions (red line). Although not necessarily true for individual samples, on average, a proper scoring rule will give the lowest score if the predicted distribution matches the data distribution.
The average logarithmic score of 10 points i.i.d. sampled from a standard normal distribution (blue histogram), evaluated on a variety of distributions (red line). Although not necessarily true for individual samples, on average, a proper scoring rule will give the lowest score if the predicted distribution matches the data distribution.
Scoring rule: A calibration curve allows to judge how well model predictions are calibrated, by comparing the predicted quantiles to the observed quantiles. Blue is the best calibrated model, see calibration (statistics).
A calibration curve allows to judge how well model predictions are calibrated, by comparing the predicted quantiles to the observed quantiles. Blue is the best calibrated model, see calibration (statistics).
Scoring rule: Expected value of logarithmic rule. When Event 1 is expected to occur with probability of 0.8, the blue line is described by the function 
  
    
      
        0.8
        log
        ⁡
        (
        x
        )
        +
        (
        1
        −
        0.8
        )
        log
        ⁡
        (
        1
        −
        x
        )
      
    
    {\displaystyle 0.8\log(x)+(1-0.8)\log(1-x)}
  
.
Expected value of logarithmic rule. When Event 1 is expected to occur with probability of 0.8, the blue line is described by the function 0.8 log ⁡ ( x ) + ( 1 − 0.8 ) log ⁡ ( 1 − x ) {\displaystyle 0.8\log(x)+(1-0.8)\log(1-x)} .
Scoring rule: Score of a binary classification for the true class showing logarithmic (blue), spherical (green), and quadratic (red)
Score of a binary classification for the true class showing logarithmic (blue), spherical (green), and quadratic (red)

Worked examples

Example 1 — a first encounter with Scoring rule

Start with the simplest possible case. Write down what Scoring rule claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Scoring rule before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Scoring rule ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Scoring rule

In research
Scoring rule appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Scoring rule in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Scoring rule is common in secondary-school and first-year university syllabi. It links to neighbouring topics Decision theory, Probability assessment, so understanding it makes those chapters shorter.
In everyday life
Look for Scoring rule outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Scoring rule in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Scoring rule means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Scoring rule out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Scoring rule in simple terms?

In decision theory, both a scoring rule as well as a scoring function provide an ex post summary measure for the evaluation of the quality of a prediction or forecast. They assign a numeric score to a single prediction given the actual outcome.

Why does Scoring rule matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Scoring rule?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Scoring rule.

Tags

  • Decision theory
  • Probability assessment

Keep exploring