Professional Documents
Culture Documents
Lecture 11, Portfolio Optimization With Annotation
Lecture 11, Portfolio Optimization With Annotation
Lecture 11
Schedule
Schedule
Random Variables
A random variable is a rule that assigns a numerical value to each
possible outcome of a probabilistic experiment.
A random variable (r.v.) may be discrete or continuous.
Note:
Probabilities must sum to 1 : p1 + p2 + . . . + pn = 1.0 (pi ≥0)
Discrete Probability Distribution
Let X be the random variable that denotes the number of orders for
Boeing 767 aircraft for next year.
Suppose that the number of orders for Boeing 767 aircraft for next
year is estimated to obey the following distribution:
Orders for Boeing
767 Aircraft next Probability
year
pi
xi
42 0.05
43 0.10
44 0.15
45 0.20
46 0.25
47 0.15
48 0.10
Where do probability distributions come from?
Empirically (from data)
Example: KFC sells chicken in “buckets” of 2, 3, 4, 8, 12, 16 or 20
pieces. Over the last week, orders for fried chicken had the following
data:
pieces in order orders
2 170
3 200
4 260
8 165
12 120
16 50
20 35
1,000
0.30
0.25
Probability
0.20
0.15
0.10
0.05
0.00
43 44 45 46 47 48
Number of Orders
Measures of Probability Distributions
X and Y denote the sales next year in the eastern division and the
western division of a company, respectively.
Probability Distribution Function of Eastern
Eastern Division Division Sales
Probability
4.0 0.20 0.25
0.20
5.0 0.35
0.15
6.0 0.30 0.10
7.0 0.10 0.05
8.0 0.00 0.00
3.0 4.0 5.0 8.0
6.0
7.0
Sales ($ million)
Probability Distribution Function of Western
Western Division Division Sales
Sales($million) 0.40
Probability 0.35
3.0 0.15 0.30
Probability
0.25
4.0 0.20
0.20
5.0 0.25
0.15
6.0 0.15 0.10
7.0 0.15 0.05
x1 , x2 , . . . xn
,
p1 , p2 , . . . pn
,
x1 , x2 , . . . xn
,
p1 , p2 , . . . pn
,
The variance of X is
Discrete Probability Distribution
X and Y denote the sales next year in the eastern division and the
western division of a company, respectively.
Probability Distribution Function of Eastern
Eastern Division Division Sales
Probability
4.0 0.20 0.25
0.20
5.0 0.35
0.15
6.0 0.30 0.10
7.0 0.10 0.05
8.0 0.00 0.00
3.0 4.0 5.0 8.0
6.0
7.0
Sales ($ million)
Probability Distribution Function of Western
Western Division Division Sales
Sales($million) 0.40
Probability 0.35
3.0 0.15 0.30
Probability
0.25
4.0 0.20
0.20
5.0 0.25
0.15
6.0 0.15 0.10
7.0 0.15 0.05
Probability
4.0 0.20 0.25
Variance 1.06 5.0 0.35
0.20
0.15
6.0 0.30
Std Dev 1.0296 7.0 0.10
0.10
0.05
8.0 0.00 0.00
3.0 4.0 5.0 8.0
6.0
7.0
Sales ($ million)
Probability Distribution Function of Western
Western Division Division Sales
Sales($million) 0.40
Probability 0.35
Probability
0.25
4.0 0.20
Variance 2.3875
0.20
5.0 0.25
0.15
6.0 0.15 0.10
900
800
500
the sales of hot coffees and the sales of
400 cold beverage are negatively related.
300
200
100 Is it correct?
0
1 2 3 4 5 6 7 8 9 10
Series1 Series2
Covariance and Correlation
We now define the covariance of two random variables X
and Y with means μX and μY :
Probability X Y
ℙ[X = x1, Y = y1 ] x1 y1
ℙ[X = x2, Y = y2 ] x2 y2
… … …
ℙ[X = xN, Y = yN ] xN yN
Covariance
Covariance and Correlation
Covariance
Is it true?
Covariance and Correlation
Example: Starbucks sells gourmet hot coffees and cold beverages. From past sales
data, daily sales at North Spine obey the following probability distribution for (X, Y),
X = # hot coffees, Y = # cold beverages sold per day
Correlation
Properties :
• The measure of correlation is unit-free.
• Corr[X, Y] is always between -1 and 1
Covariance and Correlation
Correlation
If higher than average values of X are apt to occur with higher than
average values of Y, then Cov[X, Y ] > 0 and Corr[X, Y ] > 0.
X and Y are positively correlated.
If higher than average values of X are apt to occur with lower than
average values of Y, then Cov[X, Y ] < 0 and Corr[X, Y ] < 0.
X and Y are negatively correlated.
Covariance and Correlation
Example: Starbucks sells gourmet hot coffees and cold beverages. From past sales
data, daily sales at North Spine obey the following probability distribution for (X, Y),
X = # hot coffees, Y = # cold beverages sold per day
#
*
*
The adjusted closing price amends a stock's closing price to reflect that stock's value after accounting for any corporate actions.
#
The closing price is the raw price, which is just the cash value of the last transacted price before the market closes.
Classical Portfolio Selection
Markowitz Portfolio Optimization
Objective: Minimize total portfolio variance so that
• Expected reward of total portfolio is above target β
• Total amount invested stay within our budget
• No short sales
Generalization of Portfolio Variance
Generalization of Portfolio Variance
Generalization of Portfolio Variance (Optional)
is known as the covariance matrix, which has the following
properties:
• It is a symmetric matrix
• It is a positive definite matrix,