分散の定義 $s_x^2$ $\displaystyle = \frac{(x_1 - \bar{x})^2+\cdots + (x_n - \bar{x})^2}{n}$

定義(分散)

データ $x=[x_1, \ldots , x_n]$ について,

$s^2_{x}$

$\displaystyle = \frac{(x_1 - \bar{x})^2+\cdots + (x_n - \bar{x})^2}{n}$

$\displaystyle = \frac{1}{n}\sum_{k=1}^n (x_k - \bar{x})^2$

分散という. ここで, $\bar{x}$ は $x$ の平均値である.

たとえば,

$x=[1, 2, 3]$

のとき, 分散は $\frac{2}{3}$ です。

$y=[2,4,6]$ のとき, 分散は $\frac{8}{3}$ です。

コメントを残す