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

categories:

  • Mathematic
  • Probability

    keywords:
  • Conditional Distributions
  • 条件分布
  • Bayes’ Theorem
  • 贝叶斯理论
  • Histograms
  • 直方图
  • Law of total Probability
  • 全概率公式

    toc: true

    date: 2018-03-15 09:20:38



Abstract: 本文继续上文的内容,讲解多变量分布的条件分布,全概率公式和贝叶斯公式。提出直方图的概念。

Keywords: Conditional Distributions,Law of Total Probability,Bayes’ Theorem,Histograms

开篇废话

向往自由的人更懂得约束自己,约束自己的行为,自由自己的思想,而我们现在周围的人更多的是反过来的,约束自己的思想,告诉自己不许瞎想,但是自由自己的行为,想干嘛干嘛,毕竟改革开放的红利使得大部分人从温饱过渡到有车有房还可以随意出门旅游看看世界了,而思维思想,包括知识,还停留在改革开放之前,这就导致了很诡异的一系列行为–有钱没文化。

本文继续上文,将前面的内容扩展至多变量的联合分布,最后引出关于直方图的一些知识。

Conditional Distributions

条件概率,是3.6中讲解的内容,我们反复的强调所有概率都是条件概率,所有分布也都是条件分布,所以与其说条件概率(分布)与一般的概率(分布)行为一致,不如说所有的所有的行为都是在条件概率的基础上进行的,只是我们省略了某些必然达成的条件。

假设 nnn 个随机变量 X1,…,XnX_1,\dots,X_nX1​,…,Xn​ 有一个连续的联合分布,其联合分布式p.d.f. 是 fff 并且 f0f_0f0​ 定义了其中 k&lt;nk &lt; nk<n 个随机变量的边缘分布有 f0(x1,…,xn)&gt;0f_0(x_1,\dots,x_n) &gt; 0f0​(x1​,…,xn​)>0 那么条件分布,当条件 X1=x1,…Xn=xnX_1=x_1,\dots X_n=x_nX1​=x1​,…Xn​=xn​ 给定时 (xk+1,…,xn)(x_{k+1},\dots,x_n)(xk+1​,…,xn​) 的p.d.f.是:

gk+1,…,xn(xk+1,…,xn∣x1,…,xk)=f(x1,…,xn)f0(x1,…,xk)
g_{k+1,\dots,x_n}(x_{k+1},\dots,x_{n}|x_1,\dots,x_k)=\frac{f(x_1,\dots ,x_n)}{f_0(x_1,\dots,x_k)}
gk+1,…,xn​​(xk+1​,…,xn​∣x1​,…,xk​)=f0​(x1​,…,xk​)f(x1​,…,xn​)​

Definition 3.3.7 Conditional p.f. or p.d.f. Suppose that the random vector X⃗=(X1,…,Xn)\vec{X}=(X_1,\dots,X_n)X=(X1​,…,Xn​) is divided into two subvectors Y⃗\vec{Y}Y and Z⃗\vec{Z}Z ,where Y⃗\vec{Y}Y is a k-dimensional random vector comprising kkk of the nnn random variables in X⃗\vec{X}X and Z⃗\vec{Z}Z is an (n−k)(n-k)(n−k)-dimensional random vector comprising the other n−kn-kn−k random variables in X⃗\vec{X}X .Suppose also that the nnn-dimensional joint p.f. or p.d.f. of (Y⃗,Z⃗)(\vec{Y},\vec{Z})(Y,Z) is fff and that the marginal (n−k)(n-k)(n−k)-dimensional joint p.f. ,p.d.f. or p.f./p.d.f. of Z⃗\vec{Z}Z is f2f_2f2​ .Then for every given point z∈Rn−kz\in\mathbb{R}^{n-k}z∈Rn−k such that f2(z)&gt;0f_2(z)&gt;0f2​(z)>0 ,the conditional kkk-dimensional p.f. p.d.f.or p.f./p.d.f. g1g_1g1​ of Y⃗\vec{Y}Y given Z⃗=z⃗\vec{Z}=\vec{z}Z=z is defined as follows:

g1(y⃗∣z⃗)=f(y⃗,z⃗)f2(z⃗) for y⃗∈Rk
g_1(\vec{y}|\vec{z})=\frac{f(\vec{y},\vec{z})}{f_2(\vec{z})} \text{ for }\vec{y}\in \mathbb{R}^k
g1​(y​∣z)=f2​(z)f(y​,z)​ for y​∈Rk

