title: 【概率论】5-6:正态分布(The Normal Distributions Part II)

categories:

- Mathematic

- Probability

keywords:

- The Normal Distributions

toc: true

date: 2018-03-29 15:02:03



Abstract: 本文介绍正态分布的数学性质

Keywords: The Normal Distributions

开篇废话

一共要写四篇,哪来那么多废话。

首先我们要从最基础的原始的正态分布的数学原理说起

Properties of Normal Distributions

Definition

到目前为止,我们还没看到正态分布长什么样。

Definition and p.d.f. A random X has the normal distribution with mean μ\muμ and variance σ2\sigma^2σ2 (−∞&lt;μ&lt;∞-\infty&lt;\mu&lt;\infty−∞<μ<∞ and σ&gt;0\sigma &gt; 0σ>0) if X has a contimuous distribution with the following p.d.f.

f(x∣μ,σ2)=1(2π)12σe−12((x−μ)σ)2for−∞&lt;x&lt;∞
f(x|\mu,\sigma^2)=\frac{1}{(2\pi)^{\frac{1}{2}}\sigma}e^{-\frac{1}{2}(\frac{(x-\mu)}{\sigma})^2}\text{for} -\infty&lt;x&lt;\infty
f(x∣μ,σ2)=(2π)21​σ1​e−21​(σ(x−μ)​)2for−∞<x<∞

定义对于我们来说就是个准确的命名过程。那么我们接下来要证明的是定义里说的对不对?

Theorem f(x∣μ,σ2)=1(2π)12σe−12((x−μ)σ)2for−∞&lt;x&lt;∞f(x|\mu,\sigma^2)=\frac{1}{(2\pi)^{\frac{1}{2}}\sigma}e^{-\frac{1}{2}(\frac{(x-\mu)}{\sigma})^2}\text{for} -\infty &lt; x&lt; \inftyf(x∣μ,σ2)=(2π)21​σ1​e−21​(σ(x−μ)​)2for−∞<x<∞ is a p.d.f.

思路:证明一个表达式是不是,p.d.f.,肯定要根据p.d.f.的定义,①不能出现负数,②积分结果是1。

首先观察函数,发现其不可能出现负数,所以性质1符合p.d.f.的性质

那么接下来是求积分,并确保是1,不是说不能积分么,这里怎么做呢?

首先我们令 y=x−μσy=\frac{x-\mu}{\sigma}y=σx−μ​ 那么

∫−∞∞f(x∣μ,σ2)dx=∫−∞∞1(2π)1/2e−12y2dywe shall now let:I=∫−∞∞e−12y2dy
\int^{\infty}_{-\infty}f(x|\mu,\sigma^2)dx=\int^{\infty}_{-\infty}\frac{1}{(2\pi)^{1/2}}e^{-\frac{1}{2}y^2}dy\\
\text{we shall now let:}\\
I=\int^{\infty}_{-\infty}e^{-\frac{1}{2}y^2}dy
∫−∞∞​f(x∣μ,σ2)dx=∫−∞∞​(2π)1/21​e−21​y2dywe shall now let:I=∫−∞∞​e−21​y2dy

所以我们只要证明 I=(2π)1/2I=(2\pi)^{1/2}I=(2π)1/2 就算是得到结论了,但是怎么证明呢?我们用用1的特点吧,1和1相乘还是1所以我们让两个积分相乘,我们来到了二重积分的世界解决这个问题:

I2=I×I=∫−∞∞e−12y2dy⋅∫−∞∞e−12z2dz=∫−∞∞∫−∞∞e−12(y2+z2)dydzto the polar coordinates r and θ:I2=∫02π∫0∞e−12(r2)rdrdθsubstitute v=r2/2∫0∞e−vdv=1
\begin {aligned}
I^2&amp;=I\times I=\int^{\infty}_{-\infty}e^{-\frac{1}{2}y^2}dy \cdot \int^{\infty}_{-\infty}e^{-\frac{1}{2}z^2}dz\\
&amp;=\int^{\infty}_{-\infty} \int^{\infty}_{-\infty}e^{-\frac{1}{2}(y^2+z^2)}dydz\\
\text{to the polar coordinates } r \text{ and } \theta :\\
I^2&amp;=\int^{2\pi}_{0} \int^{\infty}_{0}e^{-\frac{1}{2}(r^2)}rdrd\theta \\
\text{substitute }v=r^2/2\\
&amp;\int^{\infty}_{0}e^{-v}dv=1
\end{aligned}
I2to the polar coordinates r and θ:I2substitute v=r2/2​=I×I=∫−∞∞​e−21​y2dy⋅∫−∞∞​e−21​z2dz=∫−∞∞​∫−∞∞​e−21​(y2+z2)dydz=∫02π​∫0∞​e−21​(r2)rdrdθ∫0∞​e−vdv=1​

