{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0DB0R4N5XX"
    },
    {
      "field": "uses",
      "target": "0MXCP7MXWJ"
    },
    {
      "field": "uses",
      "target": "0XN7KEVSSS"
    },
    {
      "field": "uses",
      "target": "0ZAZZ34WQS"
    }
  ],
  "body": "\n## Definition\n\nLet $p \\in (0, 1]$.\nThe geometric distribution with parameter $p$ is the distribution on $\\{0, 1, 2, \\dots\\}$ with the [[probability mass function|0WF4EJP91W]]\n$$p(k) = (1 - p)^k \\, p \\quad \\text{for } k = 0, 1, 2, \\dots$$\n\n## Remarks\n\nIt is the distribution of the number of failures before the first success in independent [[Bernoulli trials|0PHC9FE2V5]] with success probability $p$.\nThe other common convention counts the trials up to and including the first success. That number $Y = X + 1$ has $P(Y = k) = (1 - p)^{k-1} p$ for $k \\ge 1$.\nFor $X$ as in the definition, $P(X \\ge k) = (1 - p)^k$, the mean is $(1 - p)/p$ and the variance is $(1 - p)/p^2$.\nThe geometric distribution is the only distribution on $\\{0, 1, 2, \\dots\\}$ with the [[memoryless property|0ZAZZ34WQS]].\n\n## Explanations\n\n### L1 human\n\nToss a coin until the first head. The number of tails before it has the geometric distribution.\nEach extra tail multiplies the probability by $1 - p$, so the probabilities form a geometric sequence.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "04P2SR252N",
    "kind": "definition",
    "msc": [
      "60E05"
    ],
    "name": "Geometric distribution",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Geometric_distribution"
      }
    ],
    "tag": "0XCVV5Q500",
    "uses": [
      "0WF4EJP91W",
      "0PHC9FE2V5"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0XCVV5Q500/",
  "links": [
    {
      "field": "defines",
      "target": "04P2SR252N"
    },
    {
      "field": "uses",
      "target": "0WF4EJP91W"
    },
    {
      "field": "uses",
      "target": "0PHC9FE2V5"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0XCVV5Q500.md",
  "msc": [
    "60E05"
  ],
  "name": "Geometric distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0XC/0XCVV5Q500.md",
  "status": null,
  "tag": "0XCVV5Q500",
  "uri": "m2://0XCVV5Q500",
  "url": "https://math2.tamnd.com/wiki/geometric-distribution-definition/",
  "writing": {
    "tag": "0XCVV5Q500",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
