logo

コーシー分布:平均が存在しない分布 📂確率分布論

コーシー分布:平均が存在しない分布

定義

pdf.png

以下の確率密度関数を持つ連続確率分布をコーシー分布と呼ぶ。 CC f(x)=1π1x2+1,xR f(x) = {1 \over \pi} {1 \over {x^2 + 1}} \qquad , x \in \mathbb{R}

説明

全ての確率分布に平均や分散があると思われがちだけど、実際にはそうではない。その代表例がコーシー分布で、一見正規分布に似ているが、両側の裾が厚い形状をしている。パラメータに関係なく、モーメント生成関数が存在しないので、平均であれ分散であれモーメントを含んだ全てのものは存在できない。

もちろん、母平均があろうと無かろうと、標本平均は計算できる。実際にxx軸においてθ\thetaだけ平行移動したコーシー分布では、θ\thetaのmleθ^\hat{\theta}が標本平均として現れる。

一方、t-分布の確率密度関数は g(y)=Γ((n+1)/2)πnΓ(n/2)1(1+y2/n)(n+1)/2 g(y) = {{\Gamma ( (n+1)/2 ) } \over { \sqrt{\pi n} \Gamma (n/2) }} { {1} \over {(1 + y^{2} / n)^{(n+1)/2} } } であり、コーシー分布は自由度n=1n=1t-分布と見なすことができる。

定理

コーシー分布のモーメント生成関数は存在しない。

証明1

コーシー分布の確率分布関数はf(x)=1π1x2+1,<x<\displaystyle f(x) = {1 \over \pi} {1 \over {x^2 + 1}}, -\infty < x < \inftyで与えられる。モーメント生成関数E(etx)=etx1π1x2+1dx\displaystyle E(e^{tx}) = \int_{-\infty}^{\infty} e^{tx} {1 \over \pi} {1 \over {x^2 + 1}} dxが発散することを示すために、t>0t>0のとき、平均値の定理により、 etxe0tx0=etx1tx=eξe0=1 {{e^{tx} - e^0} \over {tx - 0}} = { { e^{tx} - 1 } \over {tx} } = e^{\xi} \ge e^0 = 1 を満たす0<ξ<tx0< \xi < txが存在する。この式を少し整理すると、次の不等式を得る。 etx1+txtx e^{tx} \ge 1 + tx \ge tx 再び積分に戻ると、 E(etx)etx1π1x2+1dx0etx1π1x2+1dx01πtxx2+1dx=t2π[ln(x2+1)]0= \begin{align*} E(e^{tx}) \ge& \int_{-\infty}^{\infty} e^{tx} {1 \over \pi} {1 \over {x^2 + 1}} dx \\ \ge& \int_{0}^{\infty} e^{tx} {1 \over \pi} {1 \over {x^2 + 1}} dx \\ \ge& \int_{0}^{\infty} {1 \over \pi} {tx \over {x^2 + 1}} dx \\ =& { t \over {2 \pi} } \left[ \ln (x^2+1) \right]_{0}^{\infty} \\ =& \infty \end{align*} したがって、コーシー分布のモーメント生成関数は存在しない。

コード

以下はコーシー分布、t-分布、コーシー分布の確率密度関数を示すJuliaのコードだ。

@time using LaTeXStrings
@time using Distributions
@time using Plots

cd(@__DIR__)

x = -4:0.1:4
plot(x, pdf.(Cauchy(), x),
 color = :red,
 label = "Cauchy", size = (400,300))
plot!(x, pdf.(TDist(3), x),
 color = :orange,
 label = "t(3)", size = (400,300))
plot!(x, pdf.(TDist(30), x),
 color = :black, linestyle = :dash,
 label = "t(30)", size = (400,300))
plot!(x, pdf.(Normal(), x),
 color = :black,
 label = "Standard Normal", size = (400,300))

xlims!(-4,5); ylims!(0,0.5); title!(L"\mathrm{pdf\,of\, t}(\nu)")
png("pdf")

  1. Hogg et al. (2013). Introduction to Mathematical Statistcs(7th Edition): p63. ↩︎