证毕。

也就证明了两个这个积分相乘的结果是1,但是我们并没有求出他的反函数。

m.g.f.

m.g.f. 一旦得到相应的均值和方差就非常简单了。

Theorem Moment Generating Function.The m.g.f. of the distribution with p.d.f. given by upside is

ψ(t)=eμt+12σ2t2 for −∞&lt;t&lt;∞
\begin{aligned}
\psi(t)&amp;=e^{\mu t+\frac{1}{2}\sigma^2t^2}&amp;\text{ for }-\infty&lt;t&lt;\infty
\end{aligned}
ψ(t)​=eμt+21​σ2t2​ for −∞<t<∞​

证明上面定理的唯一办法就是我们求一下正态分布定义中那个p.d.f.的m.g.f.看结果是否一致。

ψ(t)=E(etX)=∫−∞∞1(2π)1/2etx−(x−μ)22σ2dxsquare inside the brackets:tx−(x−μ)22σ2=μt+12σ2t2−[x−(μ+σ2t)]22σ2Therefore:ψ(t)=Ceμt+12σ2t2where: C=∫−∞∞1(2π)1/2σe−[x−(μ+σ2t)]22σ2dx
\begin{aligned}
\psi(t)&amp;=E(e^{tX})=\int^{\infty}_{-\infty}\frac{1}{(2\pi)^{1/2}}e^{tx-\frac{(x-\mu)^2}{2\sigma^2}}dx\\
\text{square inside the brackets:}\\
tx-\frac{(x-\mu)^2}{2\sigma^2}&amp;=\mu t+\frac{1}{2}\sigma^2t^2-\frac{[x-(\mu+\sigma^2t)]^2}{2\sigma^2}\\
\text{Therefore:}\\
\psi(t)&amp;=Ce^{\mu t+\frac{1}{2}\sigma^2t^2}\\
\text{where: }\\
C&amp;=\int^{\infty}_{-\infty}\frac{1}{(2\pi)^{1/2}\sigma}e^{-\frac{[x-(\mu+\sigma^2t)]^2}{2\sigma^2}}dx
\end{aligned}
ψ(t)square inside the brackets:tx−2σ2(x−μ)2​Therefore:ψ(t)where: C​=E(etX)=∫−∞∞​(2π)1/21​etx−2σ2(x−μ)2​dx=μt+21​σ2t2−2σ2[x−(μ+σ2t)]2​=Ceμt+21​σ2t2=∫−∞∞​(2π)1/2σ1​e−2σ2[x−(μ+σ2t)]2​dx​

然后我们用 μ+σ2t\mu+\sigma^2tμ+σ2t 替换掉 μ\muμ 并且 C=1C=1C=1 因此证明了结论的正确性

证毕。

节选自原文地址:https://www.face2ai.com/Math-Probability-5-6-The-Normal-Distributions-P2转载请标明出处

