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的更多相关文章
随机推荐
- SharePoint 2010 之寻找页面布局
习惯了2007的页面布局,虽然感觉不是太好用,尤其以开始接触时非常不理解页面布局和页面的关系,但是后来理清了,感觉还是很好用的,尤其对于相同格式的网站,修改布局而不改页面的情况,还是非常有效的,好了, ...
- IOS9关于搜索的认识和实现
原文链接 : iOS 9 App Search Tutorial: Introduction to App Search 原文作者 : Chris Wagner 译文出自 : 开发技术前线 www.d ...
- leetCode之旅(12)-反转二叉树
背景描述 Homebrew 是 OS X 平台上的包管理工具.用其官网的话说就是: the missing package manager for OS X | OS X 平台遗失的包管理器. 相信在 ...
- nasm汇编一些需要注意的地方
经常用msam或tasm的童鞋一下转换到nasm下可能觉得不怎么适应,它们应该先去晓习一下gas的语法,然后就适应了-that's only a joke! :) section .data v101 ...
- 《深入理解Java虚拟机》读书笔记3--垃圾回收算法
转载:http://blog.csdn.net/tjiyu/article/details/53983064 下面先来了解Java虚拟机垃圾回收的几种常见算法:标记-清除算法.复制算法.标记-整理算法 ...
- tomcat 工作原理
Tomcat原理 分类: TOMCAT2009-05-17 22:25 4366人阅读 评论(3) 收藏 举报 tomcatexceptionsocketstringservernull Tomcat ...
- Django-CKedtior图片找不到的问题
从Django Packages站点上找到这个CKeditor集成组件:https://github.com/shaunsephton/django-ckeditor 按照官方的install方法安装 ...
- 关于H5的Canvas
1.什么是canvas? <canvas>标签是h5新增的,通过脚本(通常是js)来绘制图形,canvas只是一个图形容器,或者说是画布. canvas可以绘制路径.图形.字以及添加图像. ...
- python argparse用法总结
转:python argparse用法总结 1. argparse介绍 argparse是python的一个命令行解析包,非常适合用来编写可读性非常好的程序. 2. 基本用法 prog.py是我在li ...
- spring的简单入门
spring是一个轻量级的JavaEE解决方案,是众多优秀设计模式的整合.spring的核心是:(工厂)容器 1.设计模式:解决一些特定问题的经典代码.共有23中设计模式(工厂,单例,代理,适配,装饰 ...