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. leetcode之旅(8)-Contains Duplicate

    题目: Given an array of integers, find if the array contains any duplicates. Your function should retu ...

  2. javascript中的eval函数

    eval()只有一个参数,如果传入的参数不是字符串,则直接返回这个参数.否则会将字符串当成js代码进行编译,如果编译失败则抛出语法错误(SyntaxError)异常.如果编译成功则开始执行这段代码,并 ...

  3. Spring3.x企业应用开发实战-Spring+Hibernat架构分析

    1: 持久层设计 采用Spring注解方式省略了大量Hibernate ORM配置文件: BaseDAO减少DAO层代码量,只需要编写非通用型的持久层方法: 持久层提供分页支持: Hibernate ...

  4. Oracle——多表查询

    本次预计讲解的知识点 1. 多表查询的操作.限制.笛卡尔积的问题: 2. 统计函数及分组统计的操作: 3. 子查询的操作,并且结合限定查询.数据排序.多表查询.统计查询一起完成各个复杂查询的操作: 一 ...

  5. 数据库面试题目- ORACLE

    Posted on 2009-06-08 17:38 漠北的天空 阅读(110) 评论(0)  编辑 收藏 1.       列举几种表连接方式 Answer:等连接(内连接).非等连接.自连接.外连 ...

  6. MySQL MEB常见用法

    1. 备份成镜像 备份: ./mysqlbackup --socket=/usr/local/mysql-advanced--linux-glibc2.-x86_64/data/mysql.sock ...

  7. WSGI及gunicorn指北(二)

    pyg0已经大概了解了wsgi.现在他决定深入探索他们实际在生产环境里用到的web 服务器 -gunicorn. 先来看看官网的介绍:Gunicorn 是一个运行在Unix上的python WSGI ...

  8. 【读书笔记】C++Primer---第二章

    1.C++基本数据类型:字符型.整型.浮点型等: 2.算术类型如下表,下表只是表示C++要求的最小储存空间,但是一般编译器使用的都比所要求的储存空间大,以前类型所能表示的最大值也因机器的不同而有不同的 ...

  9. Java 重入锁 ReentrantLock 原理分析

    1.简介 可重入锁ReentrantLock自 JDK 1.5 被引入,功能上与synchronized关键字类似.所谓的可重入是指,线程可对同一把锁进行重复加锁,而不会被阻塞住,这样可避免死锁的产生 ...

  10. css 选择器【转】

    最近在研究jQuery的选择器,大家知道jQuery的选择器和css的选择器非常相似,所以整理一下css选择器: css1-css3提供非常丰富的选择器,但是由于某些选择器被各个浏览器支持的情况不一样 ...