【概率论】5-6:正态分布(The Normal Distributions Part II)的更多相关文章

  1. 【概率论】5-6:正态分布(The Normal Distributions Part III)

    title: [概率论]5-6:正态分布(The Normal Distributions Part III) categories: - Mathematic - Probability keywo ...

  2. 【概率论】5-6:正态分布(The Normal Distributions Part I)

    title: [概率论]5-6:正态分布(The Normal Distributions Part I) categories: - Mathematic - Probability keyword ...

  3. 【概率论】3-7:多变量分布(Multivariate Distributions Part II)

    title: [概率论]3-7:多变量分布(Multivariate Distributions Part II) categories: Mathematic Probability keyword ...

  4. 【概率论】5-10:二维正态分布(The Bivariate Normal Distributions)

    title: [概率论]5-10:二维正态分布(The Bivariate Normal Distributions) categories: - Mathematic - Probability k ...

  5. 使用正态分布变换(Normal Distributions Transform)进行点云配准

    正态分布变换算法是一个配准算法,它应用于三维点的统计模型,使用标准优化技术来确定两个点云间的最优的匹配,因为其在配准过程中不利用对应点的特征计算和匹配,所以时间比其他方法快.下面是PCL官网上的一个例 ...

  6. NDT(Normal Distributions Transform)算法原理与公式推导

    正态分布变换(NDT)算法是一个配准算法,它应用于三维点的统计模型,使用标准最优化技术来确定两个点云间的最优的匹配,因为其在配准过程中不利用对应点的特征计算和匹配,所以时间比其他方法快.下面的公式推导 ...

  7. 正态分布(Normal distribution)又名高斯分布(Gaussian distribution)

    正态分布(Normal distribution)又名高斯分布(Gaussian distribution),是一个在数学.物理及project等领域都很重要的概率分布,在统计学的很多方面有着重大的影 ...

  8. 论文阅读 Characterization of Multiple 3D LiDARs for Localization and Mapping using Normal Distributions Transform

    Abstract 在这个文章里, 我们细致的比较了10种不同的3D LiDAR传感器, 用了一般的 Normal Distributions Transform (NDT) 算法. 我们按以下几个任务 ...

  9. 正态分布(normal distribution)与偏态分布(skewed distribution)

    存在正太分布的概念,自然也少不了偏态分布. 正态分布(normal distribution) 偏态分布(skewed distribution) 左偏态:left skewed distributi ...

随机推荐

  1. io.lettuce.core.protocol.ConnectionWatchdog - Reconnecting, last destination was ***

    一.问题 redis起来后一直有重连的日志,如下图: 二.分析 参考lettuce-core的github上Issues解答https://github.com/lettuce-io/lettuce- ...

  2. service mc_start.sh does not support chkconfig

    在构建docker镜像时,编写Dockerfile构建镜像时,配置自启动脚本报错,service mc_start.sh does not support chkconfig 添加下面两句到 #!/b ...

  3. C# 用Redis实现的分布式锁

    Redis实现分布式锁(悲观锁/乐观锁) 对锁的概念和应用场景在此就不阐述了,网上搜索有很多解释,只是我搜索到的使用C#利用Redis的SetNX命令实现的锁虽然能用,但是都不太适合我需要的场景. 基 ...

  4. ubuntu下安装软件时报错解决:Unmet dependencies. Try 'apt-get -f install' with no packages

    在错误后面运行以下代码,补全依赖项: sudo apt-get -f install

  5. hadoop入门-centos7.2安装hadoop2.8

    1. 安装准备 (1)必须安装jdk: 因为hadoop是基于Java实现的,所有必须安装jdk 是JDK不是jre jdk1.7 jdk1.8 (2)系统位数 (3)创建专用用户 useradd h ...

  6. metasploit安卓木马

    metasploit---安卓木马入侵 (仅供学习使用,禁止非法使用) 1.生成木马程序 msfvenom -p android/meterpreter/reverse_tcp LHOST=本机ip ...

  7. 本文可能是国内第一篇介绍C/4HANA Foundation的中文博客

    SAP C/4HANA从去年发布已经过去了一年多的时间,C/4HANA的从业者,对于这五朵云里包含的产品集,想必都有了一些了解. Jerry注意到,SAP C/4HANA Foundation这个概念 ...

  8. Vue注意事项

    在使用Vue中的函数或自己定义的函数或指令的时候,Vue说明如下 在一些自己定义或系统定义的驼峰命名规则的时候,你需要到元素区域引用的使用中间的大写要改成小写在谭家 一条横杠如: 你在var=new ...

  9. 戴尔 R730 服务器装 server 2016。

    服务器里面原装系统是 centos 7 ,服务器快递过来时 我没用root账号,(主要是主管忘了这台服务器用户名密码了). 需要用的系统是 server 2016 我这边就按正常的装机流程装机. 1, ...

  10. CentOS8 NextCloud 私有云存储搭建

    本文首发:https://www.somata.work/2019/CentOS8NextCloudBuild.html 之前发现 Owncloud 越来越捞了,推出了企业版和社区版,近几日突然发现原 ...