|
| 1 | +--- |
| 2 | +layout: definition |
| 3 | +mathjax: true |
| 4 | + |
| 5 | +author: "Kenneth Petrykowski" |
| 6 | +affiliation: "KU Leuven" |
| 7 | +e_mail: "kenneth.petrykowski@gmail.com" |
| 8 | +date: 2020-10-13 01:20:00 |
| 9 | + |
| 10 | +title: "Chi-square distribution" |
| 11 | +chapter: "Probability Distributions" |
| 12 | +section: "Univariate continuous distributions" |
| 13 | +topic: "Chi-square distribution" |
| 14 | +definition: "Definition" |
| 15 | + |
| 16 | +sources: |
| 17 | + - authors: "Wikipedia" |
| 18 | + year: 2020 |
| 19 | + title: "Chi-square distribution" |
| 20 | + in: "Wikipedia, the free encyclopedia" |
| 21 | + pages: "retrieved on 2020-10-12" |
| 22 | + url: "https://en.wikipedia.org/wiki/Chi-square_distribution#Definitions" |
| 23 | + - authors: "Robert V. Hogg, Joseph W. McKean, Allen T. Craig" |
| 24 | + year: 2018 |
| 25 | + title: "The χ2-Distribution" |
| 26 | + in: "Introduction to Mathematical Statistics" |
| 27 | + pages: "Pearson, Boston, 2019, p. 178, eq. 3.3.7" |
| 28 | + url: "https://www.pearson.com/store/p/introduction-to-mathematical-statistics/P100000843744" |
| 29 | + |
| 30 | +def_id: "D100" |
| 31 | +shortcut: "chi2" |
| 32 | +username: "kjpetrykowski" |
| 33 | +--- |
| 34 | + |
| 35 | + |
| 36 | +**Definition:** Let $X_{1}, ..., X_{k}$ be [independent](/D/ind) [random variables](/D/rvar) where each of them is following a [standard normal distribution](/D/snorm): |
| 37 | + |
| 38 | +$$ \label{eq:snorm} |
| 39 | +X_{i} \sim \mathcal{N}(0,1) \; . |
| 40 | +$$ |
| 41 | + |
| 42 | +Then, the sum of their squares follows a chi-square distribution with $k$ degrees of freedom: |
| 43 | + |
| 44 | +$$\label{eq:chi2} |
| 45 | +Y = \sum_{i=1}^{k} X_{i}^{2} \sim \chi^{2}(k) \quad \text{where} \quad k > 0 \; . |
| 46 | +$$ |
| 47 | + |
| 48 | +A [random variables](/D/rvar) $Y$ is said said to follow a chi-square distribution with $k$ number of degress of freedom, if and only if its [probability density function](/D/pdf) is given by |
| 49 | + |
| 50 | +$$ \label{eq:chi2-pdf} |
| 51 | +\chi^{2}(x; k) = \frac{1}{2^{k/2}\Gamma (k/2)} \, x^{k/2-1} \, e^{-x/2} |
| 52 | +$$ |
| 53 | + |
| 54 | +where $k > 0$ and the density is zero if $x \leq 0$. |
0 commit comments