{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(X_t)_{t \\in \\Z}$ be a real weakly [[stationary process|DT0QXJE705]] with mean $\\mu$ and autocovariance $\\gamma$, with $\\gamma(0) \u003e 0$.\nLet $L^2$ be the space of square-integrable random variables.\nFor $t \\in \\Z$ and $h \\ge 2$, let $P_{t,h} Y$ be the [[orthogonal projection|0B8KZRT28M]] in $L^2$ of $Y$ onto the span of $1, X_{t+1}, \\dots, X_{t+h-1}$.\nSo $P_{t,h} Y$ is the best linear predictor of $Y$ from these variables.\nThe *partial autocorrelation function* $\\alpha$ is defined for $h \\ge 1$ by:\n\n1. $\\alpha(1) = \\rho(1)$, where $\\rho$ is the [[autocorrelation function|YCZHYY8VE5]].\n2. For $h \\ge 2$, $\\alpha(h)$ is the [[correlation coefficient|0DNN9B6Q2F]] of $X_{t+h} - P_{t,h} X_{t+h}$ and $X_t - P_{t,h} X_t$.\n\nBy stationarity, $\\alpha(h)$ does not depend on $t$.\n\n## Remarks\n\nEquivalently, $\\alpha(h) = \\phi_{hh}$, the last coefficient of the best linear predictor $\\mu + \\sum_{j=1}^{h} \\phi_{hj} (X_{t+h-j} - \\mu)$ of $X_{t+h}$ from $X_{t+h-1}, \\dots, X_t$, provided the $h \\times h$ matrix $[\\gamma(i - j)]$ is nonsingular.\nThe sample partial autocorrelation is obtained by putting the sample autocovariances into these formulas, for instance by the Durbin–Levinson recursion.\n\nExample: let $X_t = \\phi X_{t-1} + \\varepsilon_t$ be a stationary [[autoregressive model|2JC96FMGA1]] of order $1$ with $\\abs{\\phi} \u003c 1$ and uncorrelated noise $\\varepsilon_t$.\nThen $\\alpha(1) = \\rho(1) = \\phi$.\nFor $h \\ge 2$, the best linear predictor of $X_{t+h}$ from $X_{t+1}, \\dots, X_{t+h-1}$ is $\\phi X_{t+h-1}$, and the residual $\\varepsilon_{t+h}$ is uncorrelated with $X_t - P_{t,h} X_t$, so $\\alpha(h) = 0$.\n\nNon-example: a random walk is not weakly stationary, so clause 1 and clause 2 do not define a function of the lag alone.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "11YRFWD951",
    "kind": "definition",
    "msc": [
      "62M10"
    ],
    "name": "Partial autocorrelation function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Partial_autocorrelation_function"
      }
    ],
    "tag": "T1VJ281P1V",
    "uses": [
      "YCZHYY8VE5",
      "DT0QXJE705",
      "0B8KZRT28M",
      "0DNN9B6Q2F",
      "2JC96FMGA1"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/T1VJ281P1V/",
  "links": [
    {
      "field": "defines",
      "target": "11YRFWD951"
    },
    {
      "field": "uses",
      "target": "YCZHYY8VE5"
    },
    {
      "field": "uses",
      "target": "DT0QXJE705"
    },
    {
      "field": "uses",
      "target": "0B8KZRT28M"
    },
    {
      "field": "uses",
      "target": "0DNN9B6Q2F"
    },
    {
      "field": "uses",
      "target": "2JC96FMGA1"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/T1VJ281P1V.md",
  "msc": [
    "62M10"
  ],
  "name": "Partial autocorrelation function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/T1V/T1VJ281P1V.md",
  "status": null,
  "tag": "T1VJ281P1V",
  "uri": "m2://T1VJ281P1V",
  "url": "https://tamnd.github.io/math2/wiki/partial-autocorrelation-function-definition/",
  "writing": {
    "tag": "T1VJ281P1V",
    "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
      }
    ]
  }
}
