Absolute-error loss Created 2026-10-05 Updated 2026-10-14
The loss for estimating a real parameter by . Its risk of a decision rule is the corresponding expected value. Unlike squared-error loss, its pointwise size is a metric, so the triangle inequality gives a direct overlap version of the Le Cam two-point lemma.
Bayesian credibility Created 2026-10-14 Updated 2026-11-05
Bayesian credibility estimates a risk's conditional expectation by its Bayesian posterior expected value under squared-error loss. When that posterior mean is an affine combination of exposure-weighted individual experience and a prior mean, the coefficient of the experience is its credibility factor. Exact Bayesian credibility is distinct from merely selecting the best affine estimator when the true posterior mean is nonlinear.
Brier score 2026-10-14
The binary Brier score applies squared-error loss to a reported success probability and the observed indicator . It is a loss, so smaller is better. Its values lie in : predicting the outcome with certainty gives zero, while assigning it zero probability gives one. Unlike the logarithmic scoring rule loss, the binary Brier score remains bounded even for a confidently wrong forecast.
For a Bernoulli distribution with true success probability , averaging the two squared losses gives
The report controls only ; the remaining term is the variance of the Bernoulli random variable. Consequently the Brier score is a strictly proper scoring rule. At , the expected loss is , with unique minimum at . Reporting instead gives expected loss , despite its better loss on the particular outcome above.
For several possible categories, the Brier score sums the squared differences between reported probabilities and observed category indicators. With two categories that sum is , so its numerical values are twice the binary convention used here, with the same optimizing report. Brier's original [ref] averages these category-sum losses over forecasts. Strictly Proper Scoring Rules, Prediction, and Estimation by Tilmann Gneiting and others (Section 3.1, Example 1, and Table 1) gives the category-sum and binary forms as negative rewards; negating them gives the losses described here.
Charles M. Stein Created 2026-10-18 Updated 2026-11-05
Charles M. Stein changed the theory of estimation by showing that estimating several normal means together can permit improvement over their separate usual estimates under a combined squared-error loss. The James–Stein estimator expresses this phenomenon through shrinkage: introducing bias can lower the total mean squared error when variance is reduced sufficiently. The guarantee concerns the specified aggregate loss, rather than promising a better estimate for every coordinate in every dataset.
Stein also developed tools connecting normal distributions, derivatives and probability approximations. With Bradley Efron, he coauthored The Jackknife Estimate of Variance by Bradley Efron and Charles M. Stein, a source associated with the Efron–Stein inequality. His Stanford obituary records his mathematical career and death in 2016.[ref]
Figure 1.
Portrait of Charles M. Stein
.
Cross-validation Created 2026-09-24 Updated 2026-10-14
Cross-validation estimates predictive performance by repeatedly fitting on one part of the data and evaluating on held-out observations. In K-fold cross-validation, divide training data into disjoint folds ; identifies observation 's fold, and is fitted without fold . The displayed average scores each observation using a rule that did not train on it. Weight by observation count when fold sizes differ. Leave-one-out cross-validation uses one observation per fold. [ref]
For the training error example, three folds contain indices with equal remainder modulo 3. Each fit uses eight observations. The squared-error loss averages for degrees 1, 2, and 7 are , , and respectively. Select degree 2 and refit on all twelve training data observations. The folds reuse scarce data while challenging each candidate to predict unseen responses; they do not touch the final test set.
Any learned preprocessing, including variable selection, must also be fitted within each training fold to avoid data leakage. [ref] Repeated tuning can itself overfit the cross-validation score; nested cross-validation uses inner folds for model selection and outer folds for assessment of that entire procedure. [ref]
Folds use fewer training observations than the final refit, and their scores are dependent because training observations overlap. [ref] Splitting must match deployment: for time series forecasting, rolling-origin cross-validation trains on the past and evaluates later observations, preventing future information from entering a forecast. Ordinary random folds need not answer that forecasting question. [ref]
Estimating Bernoulli variance Created 2026-10-14 Updated 2026-11-05
For independent Bernoulli observations with sum , the extended maximum-likelihood estimator is . Its unbiased improvement is , obtained by conditioning on . The Rao-Blackwell theorem gives strict variance reduction for . With a uniform prior on and squared-error loss for , the Bayes estimator is . For parameter space strictly , samples with or have only a boundary likelihood supremum, not an attained maximum.
Gamma-exponential conjugacy Created 2026-09-24 Updated 2026-10-03
A gamma prior with shape and rate combined with independent observations from an exponential distribution of rate gives the posterior
Under squared-error loss, the Bayes estimator is its posterior mean .
Laplace location and scale maximum likelihood Created 2026-10-18 Updated 2026-10-25
Suppose , , are independent and identically distributed with Laplace distribution , where . For realized values , the likelihood function and log-likelihood function are
For fixed , maximum likelihood estimation of the location therefore minimizes the sum of absolute losses. This connects the Laplace distribution to robust statistics: each observation contributes a cost growing linearly with its distance, whereas squared-error loss grows quadratically.
Why does a sample median minimize ? Between successive order statistics, moving a little to the right increases each distance to a value on the left and decreases each distance to a value on the right. Hence the slope is the number on the left minus the number on the right. It changes from negative to positive at the middle. More precisely, if , all minimizing locations are
For an even sample size, the objective is flat throughout the interval between the two central order statistics. The midpoint convention for the sample median selects one solution; it does not prove uniqueness. [ref] This is the finite-sample counterpart of median minimizes expected absolute loss.
If , maximizing over gives
The derivative is positive below this value and negative above it. Moreover the maximized likelihood function is proportional to wherever , so the same minimizing locations give the joint maximum-likelihood estimates. [ref] The scale estimate divides by ; this formula is not an assertion that it is an unbiased estimator.
The boundary case matters: if all observations equal , choose . Then and as . There is no finite joint maximum-likelihood estimate in the parameter space . In particular, this always occurs for . Writing does not produce an admissible Laplace distribution.
Laplace regression Created 2026-09-24 Updated 2026-10-18
For linear regression with fixed predictor vectors , assume conditionally independent responses with a common scale :
Each conditional median and mean is . The log-likelihood function is , so maximum likelihood estimation minimizes the sum of absolute regression residuals:
This is least absolute deviations. With only an intercept, it reduces to the Laplace location and scale maximum likelihood problem, so a sample median is a fitted intercept. Provided the minimum , the scale estimate is ; the conditional standard deviation is . If the scale is denoted instead of , the conditional standard deviation is .
Minimizing a sum of absolute losses does not automatically give a unique coefficient vector. Even an intercept-only fit to an even sample size can have an interval of solutions, and redundant predictor columns can introduce further nonuniqueness. If a fit makes every regression residual zero, the joint likelihood function is unbounded as , so there is no finite joint maximum-likelihood estimate with positive scale.
The linear growth of absolute loss limits sensitivity to an extreme response at fixed predictors compared with squared-error loss. It does not protect against every outlier: an extreme predictor can have large regression leverage. The numerical example above changes a response in an intercept-only problem, and makes no general claim of immunity to such predictor changes.
M-estimator Created 2026-09-28 Updated 2026-11-05
An M-estimator chooses a parameter by minimizing an empirical objective:
Here is a loss function. For scalar location, squared-error loss gives the sample mean, absolute-error loss gives a sample median, and Huber loss gives a Huber location estimator.
At an interior minimum of a differentiable objective, the estimating equation is , where . A root need not be a global minimizer for a nonconvex objective: zero is a stationary point of , but the minima are at . For a differentiable convex function, a zero derivative is sufficient for global minimality.
Thus the loss-minimization and estimating-equation formulations require an explicit relation between their solutions. The sandwich variance of an M-estimator describes regular estimating-equation roots; choosing a robust loss does not itself establish the regularity or uniqueness needed for that calculation. Peter J. Huber's original location criterion is a central historical example.[ref]
Minimax rate for isotonic sequence estimation Created 2026-09-28 Updated 2026-11-05
For a concrete isotonic regression model, observe with independent Gaussian distribution errors of expected value zero and fixed variance . Let for fixed , and use normalized squared-error loss . The minimax risk over has order
as with fixed. This states the model and loss behind the shorthand rate .
The isotonic least squares estimator satisfies an upper bound of order . Locally increasing sequences supply matching lower bounds for the first term. The primary analysis also shows why a worst-case rate does not describe every signal: when the true sequence has few constant blocks, the risk can be substantially smaller.[ref]
A heuristic for the exponent is to approximate a changing monotone signal by blocks: squared approximation error scales as , while estimating block levels costs approximately . Balancing these gives and risk . This balance motivates the rate; it does not replace the lower-bound argument. Uniformly constant signals or a variation bound shrinking with require their own regime analysis.
Normal-normal credibility Created 2026-10-14 Updated 2026-11-05
conditionally independent normal distribution observations of mean and known variance , with normal prior mean and variance , give normal-normal conjugacy with known observation variance. Their posterior mean has the displayed exact credibility estimate form. It minimizes posterior squared-error loss and predicts the conditional expectation of the next observation.
For an observed , the continuous uniform distribution likelihood is , with . Multiplying by the stated prior cancels the factor , giving . Its integral over the permitted parameter values is . Hence the posterior distribution is
This is the exponential posterior for a uniform endpoint. Its posterior mean is and its variance is one. The posterior expected squared-error loss decomposes as
Since , its unique minimum occurs at the Bayes estimate . The positive loss multiplier changes the risk, not the optimizing action.
For any prior density , the Bayes estimate under squared-error loss is the posterior mean:
For the matched beta distribution, the integrals are beta integrals and their ratio is
The posterior mean minimizes posterior expected squared error because . The phrase Bayes point estimate depends on the loss: under absolute-error loss it would be a posterior median, while the posterior mode is a different summary and here equals .
A beta distribution is a convenient prior for a probability and is conjugate to the binomial distribution of the death count. Match its mean and variance . For ,
The moment matching for a beta prior formula gives
Conditional on , use and the observed count . Multiplying its likelihood by the prior density gives the Bayesian posterior through Beta-binomial conjugacy:
Under squared-error loss, take its posterior mean as the point estimate. A 95% equal-tail credible interval is given by its 0.025 and 0.975 quantiles. Numerically,
Matching two moments does not uniquely determine a prior distribution; the beta family is a justified convenient choice, not a conclusion forced by those moments. Its transfer to this hospital presumes that the historical between-hospital distribution is relevant to the present risk and case mix.
Use a hierarchical Bayesian model with binomial observation errors and a common distribution for the underlying risks:
Give a shared hyperprior, or parameterize them by mean and concentration and put priors on and . Conditional on these hyperparameters, the risks are independent and identically distributed; after integrating them out they are exchangeable random variables with shared uncertainty. The data estimate the overall risk level and between-hospital variation. Conditional Beta-binomial conjugacy gives
and full Bayes point estimates under squared-error loss are
An Empirical Bayes method instead estimates the hyperparameters from the marginal beta-binomial distribution likelihood
and inserts their fitted values in the conditional posterior means. Both approaches provide partial pooling, stronger for smaller hospitals. Full Bayes also propagates hyperparameter uncertainty into the credible intervals. If systematic covariates are needed, one can place exchangeable residual effects in a logistic regression model rather than assuming a common unconditional risk distribution.
A credibility premium estimates a risk's expected future claims by combining its own observed experience with a collective or prior mean. In its basic form , the credibility factor is the weight assigned to individual experience. Larger credibility places less weight on pooling with the population. The amounts below are pure expected-claim premiums; no additional expense or profit loading is specified.
Under squared-error loss, the posterior risk for estimating the unknown conditional mean by is
Hence the Bayes estimator under squared error loss is the posterior mean. In the equal-year model, conditional independence makes the likelihood proportional to . Combining it with the normal prior and completing the square gives
Because , the required estimator is ; it also equals the predictive mean . The normal-normal credibility expression is
This is exact Bayesian credibility, not merely the best linear approximation to a possibly nonlinear posterior mean.
For unequal life counts use the usual exposure model: individual-life losses are conditionally independent with variance , and the annual totals are conditionally independent given the same . Then
The dot denotes the stipulated normal approximation. The positive exposures are known. Define total past exposure and its experience mean by
The normal log-likelihood has quadratic term . With the prior , normal-normal conjugacy with unequal exposures gives posterior variance and mean
Therefore the estimated pure premium per life for year has the normal-normal credibility with unequal exposures form
It is also an exact normal-model Bühlmann–Straub credibility estimate. The individual experience is exposure-weighted: the unweighted mean of the yearly per-life observations would generally discard the different precisions.
For positive , differentiation gives
Thus increasing the prior variance increases credibility, because greater between-risk heterogeneity makes the collective mean less representative of this risk. Increasing the individual process variance decreases credibility, because a fixed amount of observed experience becomes noisier. The future exposure supplies no new observation, so it does not enter . It only scales the total premium:
The independent-life variance scaling is part of the usual exposure interpretation. Without it, a known variance for one life does not determine the variance of a total: a common pairwise conditional covariance would add to . Similarly, cross-year conditional dependence would change the joint likelihood. Those assumptions are implicit in applying the standard credibility model to the final paragraph.
Under squared-error loss, the posterior expected loss decomposes as
It is uniquely minimized by the posterior mean. Integrating the Gamma posterior gives . Hence the Bayes estimator is
A credibility estimate combines a risk's observed experience with collective or prior information, typically as . The credibility factor is the weight assigned to the individual experience: more reliable or more extensive data generally increases it. Bayesian credibility treats the risk parameter as random with a prior distribution and predicts future claims by averaging the conditional claim mean under its posterior distribution. Under squared-error loss this posterior predictive mean is optimal. It need not be an affine combination in every Bayesian model; the Poisson-gamma conjugacy calculation below yields that credibility form exactly, rather than as a best-linear approximation.
The uniform prior and likelihood give the posterior density
a Beta distribution with parameters . Under squared-error loss for , the posterior expected loss is , minimized uniquely at the posterior mean of , not at the product of the two posterior mean factors.
Using the supplied beta integral,
Thus the Bayes estimate is
This remains positive even on the endpoint samples, unlike the extended MLE; it integrates over the posterior uncertainty in .