{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $X_1, X_2, \\dots$ be [[i.i.d.|00MRN0FARV]] real random variables with $E[X_1] = 0$, $\\sigma^2 = E[X_1^2] \u003e 0$ and $\\rho = E[\\abs{X_1}^3] \u003c \\infty$.\nLet $F_n$ be the [[cumulative distribution function|0H8H7ZTHW2]] of $(X_1 + \\cdots + X_n) / (\\sigma \\sqrt{n})$, and let $\\Phi$ be the cumulative distribution function of the standard [[normal distribution|05AQE0QR0D]].\nThen there is an absolute constant $C$, independent of $n$ and of the law of $X_1$, such that for all $n \\ge 1$,\n$$\\sup_{x \\in \\R} \\abs{F_n(x) - \\Phi(x)} \\le \\frac{C \\rho}{\\sigma^3 \\sqrt{n}}.$$\n\n## Remarks\n\nThe theorem gives a rate for the [[central limit theorem|0EPZC4Z1FC]], which by itself only says that the left side tends to $0$.\nThe classical proof compares characteristic functions and uses Esseen's smoothing inequality, which bounds the distance between two distribution functions by an integral of the difference of their characteristic functions.\nThe best value of $C$ is not known; it is known that one may take $C \u003c 1/2$.\n\nThe rate $n^{-1/2}$ cannot be improved in general.\nLet $X_k$ be $1$ or $-1$ with probability $1/2$ each, so $\\sigma = \\rho = 1$.\nFor even $n$, the variable $S_n = X_1 + \\cdots + X_n$ takes the value $0$ with probability $\\binom{n}{n/2} 2^{-n}$, which is of order $n^{-1/2}$.\nSo $F_n$ has a jump of that size at $0$, while $\\Phi$ is continuous, and the supremum is at least half the jump.\n\n## Explanations\n\n### L1 human\n\nThe central limit theorem says that a standardised sum of many independent copies of a variable has nearly a normal distribution.\nThe Berry–Esseen theorem says how near: the error is at most a constant times $1/\\sqrt{n}$.\nThe bound depends on the law of the variable only through the ratio of its third absolute moment to the cube of its standard deviation.\n\n### L2 human\n\nThe bound turns the normal approximation into a quantitative statement, which matters in statistics when the sample size is fixed.\nIt needs a finite third [[moment|01XAHPADBA]]; with only a finite variance, the convergence in the central limit theorem can be arbitrarily slow.\nThere are versions for independent variables that are not identically distributed, with $\\sum_k E[\\abs{X_k}^3] / s_n^3$ in place of $\\rho / (\\sigma^3 \\sqrt{n})$, and multivariate versions.\nStein's method gives another proof and extends to dependent variables.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "about": [
      "0EPZC4Z1FC",
      "0H8H7ZTHW2"
    ],
    "kind": "statement",
    "msc": [
      "60F05",
      "60E15"
    ],
    "name": "Berry–Esseen theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q1785872",
      "wikipedia": "Berry–Esseen theorem"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Berry%E2%80%93Esseen_theorem"
      }
    ],
    "tag": "H9KTH7B380",
    "uses": [
      "00MRN0FARV",
      "0H8H7ZTHW2",
      "05AQE0QR0D",
      "01XAHPADBA",
      "0477R9PYAE",
      "0EPZC4Z1FC"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/H9KTH7B380/",
  "links": [
    {
      "field": "about",
      "target": "0EPZC4Z1FC"
    },
    {
      "field": "about",
      "target": "0H8H7ZTHW2"
    },
    {
      "field": "uses",
      "target": "00MRN0FARV"
    },
    {
      "field": "uses",
      "target": "0H8H7ZTHW2"
    },
    {
      "field": "uses",
      "target": "05AQE0QR0D"
    },
    {
      "field": "uses",
      "target": "01XAHPADBA"
    },
    {
      "field": "uses",
      "target": "0477R9PYAE"
    },
    {
      "field": "uses",
      "target": "0EPZC4Z1FC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/H9KTH7B380.md",
  "msc": [
    "60F05",
    "60E15"
  ],
  "name": "Berry–Esseen theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/H9K/H9KTH7B380.md",
  "status": null,
  "tag": "H9KTH7B380",
  "uri": "m2://H9KTH7B380",
  "url": "https://math2.tamnd.com/wiki/berry-esseen-theorem/",
  "writing": {
    "tag": "H9KTH7B380",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
