QM5_Didstribution

Basic Concepts
Probability distribution
Discrete distribution (离散分布)
- The distribution of the discrete random variable.
- Discrete random variable
- takes on a finite and countable number of possible values.
Continuous distribution (连续分布)
- The distribution of the continuous random variable.
- Continuous random variable:
- takes on an infinite and uncountable number of possible values.
Probability function
Probability function (概率函数)
- For discrete random variable taking on a specific value
- p(x) = P(X=x)
- X: 随机变量; x: a specific value
Probability density function (概率密度函数)
- For continuous random variables within a range
- P(x1<X<x2)
- The probability of taking on an specific value is always zero, P(X=x)=0
- 因为连续随机变量有无数个数, 即分母为无穷大, 所以取到一个具体的值的概率是0. 这并不代表不可能取到个这值,只是相对于取值范围, 取到该值的可能性太小. 所以对连续随机变量, 研究具体的值没有什么价值, 研究的是range.
Cumulative probability function (累积概率函数)
- F(x) = P(X<=x)
插入图片, 用面积代表概率.
Dsicrete uniform distribution (离散均匀分布)
- Definition
- has a finite number of possible outcomes, all of which are equally likely.
- Example: X = {1,2,3,4,5}
- P(1) = P(2) = P(3) = P(4) = P(5) = 20%
- P(3) = P(1) + P(2) + P(3) = 60%
- P(2<=X<=4) = P(2) + P(3) + P(4) = 60%
Discrete Distribution
Binomial distribution ** (二项式分布)
Bernoulli random variable (trial,伯努利实验)
- Random variables with only two outcomes, one represents success(denoted as 1); the other represents failure(denoted as 0). P(X=1) = p, P(X=0) = 1-P.
- Binomial random variable
- The number of successes in a Bernoulli trials. (做n次Bernoulli trials就得到二项式分布)
- The probability of x successes in n trails.
插入老师板书.插入公式.
- Expected value and variance
插入图片
- 均值 => 期望值 => 算加权平均
- 计算器算排列组合: 10个中挑出6个, 10 => 2nd => + ->6 -> =.
Continuous Distribution
Continuous uniform distribution (连续均匀分布)
- Definition
- probability of continuous uniform random variable which distribute evenly over an interval.
- Properties
- P(X=x)=0
- P(x1<=X<=x2) = (x2-x1)/(b-a)
Normal distribution *** (正态分布)
Properties
- completely described by mean and variable.
- 只由两个参数决定 , 均值和方差.
插入公式
skewness = 0, kurtosis = 3
- Linear combination of normally distributed random variables is also normally distributed.
- 比如x1~n是线性的, x2~n也是线性的, 则3x1+2x2~n也是线性的.
- Probability descrase further from the mean, but the tails go on forever.
- completely described by mean and variable.
考点
- 性质
- 置信区间
- 标准化
Concepts
- Confidence interval 置信区间
- 落在区间内的概率, 就是切比雪夫.
- Confidence level 置信水平
- 置信水平 = 置信度
- Confidence degree 置信度
- Confidence interval 置信区间
- Properties
插入图
k : 依赖因子(关键值), Reliability factor /Critical value.
Standard normal distribution 标准正态分布
- also named z-distribution
- X~N (0,1), 正态分布均值是0, 方差是1.
- Standardization
- >>>插入公式
- z值含义
- 正态分布与标准正态分布位置相对应.
- 离标准正态分布均值的距离,即z个标准差.
- 算出z值后,查表(z-table), 查出累计概率.
- 例题
Shortfall risk **(缺口风险)
- Definition
- the risk that portfolio value or return will fall below the imnimum acceptable level(RL)
- Properties
- The lower, the better
Safety-first ratio **(第一安全比率)
- Definition
- the distance from the mean return to the shortfall elvel in units of standard deviation.
- Calculation
- >>>插入公式
- Properties
- The higher, the better
- Minimizing shortfall risk - Maximizing safety-first ratio
Lognormal distribution **
- Properties
插入图片
Student;s t-distribution ***
- Properties
- Defined by single parameter: degree of freedom(df), 由唯一一个参数决定.
- df = n-1, where: n is the sample size.
- Symmetrical, skewness = 0,
- Fatter tails than a normal distribution (低峰肥尾)
- As df increase t-distribution is approaching to standard normal distribution.
- Given a degree of confidence, t-distribution has a wider confidence interval than z-distribution.
- Defined by single parameter: degree of freedom(df), 由唯一一个参数决定.
- Shape
插图
Simulation (模拟)
插入图片
QM5_Didstribution的更多相关文章
随机推荐
- Java语言实现二分法
二分法是一个简单,高效,并广泛应用的查找方法 import java.util.arrays; public class BinarySearch { public static int rank(i ...
- Http的会话跟踪和跨站攻击(xss)
会话跟踪 什么是会话? 客户端打开与服务器的连接发出请求到服务器响应客户端请求的全过程称之为会话. 什么是会话跟踪? 会话跟踪指的是对同一个用户对服务器的连续的请求和接受响应的监视. 为什么需要会话跟 ...
- OS X10.10下HomeBrew的安装提示
apple@kissAir: c_src$ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/m ...
- javascript预览图片——IT轮子系列(九)
再使用htm控件 <input type="file" name="file" /> 上传图片的时候,往往需要先预览图片,然后点击保存按钮,把图片上 ...
- Google高级搜索技巧十则
前言:多数人在使用Google搜索的过程是非常低效和无谓的,如果你只是输入几个关键词,然后按搜索按钮,你将是那些无法得到Google全部信息的用户,在这篇文章中,Google搜索专家迈克尔.米勒将向您 ...
- 超强js博客值得学习!!!
再读ecmascript 摘要: 这几天,又花了点时间看了下ecmascript.以下是我摘录出来的一些理解.在此记录下.第一部分:关于变量对象的理解1) 什么是变量对象?数据的存取与读取机制,就是变 ...
- ScrollView的顶部下拉和底部上拉回弹效果
要实现ScrollView的回弹效果,需要对其进行触摸事件处理.先来看一下简单的效果: 根据Android的View事件分发处理机制,下面对dispatchTouchEvent进行详细分析: 在加载布 ...
- COSO企业风险管理框架2017版发布!看看有哪些变化?
近期,COSO发布了新版(2017版)的企业风险管理框架:<企业风险管理—与战略和业绩的整合>.相较于2004年发布的上一版框架<企业风险管理—整合框架>,新框架强调了制定战略 ...
- C++ 进制转换 十进制十六进制八进制二进制相互转换
思路: 下面我把相互转换的所有类型都写出来了.实际上都是通过十进制中转的,这样比较简单,写出X进制转成十进制和从十进制转成X进制的两份代码直接拷贝就完成了剩余的部分.哦,对,自己封装了一个charTo ...
- VueJs(12)---vue-router(导航守卫,路由元信息)
vue-router(导航守卫,路由元信息) 之前泄露两篇有关vue-router博客: VueJs(10)---vue-router(进阶1) VueJs(11)---vue-router(进阶2) ...