How this calculation works
Probability forecasts can be evaluated through their average Brier loss and a decomposition into reliability, resolution and uncertainty. Exact Murphy decomposition groups identical forecast probabilities. A reliability diagram can also use display bins, but grouping different probabilities changes the score decomposition and must be kept separate from the raw forecast loss.
BS=mean((p−y)²)=REL−RES+UNC for equal-probability groups; REL=Σw_g(p_g−o_g)²,RES=Σw_g(o_g−overall_rate)²,UNC=overall_rate(1−overall_rate).A worked example
Five forecasts at0.2with one success, and five at0.8with four successes, have Brier score0.16. Their observed group rates equal their forecasts, so reliability is0, resolution is0.09and uncertainty is0.25:0−0.09+0.25=0.16.
Good to know
2–5000 probability/outcome pairs with p in[0,1], outcome0/1 and at most200 distinct forecast probabilities. Exact Murphy decomposition groups identical probability values. Optional display-only binning reports its own grouped score and the difference from the raw score; never present a binned three-term identity as exact for varying within-bin forecasts. No causal interpretation, censoring adjustment, optimism correction or guaranteed recalibration improvement.
Reference: Allan H. Murphy, A New Vector Partition of the Probability Score (opens in a new tab) ↗
Evaluate probabilities rather than hard labels
A probability forecast can distinguish modest uncertainty from strong confidence even when both predictions lead to the same binary classification. The Brier score averages squared differences between forecast probabilities and zero-or-one outcomes. Lower values indicate smaller squared probability loss on the evaluated sample, but the scalar score alone does not explain why one collection of forecasts performs differently from another.
Murphy decomposition separates three empirical features: calibration reliability, resolution and inherent outcome uncertainty. These are descriptive summaries of the supplied forecast-outcome pairs. They do not by themselves remove training-set optimism, account for a deployment distribution shift or establish that a forecast model will retain the same performance on future cases.
Compare this with the Time dependent Brier score calculator with right censoring. Decompose uncensored binary probability forecasts into reliability, resolution and uncertainty and draw a reliability diagram. The existing censored-survival Brier page applies IPCW to event-time predictions; it does not perform forecast calibration decomposition.
Keep forecast and outcome rows aligned
Each input row contains one probability between zero and one and the corresponding binary outcome. The forecast must have been available before that outcome under the intended evaluation workflow. A probability reconstructed after seeing the outcome is not an honest prospective forecast. Missing outcomes, censoring or survival probabilities require a different evaluation method rather than silently omitted denominators.
Exact decomposition groups identical forecast probabilities and records each group’s number of cases and observed event fraction. Distinct floating probability values can create many tiny groups; this affects the usefulness of the reliability diagram even when the algebra is correct. Display bins may help visualization, but their approximating role must remain explicitly identified.
Calculate reliability, resolution and uncertainty
Reliability is the weighted squared difference between each distinct forecast probability and its observed event rate. Resolution is the weighted squared difference between those group event rates and the overall event fraction. Uncertainty is the overall Bernoulli variance. Combining reliability minus resolution plus uncertainty reproduces the empirical Brier score for these exact probability groups.
The signs matter: better empirical resolution lowers the combined score, while miscalibration raises it. Uncertainty depends on the observed outcome mix and therefore can differ across datasets even for identical forecasting methods. Comparing isolated Brier scores from populations with different event frequencies should account for that changed baseline rather than treating every difference as a calibration improvement.
Check the two-probability example
The default data contain five forecasts at0.2with one positive outcome and five forecasts at0.8with four positive outcomes. Each group’s observed rate exactly equals its forecast. Reliability is therefore zero. The overall event rate is0.5, so uncertainty is0.25and each group lies0.3away from the overall event rate, giving resolution0.09.
The identity gives Brier score0minus0.09plus0.25, or0.16. Direct evaluation gives the same result: eight rows have squared error0.04and two rows have squared error0.64, so the average is(8×0.04+2×0.64)/10. The reliability diagram places both group points on the diagonal without implying that their small observed group frequencies are known population probabilities.
Separate exact groups from optional display bins
When probabilities differ within a display bin, replacing them by their bin mean changes the forecast vector. The familiar three-term identity then describes that grouped forecast score, not automatically the raw individual-probability score. The page should report both quantities and their difference if it provides binned display summaries. Silently calling the two scores identical is an avoidable interpretation error.
A display point combines a bin’s mean forecast probability with its observed event rate and sample count. Its position can depend strongly on chosen boundaries. Sparse or empty bins provide limited information and should not be smoothed into a claim of reliable calibration. Exact probability-group results remain available so the identity can be checked independently of visualization choices.
Use algebraic and transformed-data checks
Compute the raw Brier score directly from every row, then independently sum the decomposition terms from exact groups. The residual should be close to zero. Complementing every forecast and outcome should preserve the score and each decomposition term. Perfect zero-or-one forecasts should produce zero loss, while a constant forecast has no empirical resolution between probability groups.
Test all-one outcomes, all-zero outcomes, probabilities at the endpoints and deliberately miscalibrated repeated values. A separate test with varying probabilities inside one display bin checks whether the implementation distinguishes the grouped score from the raw score. These checks expose sign, weighting and binning mistakes without relying on another implementation of the same table-building routine.
Do not confuse evaluation with automatic recalibration
A reliability diagram can motivate recalibration, but evaluating the recalibrated probabilities on the same data used to fit that adjustment can overstate performance. This calculator does not fit an isotonic or logistic recalibration model or produce a guarantee of future improvement. It summarizes the entered forecasts using the declared grouping rules.
The time-dependent censored-survival Brier score handles another data structure, using censoring weights and event-time horizons. It does not supply the uncensored forecast reliability decomposition computed here. Report the evaluation sample, outcome definition, probability-group or bin convention and whether forecasts were assessed out of sample before turning the decomposition into a practical model comparison.
A few questions, answered
Is a Brier score a classification accuracy?
No. It measures squared probability error and distinguishes probability forecasts that would produce the same hard class label.
Why can a binned identity differ from the raw score?
Replacing varying probabilities by their bin means changes the forecast vector. The grouped decomposition must be distinguished from the raw per-row loss.
Does zero sample reliability prove calibration?
No. It describes agreement of group probabilities and sample event fractions on the evaluated data, not a population guarantee.
Can I enter censored survival outcomes?
This page uses uncensored binary outcomes. Event-time censoring requires an appropriate separate weighting and horizon convention.