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的更多相关文章
随机推荐
- CALayer的属性和使用
一.CALayer的常用属性 1.@propertyCGPoint position; 图层中心点的位置,类似与UIView的center:用来设置CALayer在父层中的位置:以父层的左上角为原点( ...
- nginx日志中添加请求的response日志
换个新公司,做一些新鲜的事情,经过一天的琢磨,终于成功添加response日志 在nginx的日志中添加接口response的日志 由于此功能在nginx内置的功能中没有,需要安装第三方模块ngx_l ...
- 常见Map 及 ArrayList 是否有序总结
常见Map 及 ArrayList 是否有序总结 说明:此处的排序 是指: 1: 往集合中插入元素的顺序与遍历元素的顺序的关系: 2: 往对象中插入元素否会根据元素的大小排序 public cla ...
- 10.API 接口自动化测试的基本原理
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 28.0px Helvetica } p.p2 { margin: 0.0px 0.0px 0.0px 0. ...
- 面向对象,更适合JavaScript
面向对象程序设计是软件开发中一个很庞大很复杂的话题,它并不是仅仅学会类.继承.封装.多态这些面向对象编程语法元素就表示掌握的,这些语法元素只是实现面向对象程序的工具, 就像砖块.水泥能搭建小屋,也能造 ...
- 精彩源于起点——2018年潍坊市首次青少年Python编程公开课
有一种语言叫计算机语言 I want to talk with Computer 春遇到冬,有了岁月 天遇到地,有了永恒 我们拥有的, 不止是长大, 还有那份长大的悲欢经历. 未来会有很多可能, 但一 ...
- Day2_元组_字典_集合_字符编码_文件处理
元组: 作用:存多个值,元组不可变,主要用来读 age=(11,22,33,44,55) print(age[2]) #取出元组内的值 print(age[1:4]) #取出元组内的某些值 print ...
- Java开源生鲜电商平台-系统简介
Java开源生鲜电商平台-系统简介 1.生鲜电商平台的价值与定位. 生鲜电商平台是一家致力于打造全国餐饮行业智能化.便利化.平台化与透明化服务的创新型移动互联网平台,连接买家与卖家之间的一个平台 看以 ...
- 《Complete Guide to Value Investing》读书总结
大好的周末,决定写一篇读书笔记.:) 最近读了一些股票估值以及价值投资相关的文章和书籍.今天将其中的一本做一些笔记以及简单的总结. 该书名为<Complete Guide to Value In ...
- UE4笔记:利用Widget设计一个切换材质功能
UE4引擎中的Widget蓝图是一个重要的工具,可用于场景中的页面叠加,镜头绑定,场景切换等多处地方,在这里笔者介绍一种利用控件蓝图和场景中物体进行信息交互的方法,直观的体现就是进行物体的材质切换. ...