{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "02XPXR1FBK"
    },
    {
      "field": "uses",
      "target": "0PVCTCKD3C"
    }
  ],
  "body": "\n## Definition\n\nLet $p \\in [0, 1]$.\nThe Bernoulli distribution with parameter $p$ is the distribution on $\\{0, 1\\}$ with the [[probability mass function|0WF4EJP91W]]\n$$p(1) = p, \\qquad p(0) = 1 - p.$$\nEquivalently, $p(k) = p^k (1 - p)^{1-k}$ for $k \\in \\{0, 1\\}$. One writes $X \\sim \\operatorname{Bernoulli}(p)$.\n\n## Remarks\n\nThe mean is $p$ and the variance is $p(1 - p)$.\nThe indicator $\\mathbf{1}_A$ of an event $A$ has the Bernoulli distribution with parameter $P(A)$.\nIt is the distribution of the outcome of one [[Bernoulli trial|0PHC9FE2V5]], with $1$ for success. It is the [[binomial distribution|0VRWZDWW6B]] with $n = 1$.\n\n## Explanations\n\n### L1 human\n\nThe Bernoulli distribution describes one yes-or-no experiment: $1$ means yes and $0$ means no.\nA fair coin, with $1$ for heads, has the Bernoulli distribution with $p = 1/2$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0386Y0Z7Y7",
    "kind": "definition",
    "msc": [
      "60E05"
    ],
    "name": "Bernoulli distribution",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Bernoulli_distribution"
      }
    ],
    "tag": "0J97P5KZY0",
    "uses": [
      "0WF4EJP91W",
      "0PHC9FE2V5"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0J97P5KZY0/",
  "links": [
    {
      "field": "defines",
      "target": "0386Y0Z7Y7"
    },
    {
      "field": "uses",
      "target": "0WF4EJP91W"
    },
    {
      "field": "uses",
      "target": "0PHC9FE2V5"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0J97P5KZY0.md",
  "msc": [
    "60E05"
  ],
  "name": "Bernoulli distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0J9/0J97P5KZY0.md",
  "status": null,
  "tag": "0J97P5KZY0",
  "uri": "m2://0J97P5KZY0",
  "url": "https://math2.tamnd.com/wiki/bernoulli-distribution-definition/",
  "writing": {
    "tag": "0J97P5KZY0",
    "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
      }
    ]
  }
}
