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.
  • 考点

    • 性质
    • 置信区间
    • 标准化
  • Concepts

    • Confidence interval 置信区间

      • 落在区间内的概率, 就是切比雪夫.
    • Confidence level 置信水平
      • 置信水平 = 置信度
    • Confidence degree 置信度
  • 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.
  • Shape

插图

Simulation (模拟)

插入图片

QM5_Didstribution的更多相关文章

随机推荐

  1. obj-c中如何定义类的私有实例方法

    obj-c原生没有提供此项机制,不像java有private/protected/public方法的概念.obj-c中的@private以及类似的@protected和@public是用于修饰类的实例 ...

  2. obj-c编程11:内存管理和ARC(自动引用计数)

    乖乖隆地洞,这篇文章内容可是不得了,内存管理哦!首先,这个要是搞不明白,你就等着进程莫名其妙的挂死,或是疯狂申请内存却不释放,结果被OS杀死,不管是"自杀"还是"他杀&q ...

  3. ARP 协议抓包分析

    ARP(Address Resolution Protocol)- 地址解析分析 ARP 协议是根据IP地址获取物理地址的一个TCP/IP协议. 当PC1 想与 PC2 进行通信时,需要同时知道PC2 ...

  4. 关于iOS9 HTTP不能正常使用的解决方法

    在工程的info.plist文件中添加NSAPPTransportSecurity类型为Dictionary,在NSAPPTransportSecurity下添加NSAllowsArbitraryLo ...

  5. HTML中<base>标签的正确使用

    HTML <base> 标签 1.  定义:<base> 标签是 HTML 语言中的基准网址标记,是一个单标签. 2.  作用:规定页面上所有链接的默认 URL 和默认目标. ...

  6. RunTime运行时在iOS中的应用之UITextField占位符placeholder

    RunTime运行时机制 runtime是一套比较底层的纯C语言API, 属于1个C语言库, 包含了很多底层的C语言API. 在我们平时编写的Objective-C代码中, 程序运行过程时, 其实最终 ...

  7. 修改 CKEditor 超链接的默认协议

    在 config.js 中添加如下代码 CKEDITOR.on( 'dialogDefinition', function( ev ) { // Take the dialog name and it ...

  8. % 与 format 进行字符串格式化

    字符串格式化 Python的字符串格式化有两种方式: 百分号方式.format方式 1.百分号方式 %[(name)][flags][width].[precision]typecode (name) ...

  9. HttpContext未null处理

    public static HttpContext Current { get { if (instance.Value == null) { instance = new ThreadLocal&l ...

  10. Android Studio 2.3 instant run与miui冲突问题的解决

    Android Studio最近发布的2.3版本,由于这个版本改进后的Instant Run功能和很多国内ROM存在兼容问题,所以导致不得不做一些妥协策略,具体在小米Rom上,就是把小米rom的调试定 ...