{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $T$ be an event time with values in $[0, \\infty)$ and let $x \\in \\R^p$ be a vector of covariates.\nThe *Cox proportional hazards model* is the following [[statistical model|K3AMMSY8DD]].\nThe conditional [[hazard function|Y959NKQ3XW]] of $T$ given $x$ is\n$$h(t \\mid x) = h_0(t) \\, e^{\\beta^T x}, \\qquad t \\ge 0,$$\nwhere $\\beta \\in \\R^p$ is an unknown parameter and the baseline hazard $h_0 \\colon [0, \\infty) \\to [0, \\infty)$ is an unknown function.\n\n## Remarks\n\nFor two covariate vectors $x$ and $x'$, the hazard ratio $h(t \\mid x) / h(t \\mid x') = e^{\\beta^T (x - x')}$ does not depend on $t$; this is the proportional hazards property.\nEquivalently, the survival functions satisfy $S(t \\mid x) = S_0(t)^{e^{\\beta^T x}}$, where $S_0$ is the baseline survival function.\n\nGiven right-[[censored|MY8ZZP84NP]] data $(\\tilde t_i, \\delta_i, x_i)$ without tied times, $\\beta$ is estimated by maximising the partial [[likelihood|0VW9E4QXR6]]\n$$L(\\beta) = \\prod_{i \\,:\\, \\delta_i = 1} \\frac{e^{\\beta^T x_i}}{\\sum_{j \\,:\\, \\tilde t_j \\ge \\tilde t_i} e^{\\beta^T x_j}}.$$\n\nExample: the Weibull model with shape $k \u003e 0$ and hazard $h(t \\mid x) = k t^{k-1} \\lambda^{-k} e^{\\beta^T x}$ is a proportional hazards model with $h_0(t) = k t^{k-1} \\lambda^{-k}$.\n\nNon-example: if a treatment has hazard $h_1(t) = 2t$ and the control has $h_0(t) = 1$, the ratio $2t$ changes with time and the curves cross at $t = 1/2$.\nNo constant $\\beta$ satisfies $h_1 = h_0 e^{\\beta}$, so these two groups do not follow a proportional hazards model.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "N029V3JX60",
    "kind": "definition",
    "msc": [
      "62N01",
      "62N02",
      "62J12"
    ],
    "name": "Proportional hazards model",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Proportional_hazards_model"
      }
    ],
    "tag": "XAANCQH8A4",
    "uses": [
      "Y959NKQ3XW",
      "MY8ZZP84NP",
      "0VW9E4QXR6",
      "K3AMMSY8DD"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/XAANCQH8A4/",
  "links": [
    {
      "field": "defines",
      "target": "N029V3JX60"
    },
    {
      "field": "uses",
      "target": "Y959NKQ3XW"
    },
    {
      "field": "uses",
      "target": "MY8ZZP84NP"
    },
    {
      "field": "uses",
      "target": "0VW9E4QXR6"
    },
    {
      "field": "uses",
      "target": "K3AMMSY8DD"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/XAANCQH8A4.md",
  "msc": [
    "62N01",
    "62N02",
    "62J12"
  ],
  "name": "Proportional hazards model",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/XAA/XAANCQH8A4.md",
  "status": null,
  "tag": "XAANCQH8A4",
  "uri": "m2://XAANCQH8A4",
  "url": "https://tamnd.github.io/math2/wiki/proportional-hazards-model-definition/",
  "writing": {
    "tag": "XAANCQH8A4",
    "kind": "definition",
    "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
      }
    ]
  }
}
