{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X$ be a real random variable with [[moment-generating function|0NNRNGKMFM]] $M_X$.\nThe cumulant generating function of $X$ is\n$$K_X(t) = \\ln M_X(t) = \\ln E\\left[e^{tX}\\right],$$\nfor each $t \\in \\mathbb{R}$ with $M_X(t) \u003c \\infty$.\nIf $M_X$ is finite on an open interval around $0$, the cumulants $\\kappa_n$ of $X$ are the coefficients in $K_X(t) = \\sum_{n=1}^{\\infty} \\kappa_n t^n / n!$, so $\\kappa_n = K_X^{(n)}(0)$.\n\n## Remarks\n\nThe first cumulants are $\\kappa_1 = E[X]$, $\\kappa_2 = \\operatorname{Var}(X)$ and $\\kappa_3 = E[(X - E[X])^3]$.\nFor independent $X$ and $Y$, $K_{X+Y} = K_X + K_Y$ by the [[product rule for moment-generating functions|0WRZ170YEH]]. So cumulants of independent sums add.\nFor $X \\sim \\mathcal{N}(\\mu, \\sigma^2)$, $K_X(t) = \\mu t + \\sigma^2 t^2 / 2$. For $X \\sim \\operatorname{Poisson}(\\lambda)$, $K_X(t) = \\lambda(e^t - 1)$, so all cumulants equal $\\lambda$.\n$K_X$ is convex on the interval where it is finite.\n\n## Explanations\n\n### L1 human\n\nTaking the logarithm turns products into sums. So the cumulant generating function of a sum of independent variables is the sum of their cumulant generating functions.\nThis makes cumulants convenient for sums, for example in the central limit theorem.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0N2SP6K9ZC",
    "kind": "definition",
    "msc": [
      "60E10"
    ],
    "name": "Cumulant generating function",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Cumulant"
      }
    ],
    "tag": "0Q2QC81VTW",
    "uses": [
      "0NNRNGKMFM",
      "0STK8KEY9G",
      "0WRZ170YEH"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0Q2QC81VTW/",
  "links": [
    {
      "field": "defines",
      "target": "0N2SP6K9ZC"
    },
    {
      "field": "uses",
      "target": "0NNRNGKMFM"
    },
    {
      "field": "uses",
      "target": "0STK8KEY9G"
    },
    {
      "field": "uses",
      "target": "0WRZ170YEH"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0Q2QC81VTW.md",
  "msc": [
    "60E10"
  ],
  "name": "Cumulant generating function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0Q2/0Q2QC81VTW.md",
  "status": null,
  "tag": "0Q2QC81VTW",
  "uri": "m2://0Q2QC81VTW",
  "url": "https://math2.tamnd.com/wiki/cumulant-generating-function-definition/",
  "writing": {
    "tag": "0Q2QC81VTW",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