这就是完整的定义,抄一遍下来还真写了不少字,但是整个思路很清晰,首先就是把多变量形成向量的形式,再把向量拆成两个小的空间当然上面这个定义的公式也可以写成:

f(y⃗,z⃗)=g1(y⃗∣z⃗)f2(z⃗)
f(\vec{y},\vec{z})=g_1(\vec{y}|\vec{z}) f_2(\vec{z})
f(y​,z)=g1​(y​∣z)f2​(z)

写成乘法原理的形式,解决分母是0的尴尬局面。也可以看出,通过条件分布和边缘分布得到联合分布的方法是正确的(乘法原理的正确性)。

以上为节选内容,完整原文地址:https://www.face2ai.com/Math-Probability-3-7-Multivariate-Distributions-P2转载请标明出处

【概率论】3-7:多变量分布(Multivariate Distributions Part II)的更多相关文章

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

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

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

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

  3. 【概率论】5-9:多项式分布(The Multinomial Distributions)

    title: [概率论]5-9:多项式分布(The Multinomial Distributions) categories: - Mathematic - Probability keywords ...

  4. 【概率论】5-8:Beta分布(The Beta Distributions)

    title: [概率论]5-8:Beta分布(The Beta Distributions) categories: - Mathematic - Probability keywords: - Th ...

  5. 【概率论】5-7:Gama分布(The Gamma Distributions Part II)

    title: [概率论]5-7:Gama分布(The Gamma Distributions Part II) categories: - Mathematic - Probability keywo ...

  6. 【概率论】5-7:Gama分布(The Gamma Distributions Part I)

    title: [概率论]5-7:Gama分布(The Gamma Distributions Part I) categories: - Mathematic - Probability keywor ...

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

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

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

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

  9. 【概率论】3-6:条件分布(Conditional Distributions Part II)

    title: [概率论]3-6:条件分布(Conditional Distributions Part II) categories: Mathematic Probability keywords: ...

随机推荐

  1. SAS学习笔记20 CAT函数

  2. 把QString写到文件中可以用toutf8()函数

    把QString写到文件中可以用toutf8()函数 QByteArray QString::toUtf8() const Returns a UTF-8 representation of the ...

  3. c++博客转载

    C++ 中文件流(fstream)的使用方法及示例 http://blog.jobbole.com/108649/ qt中文乱码问题: https://blog.csdn.net/brave_hear ...

  4. Junit 学习笔记

    目录 Junit 学习笔记 1. 编写测试用例时需要注意 2. 出现结果分析 3. Junit 运行流程 4. Junit 常用注解 5. Junit 测试套件的使用 6. Junit 参数化设置 J ...

  5. JDBC 学习复习8 C3P0数据源使用

    C3P0是一个开源的JDBC连接池,它实现了数据源和JNDI绑定,支持JDBC3规范和JDBC2的标准扩展.目前使用它的开源项目有Hibernate,Spring等. c3p0与dbcp区别 dbcp ...

  6. win中使用curl上传文件报错

    今天晚上复现“WordPress插件Easy WP SMTP反序列化漏洞”时,需要使用curl上传文件,我又用的windows环境,一直出错 curl: (26) couldn't open file ...

  7. sql根据一个表查询的数据作为条件查询另一个表

    代码格式如下: ) 要注意的是:in后面的查询语句必须是查询一个字段跟前面的表相对应的.比如要根据订单号orderID,OpenBills 这个表就需要查询到orderID这个字段,BillConsu ...

  8. ASE —— 第一次结对作业

    问题定义 游戏规则: N个玩家,每人写一个或两个0~100之间的有理数 (不包括0或100),提交给服务器,服务器在当前回合结束时算出所有数字的平均值,然后乘以0.618,得到G值. 提交的数字最靠近 ...

  9. Python For嵌套循环 图形打印X型 nested loop - 练习题答案

    上一篇:Python For嵌套循环 图形打印X型 nested loop - 练习题 上一篇留的Python For嵌套循环 图形打印X型练习题的答案. 由于网上很多嵌套循环都是C++语言写的,用P ...

  10. SP15637 GNYR04H - Mr Youngs Picture Permutations[DP]

    题目来源:POJ:http://poj.org/problem?id=2279 SPOJ:https://www.spoj.com/problems/GNYR04H/ 题意翻译 题目描述 杨先生希望为 ...