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. objective-c中的method swizz实现"猴打补丁"

    ruby中的猴打补丁很好实现,下面给出例子: class String alias :org_upcase :upcase def upcase puts("trace me if you ...

  2. vimgrep 搜索总结

    vimgrep /匹配模式/[g][j] 要搜索的文件/范围  g:表示是否把每一行的多个匹配结果都加入 j:表示是否搜索完后定位到第一个匹配位置 vimgrep /pattern/ %       ...

  3. MariaDB/MySQL用户和权限管理

    本文目录: 1.权限验证 1.1 权限表 1.2 图解认证和权限分配的两个阶段 1.3 权限生效时机 2.用户管理 2.1 创建用户 2.2 create user和alter user 2.3 记录 ...

  4. 框架学习:ibatis框架的结构和分析

    由于最近一段时间比较忙碌,<框架学习>系列的文章一直在搁浅着,最近开始继续这个系列的文章更新. 在上篇文章中我们说到了hibernate框架,它是一种基于JDBC的主流持久化框架,是一个优 ...

  5. Java的运行原理

    在Java中引入了虚拟机的概念,即在机器和编译程序之间加入了一层抽象的虚拟的机器.这台虚拟的机器在任何平台上都提供给编译程序一个的共同的接口.编译程序只需要面向虚拟机,生成虚拟机能够理解的代码,然后由 ...

  6. 全面解读Java NIO工作原理(2)

    全面解读Java NIO工作原理(2) 2011-12-14 10:31 Rollen Holt Rollen Holt的博客 我要评论(0) 字号:T | T JDK 1.4 中引入的新输入输出 ( ...

  7. 【转】火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换算法

    关于 GCJ-02 和 BD-09 ,请参考 http://developer.baidu.com/map/question.htm#qa0043 . 算法代码如下,其中 bd_encrypt 将 G ...

  8. 彪悍开源的分析数据库-ClickHouse

    https://zhuanlan.zhihu.com/p/22165241 今天介绍一个来自俄罗斯的凶猛彪悍的分析数据库:ClickHouse,它是今年6月开源,俄语社区为主,好酒不怕巷子深. 本文内 ...

  9. mac os x 10.9.3 升级到10.10.4 记录

    昨天终于忍不住,将mac pro 的操作系统从 os x 10.9.3 升级到10.10.4,因为网络不给力,500k/s,光系统包都要5.6G,所以整整下来了一个工作白天,等下班的时候开始安装,不过 ...

  10. memcached安装、使用

    Memcached客户端01:XMemcached 版本选择:2.0.0 XMemcached:https://github.com/killme2008/xmemcached     XMemcac ...