ArticleslgStudy

mathematics

Stein's example

Stein's example 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 Stein's example rather than just read about it. In short: In decision theory and estimation theory, Stein's example (also known as Stein's phenomenon or Stein's paradox) is the observation that when three or more parameters are estimated simultaneously, there exist combined estimators more accurate on average (that is, having lower expected mean squared error) than any method that handles the parameters separately. It is named after Charles Stein of Stanford University, wh…

Key takeaways

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

Reference excerpt

In decision theory and estimation theory, Stein's example (also known as Stein's phenomenon or Stein's paradox) is the observation that when three or more parameters are estimated simultaneously, there exist combined estimators more accurate on average (that is, having lower expected mean squared error) than any method that handles the parameters separately. It is named after Charles Stein of Stanford University, who discovered the phenomenon in 1955. An intuitive explanation is that optimizing for the mean-squared error of a combined estimator is not the same as optimizing for the errors of separate estimators of the individual parameters. In practical terms, if the combined error is in fact of interest, then a combined estimator should be used, even if the underlying parameters are independent. If one is instead interested in estimating an individual parameter, then using a combined estimator does not help and is in fact worse.

Formal statement The following is the simplest form of the paradox, the special case in which the number of observations is equal to the number of parameters to be estimated. Let 𝜽 be a vector consisting of n≥3 unknown parameters. To estimate these parameters, a single measurement Xi is performed for each parameter θi, resulting in a vector 𝐗 of length n. Suppose the measurements are known to be independent, Gaussian random variables, with mean 𝜽 and variance 1, i.e., 𝐗∼𝒩(𝜽,𝐈n). Thus, each parameter is estimated using a single noisy measurement, and each measurement is equally inaccurate. Under these conditions, it is intuitive and common to use each measurement as an estimate of its corresponding parameter. This so-called "ordinary" decision rule can be written as 𝜽̂=𝐗, which is the maximum likelihood estimator (MLE). The quality of such an estimator is measured by its risk function. A commonly used risk function is the mean squared error, defined as 𝔼[‖𝜽−𝜽̂‖2]. Surprisingly, it turns out that the "ordinary" decision rule is suboptimal (inadmissible) in terms of mean squared error when n≥3. In other words, in the setting discussed here, there exist alternative estimators which always achieve lower mean squared error, no matter what the value of 𝜽 is. For a given 𝜽 one could obviously define a perfect "estimator" which is always just 𝜽, but this estimator would be bad for other values of 𝜽. The estimators of Stein's paradox are, for a given 𝜽, better than the "ordinary" decision rule 𝐗 for some 𝐗 but necessarily worse for others. It is only on average that they are better. More accurately, an estimator 𝜽̂1 is said to dominate another estimator 𝜽̂2 if, for all values of 𝜽, the risk of 𝜽̂1 is lower than, or equal to, the risk of 𝜽̂2, and if the inequality is strict for some 𝜽. An estimator is said to be admissible if no other estimator dominates it, otherwise it is inadmissible. Thus, Stein's example can be simply stated as follows: The "ordinary" decision rule of the mean of a multivariate Gaussian distribution is inadmissible under mean squared error risk. Many simple, practical estimators achieve better performance than the "ordinary" decision rule. The best-known example is the James–Stein estimator, which shrinks 𝐗 towards a particular point (such as the origin) by an amount inversely proportional to the distance of 𝐗 from that point. For a sketch of the proof of this result, see Proof of Stein's example. An alternative proof is due to Larry Brown: he proved that the ordinary estimator for an n-dimensional multivariate normal mean vector is admissible if and only if the n -dimensional Brownian motion is recurrent. Since the Brownian motion is not recurrent for n≥3, the MLE is not admissible for n≥3.

An intuitive explanation For any particular value of 𝜽 the new estimator will improve at least one of the individual mean square errors 𝔼[(θi−θ̂i)2]. This is not hard − for instance, if 𝜽 is between −1 and 1, and σ=1, then an estimator that linearly shrinks 𝐗 towards 0 by 0.5 (i.e., sign⁡(Xi)max⁡(|Xi|−0.5,0), soft thresholding with threshold 0.5) will have a lower mean square error than 𝐗 itself. But there are other values of 𝜽 for which this estimator is worse than 𝐗 itself. The trick of the Stein estimator, and others that yield the Stein paradox, is that they adjust the shift in such a way that there is always (for any 𝜽 vector) at least one Xi whose mean square error is improved, and its improvement more than compensates for any degradation in mean square error that might occur for another θ̂i. The trouble is that, without knowing 𝜽, you don't know which of the n mean square errors are improved, so you can't use the Stein estimator only for those parameters. An example of the above setting occurs in channel estimation in telecommunications, for instance, because different factors affect overall channel performance.

Implications Stein's example is surprising, since the "ordinary" decision rule is intuitive and commonly used. In fact, numerous methods for estimator construction, including maximum likelihood estimation, best linear unbiased estimation, least squares estimation and optimal equivariant estimation, all result in the "ordinary" estimator. Yet, as discussed above, this estimator is suboptimal.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Stein's example

Start with the simplest possible case. Write down what Stein's example 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 Stein's example 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 Stein's example 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 Stein's example

In research
Stein's example 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 Stein's example 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
Stein's example is common in secondary-school and first-year university syllabi. It links to neighbouring topics Estimation theory, Mathematical examples, Statistical paradoxes, so understanding it makes those chapters shorter.
In everyday life
Look for Stein's example 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stein's example” →

How to study Stein's example in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stein's example 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 Stein's example out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stein's example in simple terms?

In decision theory and estimation theory, Stein's example (also known as Stein's phenomenon or Stein's paradox) is the observation that when three or more parameters are estimated simultaneously, there exist combined estimators more accurate on average (that is, having lower expected mean squared e…

Why does Stein's example 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 Stein's example?

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 Stein's example.

Tags

  • Estimation theory
  • Mathematical examples
  • Statistical paradoxes

Keep exploring