{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "087P03NEND"
    },
    {
      "field": "uses",
      "target": "0EE19CFEEF"
    }
  ],
  "body": "\n## Definition\n\nConsider a [[hypothesis test|087P03NEND]] of $H_0 \\colon \\theta \\in \\Theta_0$ against $H_1 \\colon \\theta \\in \\Theta_1$ that rejects $H_0$ when the data $X$ are in a rejection region $R$.\nA type I error occurs when $H_0$ is true and the test rejects $H_0$. Its probability at $\\theta \\in \\Theta_0$ is $P_\\theta(X \\in R)$.\nA type II error occurs when $H_0$ is false and the test does not reject $H_0$. Its probability at $\\theta \\in \\Theta_1$ is $\\beta(\\theta) = P_\\theta(X \\notin R)$.\n\n## Remarks\n\nThe size of the test is $\\alpha = \\sup_{\\theta \\in \\Theta_0} P_\\theta(X \\in R)$.\nThe power of the test at $\\theta \\in \\Theta_1$ is $1 - \\beta(\\theta)$.\nFor a fixed sample size, a smaller rejection region lowers the probability of a type I error. It raises the probability of a type II error.\nIn the frequentist practice, one fixes a bound $\\alpha$ on the type I error, and then chooses a test with a small type II error.\n\n## Explanations\n\n### L1 human\n\nA type I error is a false alarm: the test says \"effect\" when there is none. A type II error is a miss: the test says \"no effect\" when there is one.\nFor a medical test, a positive result for a healthy person is a type I error. A negative result for an ill person is a type II error.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "03N8C8ZR4B",
    "kind": "definition",
    "msc": [
      "62F03"
    ],
    "name": "Type I and type II errors",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Type_I_and_type_II_errors"
      },
      {
        "locator": "Error rate",
        "url": "https://en.wikipedia.org/wiki/Type_I_and_type_II_errors"
      }
    ],
    "tag": "0R41PVFA39",
    "uses": [
      "087P03NEND"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0R41PVFA39/",
  "links": [
    {
      "field": "defines",
      "target": "03N8C8ZR4B"
    },
    {
      "field": "uses",
      "target": "087P03NEND"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0R41PVFA39.md",
  "msc": [
    "62F03"
  ],
  "name": "Type I and type II errors",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0R4/0R41PVFA39.md",
  "status": null,
  "tag": "0R41PVFA39",
  "uri": "m2://0R41PVFA39",
  "url": "https://math2.tamnd.com/wiki/type-i-and-type-ii-errors-definition/",
  "writing": {
    "tag": "0R41PVFA39",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
