Chapter One
Chapter One
1.1 Introduction
In this chapter we discuss probability distributions of random variables and these are
customary used to model some problems in various fields such as business, finance,
economics and in general life. To clearly understand this chapter, you need some basic
knowledge in probability fundamentals.
Traditionally random variables are denoted by capital letters, X, Y, Z or X1, X2, X3 etc.
There are two types of random variable (R.V), these are discrete and continuous random
variables. A discrete random variable takes on only a finite/distinct/countable number of
values and these are integers. Examples of discrete random variables are; the number of cars
passing through the roadblock, an experiment of tossing one or more fair coins, number of
defective items in a sample, number of deaths by COVID-19 in year 2020, etc. On the other
hand, a continuous random variable is a random variable that can take on any value
within a range always real numbers; for example, interest rate can take any value within a
range (e.g. 15.25%, 15.2513%). Examples of continuous R.V are, height, weight, rainfall,
temperature etc.
General Examples of random variables in business context include among others;; the
unemployment rate, consumer price index, number of sales made in week, yearly profit of a
company, share prices, return on investments, money supply, GDP, wages, cash flows, interest
rates, etc.
If X is a discrete random variable, the function denoted by 𝑓(𝑥) = 𝑃(𝑋 = 𝑥) for each 𝑥 within
the range of X is called Probability Mass Function of X. To capture clearly the meaning of the
probability distribution of a discrete random variable consider Example 1.1.
Example 1.1
Consider an experiment of tossing two fair coins simultaneously. Find the probability
distribution of obtaining a total number of heads.
Solution:
The following are the procedures for building probability distribution:
Procedure 1
The list of all possible events can be obtained easily by using a structure of tree diagram as
shown below:
H
T
Start
H
T
TT
Figure 2: Tree Diagram
From a tree diagram as shown in Figure 2 the list of all possible outcomes of an experiment
(i.e. sample space, S) is as shown below:
Procedure 2
From the sample space described above, a random variable (i.e. number of heads) takes on
three different values, 0, 1, 2 depending on whether zero head (no head), one head, or two
heads were obtained in the experiment of tossing two fair coins. That is
𝐻𝐻 → 2heads
𝐻𝑇 → 1 heads
𝑇𝐻 → 1 head
𝑇𝑇 → 0 head
Probability of an event can be obtained by employing traditional definition of probability, that
is:
n( E )
P( E ) =
n( S )
Let 𝑋 be a random variable (R.V) representing the number of observed heads, that is to say
𝑋 = {0,1,2}. The probabilities of the number of heads showing up are as indicated below and
the probability distribution is shown in Table 1.
𝑛(0) 1
𝑓(0) = 𝑃(𝑋 = 0) = =
𝑛(𝑠) 4
𝑛(1) 1
𝑓(1) = 𝑃(𝑋 = 1) = =
𝑛(𝑠) 2
𝑛(2) 1
𝑓(2) = 𝑃(𝑋 = 2) = =
𝑛(𝑠) 4
Procedure 3
Probability Distribution
Number of heads 𝒇(𝒙) = 𝑷(𝑿 = 𝒙)
(𝑿)
0 𝟏/𝟒
1 𝟏/𝟐
2 𝟏/𝟒
Total 1.00
Properties of PMF
1. 𝑓(𝑥) ≥ 0 for each 𝑥 ∈ 𝑋
2. 0 ≤ 𝑓(𝑥) ≤ 1
3. ∑ 𝑓(𝑥) = 1
Example 1.2
An employment rate of a certain country A (𝑅𝐴 ) in percentage is assumed to be a discrete
random variable whose probability distribution is as shown below:
𝑅𝐴 -12 -10 -6 0 4 8 10 12
Prob. 0.10 0.15 0.10 0.15 0.1 0.15 0.1 0.15
Find
a) 𝑃(𝑅𝐴 ≥ 0)
b) 𝑃(𝑅𝐴 ≥ −10)
Solution:
a) 𝑃(𝑅𝐴 ≥ 0) = 𝑃(𝑅𝐴 = 0) + 𝑃(𝑅𝐴 = 4) + 𝑃(𝑅𝐴 = 8) + 𝑃(𝑅𝐴 = 10) + 𝑃(𝑅𝐴 = 12)
= 0.15 + 0.1 + 0.15 + 0.1 + 0.15
= 0.65
c) 𝑃(𝑅𝐴 ≥ −10) = 1 − 𝑃(𝑅𝐴 < −10)
= 1 − 𝑃(𝑅𝐴 = −12)
= 1 − 0.10
= 0.9
Where 𝑃(𝑋 ≤ 𝑥) means the probability that a random variable 𝑋 takes a value of less than or
equal to a specific value 𝑥, where 𝑥 is given. For example, 𝑃(𝑋 ≤ 2) means the probability that
the random variable 𝑋 takes the value less than of equal to 2.
Example 1.3
Find Probability Mass Function (PMF) and Cumulative Mass Function (CMF) of a total
number of heads obtained by tossing a fair coin three times.
Solution:
The following tree diagram is used to obtain the sample space 𝑆
H T
H
H
T T
Therefore 𝑺 = {𝐻𝐻𝐻, 𝐻𝐻𝑇, 𝐻𝑇𝐻, 𝐻𝑇𝑇, 𝑇𝐻𝐻, 𝑇𝐻𝑇, 𝑇𝑇𝐻, 𝑇𝑇𝑇 }
By letting 𝑋 =number of heads shown up, we find that 𝑋 can take values 0, 1, 2 or 3 and
hence the corresponding PMF will be obtained as indicated below:
1
𝑓(0) = 𝑃(𝑋 = 0) =
8
3
𝑓(1) = 𝑃(𝑋 = 1) =
8
3
𝑓(2) = 𝑃(𝑋 = 2) =
8
1
𝑓(3) = 𝑃(𝑋 = 3) =
8
In Tabula form:
𝑥 0 1 2 3
𝑓(𝑥) 1/8 3/8 3/8 1/8
It follows that, the Cumulative Mass Function (CMF) will be obtained as indicated here:
From:
𝐹(𝑥) = 𝑃(𝑋 ≤ 𝑥)
1
𝐹(0) = 𝑃(𝑋 ≤ 0) = 𝑃(𝑋 = 0) =
8
4
𝐹(1) = 𝑃(𝑋 ≤ 1) = 𝑃(𝑋 = 0) + 𝑃(𝑋 = 1) =
8
7
𝐹(2) = 𝑃(𝑋 ≤ 2) = 𝑃(𝑋 = 0) + 𝑃(𝑋 = 1) + 𝑃(𝑋 = 2) =
8
𝐹(3) = 𝑃(𝑋 ≤ 3) = 𝑃(𝑋 = 0) + 𝑃(𝑋 = 1) + 𝑃(𝑋 = 2) + 𝑃(𝑋 = 3) = 1
However, in plotting the CMF the following will be the ranges of :
0 f or x0
1
f or 0 x 1
8
4
F ( x) = f or 1 x 2
8
7
8 f or 2 x3
1 f or 3 x
With reference to the previous example, it can be observed that, a CMF is merely an
accumulation of PMF for the values of 𝑋 less than or equal to a given 𝑥. That is,
𝐹(𝑥) = ∑ 𝑓(𝑥)
𝑥
Note: The results for both PMF and CMF can also be summarized in the following Table:
Number of
heads values of PMF values of CMF
𝑿 𝒙 𝒇(𝒙) 𝒙 𝑭(𝒙)
0 0≤𝑥<1 1/8 𝑥=0 1/8
1 1≤𝑥<2 3/8 𝑥≤1 4/8
2 2≤𝑥<3 3/8 𝑥≤2 7/8
3 3≤𝑥 1/8 𝑥≤3 1
1. Non-negativity
𝑓(𝑥, 𝑦) ≥ 0
2. Total probability equals 1
f ( x, y) = 1
x y
Example 1.4
Solution
Recall one of the conditions of joint probability distribution function, that is
f ( x, y) = 1
x y
It implies that,
𝒇(𝟏, 𝟐) + 𝒇(𝟏, 𝟑) + 𝒇(𝟐, 𝟐) + 𝒇(𝟐, 𝟑) = 𝟏
𝟑𝒂 + 𝟒𝒂 + 𝟔𝒂 + 𝟕𝒂 = 𝟏
𝟐𝟎𝒂 = 𝟏
Therefore:
𝟏
𝒂=
𝟐𝟎
= 𝟎. 𝟎𝟓
for each 𝑥 within the range of X is called marginal distribution of X. Similarly, the function
𝑃(𝑋 = 𝑥, 𝑌 = 𝑦)
𝑓(𝑥/𝑦) =
𝑃(𝑌 = 𝑦)
Where 𝑃(𝑌 = 𝑦) = ℎ(𝑦) is the marginal probability of 𝑌 and 𝑓(𝑥/𝑦) stands for the conditional
probability of 𝑌 given 𝑋
Similarly, conditional probability of 𝑌 given 𝑋 is:
𝑃(𝑋 = 𝑥, 𝑌 = 𝑦)
𝑓(𝑦/𝑥) =
𝑃(𝑋 = 𝑥)
Where 𝑃(𝑋 = 𝑥) = 𝑔(𝑥) is the marginal probability of 𝑋 and 𝑓(𝑥/𝑦) stands for the conditional
probability of 𝑋 given 𝑌
1.5.4 Independence of random variables
Two jointly distributed random variables are said to be linearly independent if and only if their
joint probability distribution can be expressed as the product of their individuals, or marginal,
for all combinations of 𝑋 and 𝑌 values. That is, symbolically:
= 𝑃(𝑋 = 𝑥) × 𝑃(𝑌 = 𝑦)
Where 𝑓(𝑥) and 𝑓(𝑦) are marginal probability of 𝑋 and 𝑌 in this context
Similarly, as we will observe in some of the next sections, two random variables are pointed
out to be independent if their covariance is equal to zero. This means that the two random
variables do not have any kind of relationship. That is neither linear nor non-linear.
Example 1.5
Suppose we have the following joint probability distribution
𝑋/𝑌 0 1 𝐓𝐨𝐭𝐚𝐥
0 0.2 0.3 0.5
2 0.1 0.4 0.5
𝐓𝐨𝐭𝐚𝐥 0.3 0.7 1
a) Find 𝑃(𝑋 = 2, 𝑌 = 0)
b) Find marginal probability of 𝑋 = 0
c) Find marginal probability of 𝑌 = 1
d) Check whether 𝑋 = 0, 𝑌 = 1 are independent
e) Find 𝑓(2/1)
Definition:
Let 𝑋 be a random variable with probability 𝑓(𝑥) = 𝑃(𝑋 = 𝑥) then the expected value 𝐸(𝑋) is
given by
𝐸(𝑋) = ∑ 𝑥𝑃(𝑋 = 𝑥) or
= ∑ 𝑥𝑓(𝑥)
=𝜇
In other words; if a discrete random variable 𝑋 has possible values 𝑥1 , 𝑥2 , 𝑥3 ⋯ 𝑥𝑛 with
corresponding probabilities 𝑃(𝑋 = 𝑥1 ), 𝑃(𝑋 = 𝑥2 ), 𝑃(𝑋 = 𝑥3 ), ⋯ , 𝑃(𝑋 = 𝑥𝑛 ) then expected
value is obtained by multiplying the value the random variable takes with the corresponding
probability of occurrence, i.e.
∑ 𝑘 = 𝑛𝑘
𝑖=1
2. If 𝑘 is constant, then
𝑛 𝑛
∑ 𝑘𝑋𝑖 = 𝑘 ∑ 𝑋𝑖
𝑖=1 𝑖=1
∑(𝑎 + 𝑏𝑋𝑖 ) = 𝑛𝑎 + 𝑏 ∑ 𝑋𝑖
𝑖=1 𝑖=1
3. Also
𝐸(𝑋𝑌) ≠ 𝐸(𝑋)𝐸(𝑌)
That is, generally, the expected value of the product of two random variables is not
equal to product of the expected values of those random variables. However, there is
an exception to the rule, if X and Y are independent then:
𝐸(𝑋𝑌) = 𝐸(𝑋)𝐸(𝑌)
4. If 𝑘 is a constant, then
𝐸(𝑘𝑋) = 𝑘𝐸(𝑋)
That is to say, the expected value of a constant times a random variable X, is equal to
the constant times the expected value of the Random Variable
5. If 𝑎 and 𝑏 are constants, then
𝐸(𝑎𝑋 + 𝑏) = 𝐸(𝑎𝑋) + 𝐸(𝑏)
= 𝑎𝐸(𝑋) + 𝑏
Variance indicates how individual values are spread, dispersed or distributed around the mean
value. But also, the statistical concept of variance is a useful measure of risk of any kind.
Generally, if X is a discrete random variable, then its variance is given by:
2
𝑉𝑎𝑟(𝑋) = 𝐸(𝑋 − 𝐸(𝑋))
= 𝐸(𝑋 2 ) − (𝐸(𝑋))2
= 𝐸(𝑋 2 ) − 𝜇2
= 𝜎2
Where 𝐸(𝑋 2 ) = ∑ 𝑥 2 𝑓(𝑥)
The standard deviation of X is therefore given by
𝑆𝐷(𝑋) = √Var(𝑋)
=𝜎
Example 1.6
A company estimates the net profit for a new product to be launched with its corresponding
probabilities under different market conditions as follows;
Required:
a) Calculate the expected value of the net profit for the Company
b) What is standard deviation of the net profit
Solution:
a) We know that
𝐸(𝑋) = ∑ 𝑥𝑃(𝑋 = 𝑥)
𝑖=1
Therefore, the expected value of the net profit for the company under all three given market
conditions is 5.2 million TZS.
Example 1.7
= 1.9
2
𝑉𝑎𝑟(𝑋) = 𝐸(𝑋 2 ) − (𝐸(𝑋))
= ∑ 𝑥 2 𝑓(𝑥) − (∑ 𝑥𝑓(𝑥))2
= 69.4 − 1.92
= 65.79
𝑆𝐷(𝑋) = √𝑉𝑎𝑟(𝑋)
= √65.79
= 8.11
Example 1.8
A monthly income of workers in millions of TZS from a certain sector with their associated
probabilities are as indicated in the following probability distribution
𝐸(𝑋) = ∑ 𝑥𝑓(𝑥)
= 2.34
2
𝑉𝑎𝑟(𝑋) = 𝐸(𝑋 2 ) − (𝐸(𝑋))
= ∑ 𝑥 2 𝑓(𝑥) − (∑ 𝑥𝑓(𝑥))2
= 6.321 − 2.342
= 0.8454
𝑆𝐷(𝑋) = √𝑉𝑎𝑟(𝑋)
= √0.8454
= 0.9194
Properties of variance
3. If 𝑏 is a constant, then
𝑉𝑎𝑟(𝑏 + 𝑋) = 𝑉𝑎𝑟(𝑋)
4. If 𝑎 is a constant, then
𝑉𝑎𝑟(𝑎𝑋) = 𝑎2 𝑉𝑎𝑟(𝑋)
5. If X and Y are independent random variables and 𝑎 and 𝑏 are constants, then
𝑉𝑎𝑟(𝑎𝑋 + 𝑏𝑌) = 𝑎2 𝑉𝑎𝑟(𝑋) + 𝑏 2 𝑉𝑎𝑟(𝑌)
= 𝐸(𝑋𝑌) − 𝐸(𝑋)𝐸(𝑌)
= 𝐸(𝑋𝑌) − 𝜇𝑥 𝜇𝑦
To compute the covariance as defined in the above Equations, we now use the following
formula
𝐶𝑜𝑣(𝑋, 𝑌) = ( X −
x y
x )(Y − y ) 𝑓(𝑥, 𝑦)
= ∑ ∑ 𝑥𝑦𝑓(𝑥, 𝑦) − 𝜇𝑥 𝜇𝑦
𝑥 𝑦
Where 𝑓(𝑥, 𝑦) is the joint probability distribution function of the two random variables X and
Y. The double summation sign in this expression indicates that covariance requires the
summation of both variables over the range of their values.
Properties of Covariance
1. If X and Y are independent random variables, their covariance is zero. This can be
verified as indicated here. Recall that if two random variables are independent, then
𝐸(𝑋𝑌) = 𝐸(𝑋)𝐸(𝑌) = 𝜇𝑥 𝑢𝑦
Substituting the above expression into equation (...), we see at once that the covariance
of two independent random variable is zero
[Link] Correlation
Correlation coefficient is a numerical value which measures the strength of relationships
between two random variables. IF X and Y are two random variables, their correlation
coefficient denoted by 𝐶𝑜𝑟𝑟(𝑋, 𝑌)or 𝜌 is given by
𝐶𝑜𝑣(𝑋, 𝑌)
𝜌=
𝜎𝑥 𝜎𝑦
Properties of Correlation Coefficient
Like covariance, 𝜌 can be either positive or negative
The correlation coefficient always lies between −1 and +1. Symbolically
−1 ≤ 𝜌 ≤ 1
If the correlation coefficient is +1, it means that the two variables are perfectly positive
correlated, whereas if the correlation coefficient is −1, it means that they are perfectly negative
correlated. If 0, it means no relationship at all. However, if 0.8 ≤ 𝜌 < 1 then this indicates a
very strong linear relationship, it is just strong when 0.6 ≤ 𝜌 < 0.8. Furthermore if 𝜌 ≤ 0.3
then it indicates weak linear relationship
Example 1.8
The following Table gives the joint PDF of two random variables X and Y, where X represent
the first-year rate of return (%) expected from investment A, and Y stands for the first-year
rate of return expected from investment B.
X(%)
-10 0 20 30
a) Find the marginal distribution of X and hence the expected rate of return and standard
deviation
b) Find the marginal distribution of Y and hence the expected rate of return and standard
deviation
c) Compute the covariance, correlation coefficient between these cash flows and
comment on the results
d) Are X and Y linearly independent?
Solution:
The marginal distribution of 𝑋 is given below:
𝑥 -10 0 20 30
Prob. 0.27 0.12 0.26 0.35
Hence:
𝐸(𝑋) = ∑ 𝑥ℎ(𝑥)
= 13
2
𝑉𝑎𝑟(𝑋) = 𝐸(𝑋 2 ) − (𝐸(𝑋))
= ∑ 𝑥 2 ℎ(𝑥) − (∑ 𝑥ℎ(𝑥))2
= 446 − 132
= 277
𝑆𝐷(𝑋) = √𝑉𝑎𝑟(𝑋)
= √277
= 16.64
The marginal distribution of 𝑌 is given below:
y 20 50
g(y) 0.51 0.49
𝐸(𝑌) = ∑ 𝑦𝑔(𝑦)
= 20(0.51) + 50(0.49)
= 10.2 + 24.5
= 34.7
2
𝑉𝑎𝑟(𝑌) = 𝐸(𝑌 2 ) − (𝐸(𝑌))
= ∑ 𝑦 2 𝑔(𝑦) − (∑ 𝑦𝑔(𝑦))2
= 202 (0.51) + 502 (0.49) − 34.72
= 204 + 1225 − 1204.09
= 224.91
𝑆𝐷(𝑌) = √𝑉𝑎𝑟(𝑌)
= √224.91
= 14.99
Example 1.9:
Suppose a certain investor has decided to invest into two different stocks, A and B and it is
expected that returns from the stocks depend on the following three states of economy, which
are equally likely to happen:
State of the
Economy 𝑥 𝑦 𝑃𝑖 𝑥𝑃𝑖 𝑦𝑃𝑖 𝑥 2 𝑃𝑖 𝑦 2 𝑃𝑖
Good 7.3 -4.7 1/3 2.433 -1.567 17.763 7.363
Normal 11.5 5.4 1/3 3.833 1.800 44.083 9.72
Best 16.6 24.3 1/3 5.533 8.100 91.853 196.83
Total 11.80 8.33 153.7 213.913
= ∑ 𝑥 2 𝑓(𝑥) − [∑ 𝑥𝑓(𝑥)]
𝑖=1 𝑖=1
2
= 153.7 − 11.8
= 𝟏𝟒. 𝟒𝟔
𝑆𝐷(𝑋) = √𝑉𝑎𝑟(𝑋)
= √14.46
= 𝟑. 𝟖𝟎𝟑
𝑉𝑎𝑟(𝑌) = 𝐸(𝑌 2 ) − (𝐸(𝑌))2
𝑛 𝑛 2
= ∑ 𝑦 2 𝑓(𝑦) − [∑ 𝑦𝑓(𝑦)]
𝑖=1 𝑖=1
= 213.913 − 8.332
= 𝟏𝟒𝟒. 𝟓𝟐𝟒𝟏
𝑆𝐷(𝑌) = √𝑉𝑎𝑟(𝑌)
= √144.5241
= 𝟏𝟐. 𝟎𝟐𝟏𝟖
(c) Covariance and correlation between the two stocks is given by:
𝐶𝑜𝑣(𝑋, 𝑌) = 𝐸[(𝑋 − 𝐸(𝑋))(𝑌 − 𝐸(𝑌))]
𝐸(𝑌) = 8.33
The following Table of gives some summary characteristics:
State of
the
Economy 𝑥 𝑦 𝑓(𝑥, 𝑦) 𝐸 − 𝐸(𝑋) 𝐸 − 𝐸(𝑌) (𝐸 − 𝐸(𝑋)(𝐸 − 𝐸(𝑌)𝑓(𝑥, 𝑦)
Good 7.3 -4.7 1/3 -4.5 -13.033 19.55
Normal 11.5 5.4 1/3 -0.3 -2.933 0.293
Best 16.6 24.3 1/3 4.8 15.967 25.547
Total 45.39
From the Table above:
𝐶𝑜𝑣(𝑋, 𝑌) = 𝐸[(𝑋 − 𝐸(𝑋))(𝑌 − 𝐸(𝑌))]
= 𝟒𝟓. 𝟑𝟗
𝐶𝑜𝑣(𝑋, 𝑌)
𝐶𝑜𝑟𝑟(𝑋, 𝑌) =
𝑆𝐷(𝑋)𝑆𝐷(𝑌)
45.39
=
3.803 × 12.0218
= 𝟎. 𝟗𝟗𝟑
Interpretation:
𝜌 = 0.993 indicates strong positive relationship between the two stock returns
(d) Since 𝐶𝑜𝑣(𝑋, 𝑌) ≠ 0 hence the two stock returns are NOT linearly independent.
1.7 Relationship Between Population and Sample
So, we have seen on how to compute numerous characteristics of PDF of discrete random
variables such as expected value, variance, standard deviation, covariance, and correlation
coefficient. All these are population variables. In reality when conducting quantitative
research, it is somehow difficult to deal with the whole population, unless otherwise if the
population is finite. But in most cases , we normally use a sample which is subset of the
population to draw conclusion about the properties of a given population. This is the basis of
the so-called inference statistics that will be discussed in later sections. But mean while the
sample counterpart together with their corresponding population variables are summarized
in the following Table.
Example 1.10
Returns (in millions of shillings) from two samples of investments projects X and Y were
recorded as follows;
X 3 4 6 8 7
Y 2 5 7 8 10
(a) Compute the mean return and standard deviation for each Project.
(b) Compute the correlation between the returns and comment on your results.
Hint: Let the students find the solution of the above problem
𝑌 = 𝑎1 𝑋1 + 𝑎2 𝑋2 + ⋯ + 𝑎𝑛 𝑋𝑛 = ∑ 𝑎𝑖 𝑋𝑖 = 𝑎́ 𝑿
𝑖=1
is a linear combination of random variables. Where 𝑎́ is a row vector (a row matrix) and 𝑿
is a column vector (column matrix). That is to say a linear combination of random variables
can also be expressed in terms of matrix notation.
𝑌 = 𝑎1 𝑋1 + 𝑎2 𝑋2 + ⋯ + 𝑎𝑛 𝑋𝑛 = ∑ 𝑎𝑖 𝑋𝑖
𝑖=1
Then
𝑛
𝐸(𝑌) = 𝑎1 𝜇1 + 𝑎2 𝜇2 + ⋯ + 𝑎𝑛 𝜇𝑛 = ∑ 𝑎𝑖 𝜇𝑖 = 𝑎𝒖́
𝑖=1
where 𝑎1 , 𝑎2 , ⋯ , 𝑎𝑛 are constants
𝑍 = 𝑎𝑋 + 𝑏𝑌
Then
𝐸(𝑍) = 𝑎𝐸(𝑋) + 𝑏𝐸(𝑌)
𝑉𝑎𝑟(𝑍) = 𝑎2 𝑉𝑎𝑟(𝑋) + 𝑏 2 𝑉𝑎𝑟(𝑌) + 2𝑎𝑏𝐶𝑜𝑣(𝑋, 𝑌)
For three random variables as indicated below:
𝑌 = 𝑎1 𝑋1 + 𝑎2 𝑋2 + 𝑎3 𝑋3
𝐸(𝑌) = 𝑎1 𝐸(𝑋1 ) + 𝑎2 𝐸(𝑋2 ) + 𝑎3 𝐸(𝑋3 )
𝑉𝑎𝑟(𝑌) = 𝑎12 𝑉𝑎𝑟(𝑋1 ) + 𝑎22 𝑉𝑎𝑟(𝑋2 ) + 𝑎32 𝑉𝑎𝑟(𝑋2 ) + 2𝑎1 𝑎2 𝐶𝑜𝑣(𝑋1 , 𝑋2 ) + 2𝑎1 𝑎3 𝐶𝑜𝑣(𝑋1 , 𝑋3 )
+ 2𝑎2 𝑎3 𝐶𝑜𝑣(𝑋2 , 𝑋3 )
If we have three or more random variables, it is more convenient to use matrix approach to
compute mean and variance of linear combination.
Solution:
Let 𝑋 be a random variable representing return from the amount invested in TBL, 𝑌 denote
a random variable representing return of the amount invested in UTT, and 𝑊 denotes the
corresponding weights such that ∑𝑛𝑖=1 𝑊𝑖 = 1 (this is special for portfolio)
Let also 𝑅𝑝 be a random variable representing return of corresponding portfolio then:
𝑅𝑝 = 𝑊𝑥 𝑋 + 𝑊𝑦 𝑌
That is to say, portfolio return is a linear combination of returns from the two types of
investments:
Data Given:
𝑊𝑥 = 80%, 𝑊𝑦 = 20%, 𝐸(𝑋) = 6%, 𝐸(𝑌) = 20%, 𝑆𝐷(𝑋) = 30%, 𝑆𝐷(𝑌) = 30% 𝜌𝑥𝑦 = 0.4
a) 𝐸(𝑅𝑝 ) = 𝑊𝑥 𝐸(𝑋) + 𝑊𝑦 𝐸(𝑌)
Where:
𝐶𝑜𝑣(𝑋, 𝑌) = 𝜌𝑥𝑦 𝑆𝐷(𝑋)𝑆𝐷(𝑌)
Therefore:
= [0.82 × 0.092 ] + [0.22 × 0.32 ]+[2 × 0.8 × 0.2 × 0.4 × 0.09 × 0.3]
= 0.00514 + 0.0036 + 0.003456
= 0.012196
c) 𝑆𝐷(𝑅𝑝 ) = √𝑉𝑎𝑟(𝑅𝑝 )
= √0.012196
= 0.11043
d) If the two securities are independent, then 𝐶𝑜𝑣(𝑋, 𝑌) = 0
Therefore:
𝑥 -10 -4 0 20 25
𝑓(𝑥) 0.10 0.15 0.25 0.30 0.20
(a) Determine the expected value and standard deviation of the return.
(b) Suppose that a net present value (NPV) depends on X above, compute an expected
value and variance of NPV given that:
𝑋
𝑁𝑃𝑉 = −10 + 1.5
(c) Three equally weighted and independent returns 𝑅𝑖 for 𝑖 = 1,2,3 constitute a portfolio
return 𝑅𝑃 . Suppose that the following information is available:
𝐸(𝑅1 ) = 9, 𝐸(𝑅2 ) = 10, 𝐸(𝑅3 ) = 7, 𝑉𝑎𝑟(𝑅1 ) = 6, 𝑉𝑎𝑟(𝑅2 ) = 12 and 𝑉𝑎𝑟(𝑅3 ) = 9.
Compute the expected return and standard deviation for the entire portfolio.
Solutions:
(a) Determine the expected value and standard deviation of the investment return.
∑ 𝑥𝑓(𝑥) = 9.4
∑ 𝑥 2 𝑓(𝑥) = 257.4
𝐸(𝑋) = ∑ 𝑥𝑓(𝑥) = 𝟗. 𝟒
From
𝑋
𝑁𝑃𝑉 = −10 +
1.5
𝑋
𝐸(𝑁𝑃𝑉) = 𝐸 (−10 + )
1.5
𝐸(𝑋)
= 𝐸(−10) +
1.5
9.4
= −10 +
1.5
= −𝟑. 𝟕𝟑𝟑
𝑋
𝑉𝑎𝑟(𝑁𝑃𝑉) = 𝑉𝑎𝑟 (−10 + )
1.5
𝑉𝑎𝑟(𝑋)
= 𝑉𝑎𝑟(−10) +
1.52
169.04
=0+
2.25
= 𝟕𝟓. 𝟏𝟐𝟗
(c) Compute the expected return and standard deviation for the entire portfolio.
Where:
1
𝑎1 = 𝑎2 = 𝑎3 = 3 since ∑ 𝑎𝑖 = 1
𝑉𝑎𝑟(𝑅𝑝 ) = 𝑎12 𝑉𝑎𝑟(𝑅1 ) + 𝑎22 𝑉𝑎𝑟(𝑅2 ) + 𝑎32 𝑉𝑎𝑟(𝑅2 ) + 2𝑎1 𝑎2 𝐶𝑜𝑣(𝑅1 , 𝑅2 ) + 2𝑎1 𝑎3 𝐶𝑜𝑣(𝑅1 , 𝑅3 )
+ 2𝑎2 𝑎3 𝐶𝑜𝑣(𝑅2 , 𝑅3 )
Therefore:
𝑆𝐷(𝑅𝑝 ) = √𝑉𝑎𝑟(𝑅𝑝 )
= √3
= 1.73