Math 2.0

definition

Chi-squared distribution

Definition

Let k≥1k \ge 1 be an integer and let Z1,…,ZkZ_1, \dots, Z_k be i.i.d. standard normal random variables. The chi-squared distribution with kk degrees of freedom, written χk2\chi^2_k, is the law of Q=Z12+Z22+⋯+Zk2.Q = Z_1^2 + Z_2^2 + \dots + Z_k^2.

Remarks

It has the density f(x)=xk/2−1e−x/22k/2 Γ(k/2)f(x) = \frac{x^{k/2 - 1} e^{-x/2}}{2^{k/2}\, \Gamma(k/2)} for x>0x > 0, and f(x)=0f(x) = 0 for x≤0x \le 0. So χk2\chi^2_k is the gamma distribution with shape k/2k/2 and rate 1/21/2. If Q∼χk2Q \sim \chi^2_k, then E[Q]=kE[Q] = k and Var⁡(Q)=2k\operatorname{Var}(Q) = 2k. If Q1∼χk12Q_1 \sim \chi^2_{k_1} and Q2∼χk22Q_2 \sim \chi^2_{k_2} are independent, then Q1+Q2∼χk1+k22Q_1 + Q_2 \sim \chi^2_{k_1 + k_2}. For an i.i.d. N(μ,σ2)\mathcal{N}(\mu, \sigma^2) sample of size nn with sample variance Sn2S_n^2, (n−1)Sn2/σ2∼χn−12(n - 1) S_n^2 / \sigma^2 \sim \chi^2_{n - 1}.

Explanations

L1 human

Square kk independent standard normal numbers and add them: the result has the chi-squared distribution with kk degrees of freedom. Its mean is kk, and it has values in [0,∞)[0, \infty) only.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What depends on this

3 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Chi-squared_distribution, Definitions
  2. Web https://en.wikipedia.org/wiki/Chi-squared_distribution, Probability density function