Math 2.0

Statistics Bayesian inference Counterexample

Lindley's paradox

Builds on Bayes factorP-valueNormal distribution

Counterexample

Let X1,…,XnX_1, \dots, X_n be i.i.d. normal 𝒩(θ,1)\mathcal{N}(\theta, 1), so that Xˉn∼𝒩(θ,1/n)\bar{X}_n \sim \mathcal{N}(\theta, 1/n). Test H0 ⁣:θ=0H_0 \colon \theta = 0 against H1 ⁣:θ≠0H_1 \colon \theta \ne 0. Suppose the data give n xˉn=z\sqrt{n}\,\bar{x}_n = z with z=1.96z = 1.96, for every nn. The two-sided p-value is then P(∣Z∣≥1.96)≈0.05P(\abs{Z} \ge 1.96) \approx 0.05 for Z∼𝒩(0,1)Z \sim \mathcal{N}(0, 1), whatever nn is. So a test of level 0.050.05 is at the edge of rejecting H0H_0 for every nn. For the Bayesian comparison, give θ\theta the prior 𝒩(0,τ2)\mathcal{N}(0, \tau^2) under H1H_1, with τ>0\tau > 0 fixed. Under H0H_0 the density of Xˉn\bar{X}_n is that of 𝒩(0,1/n)\mathcal{N}(0, 1/n), and under H1H_1 it is that of 𝒩(0,τ2+1/n)\mathcal{N}(0, \tau^2 + 1/n). A direct computation gives the Bayes factor of H0H_0 against H1H_1: B01=1+nτ2 exp⁡(−z22⋅nτ21+nτ2).B_{01} = \sqrt{1 + n\tau^2} \, \exp\left(-\frac{z^2}{2} \cdot \frac{n\tau^2}{1 + n\tau^2}\right). As n→∞n \to \infty with zz fixed, B01→∞B_{01} \to \infty. So for any prior probability P(H0)∈(0,1)P(H_0) \in (0, 1), the posterior probability of H0H_0 tends to 11, while the p-value stays at 0.050.05.

Remarks

The p-value and the posterior probability answer different questions, and for large samples they can point in opposite directions. For large nn, a fixed zz means that xˉn\bar{x}_n is very close to 00. Such a value is much better explained by θ=0\theta = 0 than by a θ\theta spread over a range of width about τ\tau. The conflict also depends on the prior: as τ→∞\tau \to \infty with nn fixed, B01→∞B_{01} \to \infty as well, so a vague prior under H1H_1 favours H0H_0.

Reading path

To understand this page from the ground up, read these 75 pages in order. The foundations come first.

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Integers object
  4. Ordered field definition
  5. Proposition concept
  6. Random experiment concept
  7. Rational numbers object
  8. Real numbers object
  9. Set definition
  10. Ring of integers statement
  11. Conjunction definition
  12. Disjunction definition
  13. Implication definition
  14. Predicate definition
  15. Empty set object
  16. Family of sets definition
  17. Ordered pair definition
  18. Intersection definition
  19. Union definition
  20. Sample space definition
  21. The rationals form a field statement
  22. Existential quantifier definition
  23. Universal quantifier definition
  24. Disjoint sets definition
  25. Cartesian product definition
  26. Subset definition
  27. Union of a family of sets definition
  28. The rationals form an ordered field statement
  29. Uniqueness quantifier definition
  30. Universal set definition
  31. Binary relation definition
  32. Partition of a set definition
  33. Order on the reals definition
  34. Power set definition
  35. Complement definition
  36. Function definition
  37. Interval definition
  38. Injective function definition
  39. Indicator function definition
  40. Preimage of a set definition
  41. Sigma-algebra definition
  42. Countable set definition
  43. Event definition
  44. Borel sigma-algebra definition
  45. Probability axioms concept
  46. Probability measure definition
  47. Probability distribution definition
  48. Dirac measure definition
  49. Probability space definition
  50. Conditional probability definition
  51. Random variable definition
  52. Cumulative distribution function definition
  53. Discrete random variable definition
  54. Law of a random variable definition
  55. Independence of two events definition
  56. Law of total probability statement
  57. Random variable with a density definition
  58. Probability mass function definition
  59. Bayes' theorem statement
  60. Identically distributed random variables definition
  61. Mutual independence of events definition
  62. Probability density function definition
  63. Prior probability concept
  64. Continuous uniform distribution definition
  65. Independent sigma-algebras definition
  66. Density of the normal distribution definition
  67. Independence of random variables definition
  68. Normal distribution definition
  69. Independent and identically distributed random variables definition
  70. Statistic definition
  71. Likelihood function definition
  72. Statistical hypothesis test concept
  73. Bayes factor definition
  74. P-value definition
  75. Lindley's paradox counterexample

Further reading

  1. Web https://en.wikipedia.org/wiki/Lindley%27s_paradox
About this page
Tag75P3EJPH81
URIm2://75P3EJPH81
Kindcounterexample
WritingW0 stub
MSC62F15, 62F03
UsesBayes factor, P-value, Normal distribution
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)
  • edge refutes or not_instance_of out (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.