Random Variables and Applications: OPRE 6301
Random Variables and Applications: OPRE 6301
Random Variables and Applications: OPRE 6301
OPRE 6301
Random Variables. . .
Examples:
1
Types of Random Variables. . .
2
Probability Distributions. . .
3
Discrete Distributions. . .
4
Properties of Discrete Distributions. . .
Details. . .
5
Population Mean — Expected Value. . .
6
Interpretation
7
Population Variance. . .
8
Example: Variance of No. of TVs
Let X be the number of TVs in a household.
Then,
V (X) = (0 − 2.084)2 · 0.012 + · · · + (5 − 2.084)2 · 0.028
= 1.107 ;
or,
V (X) = 02 · 0.012 + · · · + 52 · 0.028 − 2.0842
= 1.107 .
9
General Laws. . .
Expected-Value Calculations. . .
1. E(c) = c
— the expected value of a constant (c) is just the
value of the constant
2. E(X + c) = E(X) + c
— “translating” X by c has the same effect on the
expected value; in other words, we can distribute
an expected-value calculation into a sum
3. E(cX) = c E(X)
— “scaling” X by c has the same effect on the ex-
pected value; in other words, we can pull the con-
stant c out of an expected-value calculation
10
Variance Calculations. . .
1. V (c) = 0
— the variance of a constant (c) is zero
2. V (X + c) = V (X)
— “translating” X by c has no effect on the variance
3. V (cX) = c2 V (X)
— “scaling” X by c boosts the variance by a factor
of c2; in other words, when we pull out a constant
c in a variance calculation, the constant should be
squared (note however that the standard deviation
of cX equals c times the standard deviation of X)
11
Example: Sales versus Profit
The monthly sales, X, of a company have a mean of
$25,000 and a standard deviation of $4,000. Profits,
Y , are calculated by multiplying sales by 0.3 and sub-
tracting fixed costs of $6,000.
What are the mean profit and the standard deviation of
profit?
We know that:
E(X) = 25000 ,
V (X) = 40002 = 16000000 , and
Y = 0.3X − 6000 .
Therefore,
E(Y ) = 0.3E(X) − 6000
= 0.3 · 25000 − 6000
= 1500
and
p
σ = 0.32 V (X)
√
= 0.09 · 16000000
= 1200 .
12
Bivariate Distributions. . .
P (x, y) ≡ P (X = x and Y = y)
for all pairs of values x and y.
13
Example: Houses Sold by Two Agents
Mark and Lisa are two real estate agents. Let X and
Y be the respective numbers of houses sold by them
in a month. Based on past sales, we estimated the
following joint probabilities for X and Y .
X
0 1 2
0 0.12 0.42 0.06
Y 1 0.21 0.06 0.03
2 0.07 0.02 0.01
14
Marginal Probabilities
X
0 1 2
0 0.12 0.42 0.06 0.6
Y 1 0.21 0.06 0.03 0.3
2 0.07 0.02 0.01 0.1
0.4 0.5 0.1 1.0
X Y
x P (x) y P (y)
0 0.4 0 0.6
1 0.5 1 0.3
2 0.1 2 0.1
15
Independence
P (X = 0 and Y = 2) = 0.07 ,
P (X = 0) = 0.4 , and P (Y = 2) = 0.1 .
16
Properties of Bivariate Distributions. . .
E(Y ) = 0.5 ,
V (Y ) = 0.45 , and
σY = 0.67 .
17
Covariance. . .
18
Coefficient of Correlation. . .
COV (X, Y )
ρX,Y ≡ . (7)
σX σY
19
Sum of Two Variables. . .
x+y P (x + y)
0 0.12
1 0.63
2 0.19
3 0.05
4 0.01
20
The expected value and variance of X + Y obey the fol-
lowing basic laws. . .
21
Business Applications. . .
22
Mutual Fund Sales. . .
23
Conditional Probability Distribution
P (y | x) ≡ P (Y = y | X = x)
P (Y = y and X = x)
= , (8)
P (X = x)
for all values of y.
24
Lottery. . .
25
Managing Investments. . .
Investment 1 Investment 2
Mean Rate of Return 0.06 0.08
Standard Deviation 0.02 0.03
26
There is no simple answer to this question. The choice
depends on your attitude toward risk.
Some people are risk averse (that is, they try to minimize
their potential losses), but at the same time they may
limit their potential gains. Such a person would probably
pick Investment 1, since by Chebysheff’s inequality, there
is at least a 88.9% chance of getting a positive return on
the investment (i.e., 0.06 plus/minus 3 · 0.02).
On the other hand, people who are not risk averse might
pick Investment 2, for although they might lose as much
as 1% (0.08 − 3 · 0.03), they might gain as much as 17%
(0.08 + 3 · 0.03).
27
Now, consider the following two scenarios:
Scenario 1:
Investment 1 Investment 2
Mean Rate of Return 0.06 0.08
Standard Deviation 0.02 0.02
Scenario 2:
Investment 1 Investment 2
Mean Rate of Return 0.08 0.08
Standard Deviation 0.02 0.03
Since the risks are the same in Scenario 1, one should pick
the investment with a higher return.
28
Diversification
The point here is that if you invest in, say, stocks and
bonds simultaneously, then it is unlikely for them both to
go down at the same time. When stock prices are increas-
ing, bonds are usually decreasing, and vice versa. In our
statistical language, this means that they are negatively
correlated.
29
Odds and Subjective Probability. . .
30
Decision Making under Uncertainty. . .
31
Example: Investment Decision
An individual has $1 million dollars and wishes to make
a one-year investment.
Suppose his/her possible actions are:
a1: buy a guaranteed income certificate paying 10%
a2: buy bond with a coupon value of 8%
a3: buy a well-diversified portfolio of stocks
Return on investment in the diversified portfolio depends
on the behavior of the interest rate next year. Suppose
there are three possible states of nature:
s1: interest rate increases
s2: interest rate stays the same
s3: interest rate decreases
Suppose further that the subjective probabilities for
these states are 0.2, 0.5, and 0.3, respectively.
32
Based on historical data, the payoff table is:
States Actions
of Nature a1 a2 a3
s1 100,000 −50,000 150,000
s2 100,000 80,000 90,000
s3 100,000 180,000 40,000
33
An equivalent concept is to minimize expected oppor-
tunity loss (EOL). Consider any given state. For
each possible action, the opportunity loss is defined
as the difference between what the payoff could have
been had the best action been taken and the payoff
for that particular action. Thus,
States Actions
of Nature a1 a2 a3
s1 50,000 200,000 0
s2 0 20,000 10,000
s3 80,000 0 140,000
EOL: 34,000 50,000 47,000
34