Probability Concepts

本文概述了概率论中的核心概念,包括无条件概率、条件概率、概率法则、期望值、方差、标准差、协方差、相关系数、投资组合预期价值与方差,以及贝叶斯公式。此外,还介绍了阶乘、组合、排列等基本数学概念。

Probability Concepts

Unconditional probability and Conditional Probability

  • Unconditional Probability (a.k.a. marginal probability): refer to the probability off an event regardless of the past or future occurrence of other events.
  • Conditional Probability: refer to one where the occurrence of one event affects the probability of the occurrence of another event.

Probability Rules

  • P(AB) = P(A|B)*P(B)
  • P(A or B) = P(A) + P(B) - P(AB)
  • P(A) = P(A|B1)P(B1) + P(A|B2)P(B2) + ... + P(A|Bn)P(Bn) (B1..Bn) is a mutually exclusive and exhaustive set of outcomes.

Expected Value

The expected value is the weighted average of the possible outcomes of a random variable, where the weights are the probabilities that the outcomes will occur.

281955585138881.jpg

The degree of disperation of outcomes around the expected value off a random variable is measured using the variance and standard deviation. When pairs of random variables are being observed, the covariance and correlation are used to measure the extent of the relationship between the observed values for the two variables from one observation to the next.

Variance

The variance is calculated as the probability-weighted sum of the squared differences between each possible outcome and expected value.

Var(R)=E([R-E(R)]^2) = w1(R1-E1)^2 + w2(R2-E2)^2 + ... + wn(Rn-En)^2

Note: 普通统计中的方差是平方和直接除以N,这里面假设每个值出现的概率(权重)是一样的,所以除以N就可以了。而且平方和中是每个值减去平均值,而不是期望。同样是就假设每个值的权重是一样的。

Covariance and Correlation

The variance and standard deviation measure the disperation, or valatility, of only one variable. In many finance situations, however, we are interested in how two random variables move in relation to each other.

Covariance is a measure of how two assets move together. It is the expected value of the product of the deviations of two random variables from their respective expected values.

Cov(Ri,Rj) = E{[Ri-E(Ri)][Rj-E(Rj)]}

Note 1: The variance measures how a random variable moves with itself, and the covariance measures how one random variable move with another random variable.

Note 2: The covariance may range from negative infinity to positive infinity

Correlation Coefficient, or simply, correlation is calculate by the covariance of two random variables divided by the product of the random variable's standard deviations.

Corr(Ri, Rj)=Cov(Ri, Rj)/[σ(Ri)σ(Rj)]

Note 1: Correlation measures the strength of the linear relationship between two random variables.
Note 2: Correlation has no units.
Note 3: The correlation ranges from -1 to 1.
Note 4: If Corr(Ri, Rj)=1.0, the random variables have perfect positive correlation.
Note 5: If Corr(Ri, Rj)=-1.0, the random variables have perfect negative correlation.
Note 5: If Corr(Ri, Rj)=0, there is no linear relationship between the variables, indicating that prediction of Ri cannot be made on the basis of Rj using linear method.

Portfolio expected value and Portfolio variance

*Portfolio expected value
282002084978948.jpg

*Portfolio variance
282005032002376.png

Note: specially for two assets, the portfolio variance is calculated:
282007471222397.png

Bayers' formula

Bayers' formula is used to update a given set of prior probabilities for a given event in response to the arrival of new new information.

282018332006915.jpg

Factorial, combination, and permutation

阶乘,组合 和排列

282018433252923.jpg

转载于:https://www.cnblogs.com/fangwenyu/p/4190365.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值