Lecture One
Lecture One
Lecture 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 variables takes on only a finite 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 death 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 (always real numbers) in a
given interval of values. Examples of continuous R.V are, height, weight, rainfall,
temperature etc.
General Examples of random variables in the real life are; 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.
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:
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
From the sample space described above, a random variable (i.e. number of heads) takes on
three different values, depending on whether zero head (no head), one head, or two
heads were obtained in the experiment of tossing two fair coins. That is
Probability of an event can be obtained by employing traditional definition of probability,
that is:
n( E )
P( E ) =
n( S )
Let be the number of observed heads. The probabilities of the number of heads showing up
are as indicated below and the probability distribution is shown in Table 1.
Probability Distribution
Number of heads
( )
Total 1.00
Properties of PMF
1. for each
2.
3.
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
Find
a)
b)
Solution:
a)
c)
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 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
Start
H
T T
H
T
T
Therefore
By letting number of heads shown up, we find that can take values or and
hence the corresponding PMF will be obtained as indicated below:
In Tabula form:
0 1 2 3
It follows that, the Cumulative Mass Function (CMF) will be obtained as indicated here:
From:
0 for x0
1
for 0 x 1
8
4
F ( x) = for 1 x 2
8
7
8 for 2 x3
1 for 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
1
2
3
Definition:
Let be a random variable with probability then the expected value
is given by
or
2. The expected value of the sum of two random variables is equal to sum of expected
value of the two random variables. That is for the random variables X and Y.
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 R.V
5. If and are constants, then
Where
The standard deviation of X is therefore given by
Example 1.4
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
n
E ( X ) = xP( X = x)
i =1
Therefore the standard deviation of the net profit for the company under all three given
market conditions is 11.76 million Tsh. This tells us how much the net profit deviates from
the expected value of 5.2 million Tsh. Thus, we may say that although the expected net profit
is about 5.2 million Tsh, it may go above or below this value by 11.76 million Tsh. You may
calculate the confidence interval to estimate the interval on which the expected net profit will
fall.
Example 1.5
Example 1.6
A monthly income of workers in millions of TShs from a certain sector with their associated
probabilities are as indicated in the following probability distribution
Properties of variance
3. If is a constant, then
4. If is a constant, then
5. If X and Y are independent random variables and and are constants, then