SST 214 Module PDF-1
SST 214 Module PDF-1
1
P(X=0) =P{NNN} = 8
,
3
P(X=1) =P{SNN, NSN,NNS} = 8 ,
3
P(X=2) =P{SSN, SNS,NSS} = 8 ,
1
and P(X=3) =P{SSS} = 8 .
We can write these probabilities in a table form as follows:
x 0 1 2 3
P(X=x) 1 3 3 1
8 8 8 8
� � =� �=�
and satisfying the following conditions:
� � � ≥ 0 ��� ��� �
�=∞
�� �=−∞
� � = 1.
Solution
1
� � = � = 8 , � = 0,1,2,3,4,5,6,7
and � � = � = 0 , � ∉ {0,1,2,3,4,5,6,7}
Therefore, the probability distribution of X is by
1
, � = 0,1,2,3,4,5,6,7
� � = 8
0, ��ℎ������
=9
Obviously � � ≥ 0 and �=0
� � = 1.
A probability distribution given by
1
, � = 1,2, . . . , �
� � = �
0, ��ℎ������
is known as a discrete uniform distribution.
∞
�� −∞
� � �� = 1.
�
NB: � � ≤ � ≤ � = �
� � .
Example 1.6 Let X be a continuous random variable. Show that the function
1
�, 0 ≤ � ≤ 2
� � = 2
0, ��ℎ������
1
is a p.d.f of X. Hence calculate � 2 ≤ � ≤ 1 and � −1 ≤ � ≤ 1 .
Solution
2 21
Clearly � � ≥ 0, for all real x and 0
� � = 0 2
� �� = 1, Hence � � is a
p.d.f.
1 11 3
�
2
≤�≤1 = 1
2
� �� =
16
and
2
0 1 1 1
� −1 ≤ � ≤ 1 = −1
� � �� + 0
� � �� = 0 +
4
=
4
.
3
0
� � �� = 1 since � � is a p.d.f
3
1
�� + �� = 1
30
0
1
�= .
5
1 1
�+ , 0≤�≤3
Therefore � � = 5 30 and hence
0, �����ℎ���
2
1 1 1
� 1≤�≤2 = �+ �� =
5 30 3
1
�, � < � < �
Example 1.8 Let � � =
0, ��ℎ������
be a p.d.f of a continuous random variable X. Find the value of the constant c.
Solution
�
�
� � �� = 1 since � � is a p.d.f of X.
�
�
� �� = 1
1
�=
�−�
1
, �<�<�
Therefore � � = �−�
0, ��ℎ������
LECTOR ABUYA BUNDI
0724614628
And such a distribution is known as rectangular density function on the interval
(a,b). If a=0 and b=1, then we have
1, 0 < � < 1
� � =
0, ��ℎ������
as the uniform density function on the unit interval (0,1).
1.6 : Assessment
2
1+� , 4 ≤ � ≤ 7
1. If � � = 39
0, ��ℎ������
is a p.d.f of a continuous random variable X calculate � � < 5 and � 5 ≤
� ≤ 6.5 .
���−� , � > 0
2. Let � � =
0, � ≤ 0
be a p.d.f of X. Find the value of the constant k. Hence determine � � < 5
and � � ≥ 10 .
x 0 1 2 3 4 5 6 7 8 9
f(x) 0.02 0.1p 0.2p 0.05 0.1 0.7p 0.2 0.9p 0.15 0.3p
Determine the value of the constant p and find � � < 5 and � 3 ≤ � ≤ 7 .
References
LESSON TWO
DISTRIBUTION FUNCTIONS
2.1: Introduction
In this lesson will use the probability distributions we discussed in lesson one
to determine the distribution functions of both discrete and continuous
random variables.
2.2: Lesson Learning Outcome
By the end of this lesson learner will be able to determine the probability
distributions of discrete and continuous random variables
� � = �≤�
� �
Example 2.1
Let X be a discrete random variable with probability distribution
1
� + 1 , � = 1,2,3,4,5
� � = 20
0, ��ℎ������
Solution
(i)
x 1 2 3 4 5
f(x) 0.1 0.15 0.2 0.25 0.3
Graph of � �
Since � is any real number it could lie in any one of the following
six mutually disjoint intervals
−∞ < � < 1, 1 ≤ � < 2, 2 ≤ � < 3, 3 ≤ � < 4, 4 ≤ � <
5 ��� 5 ≤x< ∞. Thus
0 , �<1
1
, 1≤�<2
10
1
, 2≤�<3
� � = 4
9
, 3≤�<4
20
7
, 4≤�<5
10
1 , �≥5
Graph of � �
(i) � � is a step function,
(ii) � � is everywhere continuous to the right of any point.
2.3.2: Distribution of a continuous random variable
If X is a continuous random variable with density function � � , then the
distribution function of X is given by
�
� � = −∞
� � ��.
Example 2
� � =� �≤�
�
= −∞
� � ��
0 , �≤0
�1
= 0 2
� �� , 0 < � < 2
1, �≥2
0, �≤0
1 2
= �, 0<�<2
4
1, �≥2
Graph of � �
� �2 ≥ � �1 .
(i) Graph of � �
3
, �=0
5
� � = 2
, 0<�≤5
25
0, ��ℎ������
(ii) � −3 ≤ � ≤ 3 = � 3 − � −3
6 3 21
= + −0=
25 5 25
Alternatively
� −3 ≤ � ≤ 3 = � 0 + � 0 < � ≤ 3
3
= +� 3 −� 0
5
3 6 3 3 21
= + + − =
5 25 5 5 25
Example 2.4
A continuous random variable X has probability density function (p.d.f) given by
Therefore
0 , �<0
1
� � = � ,0≤�≤4
2
1 , �>4
� � is differentiable in the interval [0,4]. Hence the p.d.f of Y is given by
� � = �/ �
1
1
=� � = �− 2 , 0 ≤ � ≤ 4
4
0 , ��ℎ������
2.4: SST 204 E-TIVITY
Numbering, pacing and Week 2 , lesson 2
sequencing
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and D.C.
Boes.
2. Probability and Statistics by Rao V. Dukkip
LESSON THREE
MODE AND MEDIAN OF DISTRIBUTION
3.1 : Introduction
In this lesson we discuss the mode and median of a probability
distribution.
3.2 : Lesson Learning Outcomes
Example 3.1
Find the mode of each of the following distributions:
3 1 �−1
(i) � � = , � = 1,2,3, . . .
4 4
0, ��ℎ������
3 2
� �−1 , 0≤ �≤2
(ii) � � = 4
0 , �����ℎ���
Solutions
�2 � � 3
Thus the mode of � � is 0 since ��2
at � = 0 is − 2 < 0.
3.2: MEDIAN
The median of � � is a value � of the random variable X which satisfies
� � < � ≤ 0.5 and � � ≤ � ≥ 0.5 ,
when � is a discrete random variable.
Example 3.2
Obtain the median of each of the following distributions
4 1 � 3 4−�
(i) � � = , � = 0,1,2,3,4
� 4 4
0, ��ℎ������
Solution
�−1 �
�=0
� � ≤ 0.5 and �=0
� � ≥ 0.5
0 4−0
4 1 3 81
� 0 = =
0 4 4 256
4 1 1 3 4−1 27
� 1 = 4 4
=
1 64
189
� �≤1 =� �=0 +� �=1 =� 0 +� 1 = > 0.5
256
3.5: Assessment
1. Let X be a continuous random variable with p.d.f given by
2�−2� , � ≥ 0
� � =
0, ��ℎ������
Obtain the median of X.
2. The c.d.f of a continuous random variable U if given by
0 , �<0
�
� � = 1 − cos � , 0 ≤ � ≤ 2
�
1 , �>
2
LESSON FOUR
EXPECTATION OF A RANDOM VARIABLE
LECTOR ABUYA BUNDI
0724614628
4.1: Introduction
In this lesson will discuss expectation of a random variable. The
properties will be discussed this forum.
∞
� � = �=−∞
� � �
Example 4.1
Let X be a discrete random variable with probability distribution given by
1
, � = 1,2,3,4,5,6
� � = 6
0, ��ℎ������
Obtain � � .
Solution
∞
� � = �=−∞
� � �
6 1
= �=1
� 6 = 3.5
Let us now consider a new random variable � � which depends on a
discrete random variable X. Then the expectation of � � is defined by
Example 4.2
The following table shows the probability distribution of a discrete
random variable X.
x 0 1 2 3
f(x) 1 1 1 1
4 3 4 6
2
Find the expected values of � and � � = � − � � .
Solution
∞
(i) � � = �=−∞
�� �
3 4
= �=0
�� � =
3
4 2
(ii) Therefore g(X)= � − 3 .
Hence
∞
�� � = −∞
� � � �
3 4 2
= �=0
�− � �
3
4 2 1 2 2 2
= −3 � 0 + −3 � 1 + 3
� 2 +
5 2 57
3
� 3 = 54 .
∞
� � = −∞
�� � ��.
∞
�� � = −∞
� � � � ��.
Example 4.3
Let X be a continuous random variable with p.d.f
1
�+3 , −3< �<3
� � = 18
0, ��ℎ������
Compute � � and � �2 .
Solution
∞
� � = −∞
�� � ��.
3 1
= −3 18
� � + 3 �� = 1
and
∞ 2
� � = −∞
� � � ��.
3 1 2
= −3 18
� � + 3 �� = 3.
∞ ∞ �
� � = −∞
�� � ��= −∞ � 1+�2
��.
∞ ∞ �
But 0
�� � �� = 0 � 1+�2
��
1 ∞
= 2�
�� 1 + �2 =∞
0
∞
�� � = −∞
� � � � ��.
∞
= −∞
�� + � � � ��.
∞ ∞
=� −∞
�� � �� + � −∞
� � ��
= �� � + � …………………………………….. (1)
∞ ∞
=� −∞
� � � � �� + � −∞
ℎ(�)� � ��
Example 4.5
Let X be a discrete random variable with probability distribution
�
, � = 1,2,3,4
� � = 10
0, ��ℎ������
3 2
Compute � 5� − 2� .
Solution
� 5�3 − 2�2 = 5� �3 − 2� �2
�3
4 4
But � �2 = �=1
�2 � � = �=1 10
= 10 and
4 4
3 3
�4
� � = � � � = = 35.4
10
�=1 �=1
Therefore
� 5�3 − 2�2 = 5 35.4 − 2 10 = 157.
4.5 Assessment
LECTOR ABUYA BUNDI
0724614628
1. Let X be a discrete random variable with probability distribution given by
1
, � = 1,2,3, …, �
� � = �
0, ��ℎ������
�+1
Show that � � = 2
.
1
, �<�<�
� � = �−�
0, ��ℎ������
Where a and b are real numbers. Show that
�+� 1
� � =
2
and � �2 = 3 �2 + �� + �2 .
LESSON FIVE
MOMENTS
5.1: Introduction
In this lesson we consider moments about a point. Hence we will discuss central
moments like variance. The properties of variance will be discussed.
5.2: Lesson Learning outcomes
By the end of this lesson the learner will be able to:
i. Determine the moment of a random variable about a point
ii. Find the mean and variance of a distribution
iii. State the properties of variance
5.2: Moments
Let X be a random variable with a probability distribution � � . Then the expected
value of X, if it exists, is called the mean of the random variable X or the mean of
the probability distribution � � . It is usually denoted by �. That is
�=� �
1
3− � , −3< �<3
� � = 9
0, ��ℎ������
3� 0 �
= 0 9
3 − � �� + −3 9
3 + � �� = 0
��� � = �2 = � � − � 2
2
=� �−0
= � �2
3 �2 0 �2
= 0 9
3 − � �� + −3 9
3 + � �� = 1.5
2
NB: � � − � = � �2 − 2�� + �2
= � �2 − 2�� � + � �2
= � �2 = 2�2 + �2
= � �2 − �2 = �2 = ��� �
Example 5.2
The probability distribution of a discrete random variable X is given by
�
, � = 1,2,3,4,5,6
� � = 21
0, ��ℎ������
�3
6 6
� �2 = �=1
�2 � � = �=1 21
= 21
Therefore
13 2 20
��� � = �2 = � �2 − �2 = 21 − 3
= 9
.
5.2.1 : Properties of Variance
2
��� � = � � − �
� �+� =� � +�=�+�
2 2
��� � + � = � �+� − �+� = � �=� = ���(�).
� �� + � = �� � + � = �� + �.
2
��� �� + � = � �� + � − �� + �
2
= � �� = ��
= �2 � � = � 2
= �2 ��� � .
1
�+1 , −1< � <1
� � = 2
0, ��ℎ������
1 1 � 1
�=� � = −1
�� � �� = −1 2
� + 1 �� = 3 and
1 2 1 �2 1
� �2 = −1
� � � �� = −1 2
� + 1 �� = 3 . Therefore
1 1 2
��� � = �2 = � �2 − �2 = − = . Hence
3 9 9
2
��� 6� + 11 = 36 9
= 8.
Example 5.4
�−�
Obtain the mean and variance of the random variable � = �
, where �
and � are the mean and variance of a random variable X.
Solution
LECTOR ABUYA BUNDI
0724614628
�−� 1
� � =� = � �−� =0
� �
�−� 1 1
��� � = ��� �
= �2 ��� � = �2 × �2 = 1 .
NB: Thus, the random variable Y has mean and standard deviation one. The
�−�
linear transformation � = �
is called a standardizing transformation and
Y is called a standardized random variable.
5.4: Assessment
1
, � = 1,2,3, …, �
� � = �
0, ��ℎ������
1
, �<�<�
� � = �−�
0, ��ℎ������
Where a and b are real numbers. Show that
1
�2 = �−� 2
.
12
4 4
If � � = 3 and �� � = 45 , determine the values of the constants a,b
and c.
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta
LESSON SIX
��
∞
= �=0
�� and
�!
�
, � = 1,2,3
� � = 6
0, ��ℎ������
Obtain the m.g.f of X and use it to compute the mean and variance of X.
Solution
3 � ��
�� � = � ��� = �=0 6
�
1 2 3
= 6 + 6 �2� + 6 �3�
∕ 1 4 9
�� � = + �2� + �3� and therefore
6 6 6
∕ 1 4 9 7
� � = �� 0 = + �0 + �0 = .
6 6 6 3
∕∕ 1 8 27 3�
�� � = + �2� + � .
6 6 6
∕∕ 1 8 27
� �2 =�� 0 = 6 + 6 + 6
= 6. Hence
7 2 5
��� � = � �2 − � � 2
=6− = .
3 9
�2
= �2
and it exists for t, −∞ < � < ∞.
�2
∕
�� � = �� 2
∕
�(�) = � = �� 0 = 0
�2 �2
∕∕
�� � =� + 2 �2 � 2
∕∕
� �2 =�� 0 = 1 . Therefore
��� � = � �2 − � � 2
= 1 − 0 = 1.
We can use this probability generating function (p.g.f) to determine the mean and
variance of a distribution. S o we proceed as follows:
∞
�∕ � = �=1
��� ��−1
∞
∴ � � = �∕ 1 = �=1
��� and
∞
�∕∕ � = �=2
� � − 1 �� ��−2 .Therefore
∞
� � �−1 = �∕∕ 1 = �=2
� � − 1 �� . But
� �2 = � � � − 1 + � � = �∕∕ 1 + �∕ 1 . Thus
2
��� � = � �2 − � � 2
= �∕∕ 1 + �∕ 1 − �∕ 1 .
Example 6.4
Let X have a Bernoulli distribution with parameter p . That is
��. � = � = �� = �� �1−� , � = 1 − �, � = 0,1
Therefore, the p.g.f of X is given by
∞
�(�) = � ��
�=0 �
1
= �=0
�� �1−� �� = � + ��.
∴ �∕ � = � .
∴ � � = �∕ 1 = �.
1
, � = 1,2
1. � � = 2
0, ��ℎ������
1
, 0<�<2
2. � � = 2
0, ��ℎ������
6.6: Assessment
1. A random variable X has m.g.f
�� � = 1 − �2 −1
,
Compute its mean and variance.
2. A continuous random variance X has p.d.f
1, 0 < � < 1
� � =
0, ��ℎ������
Determine the m.g.f of X and hence compute � � and ��� � .
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta
LESSON SEVEN
BERNUOLLI, BINOMIAL AND HYPERGEOMETRIC
DISTRIBUTIONS
7.1: Introduction
In this lesson some special discrete distributions namely Bernoulli, Binomial and
Hypergeometric distributions. The binomial distribution is also known as Bernoulli
distribution. It has been used to describe a wide variety of processes in business
and social sciences. We determine moments of each these distributions.
7.2: Lesson Learning outcomes
By the end of this lesson the learner will be able to:
i. Define Bernoulli, Binomial and Hypergeometric distributions
ii. Determine means and variances of these distributions
� � = � �(�)
�=0
1
= �=0
� �� 1−� 1−�
= �.
The variance of X is given by
��� � = � �2 − � � 2
1
But � �2 = �=0
�2 �(�)
1
= �=0
�2 �� 1−� 1−�
=�
Therefore ��� � = � �2 − � � 2
= � − �2 = ��.
Example 7.1
A box contains 4 good fruits and 6 bad ones. If a fruit is selected at random from
the box, it can either be good or bad. The random variable
1 , �� �ℎ� ����� �� ���
�=
0 , �� �ℎ� ����� �� ����
= 1 − � + ���
Which exists for all real numbers t.
We can obtain the mean and variance of X by using the above m.g.f as follows:
∕
�� � = ��� .Therefore
∕
� � = �� 0 = �.
∕∕
�� � = ��� . Thus
∕∕
�� 0 = � = � �2 . Hence
��� � = � �2 − � � 2
= � − �2 = ��.
7.2.2: BINOMIAL DISTRIBUTION
A random variable X is defined to have a binomial distribution if the discrete
density is given by
� �−�
�� 1 − � , � = 0,1, …, � , � = 1 − �
� � = �
0, ��ℎ������
The parameters of the above distribution are n and p, where 0 ≤ � ≤ 1.
The mean of X is given by
�
� �2 = �=0
�2 �(�)
� �
= �=0
�2 �� 1 − � �−�
= � � − 1 �2 + ��.
�
(ii) � � = �� = 10 × 0.3 = 3
The moment generating function of the binomial random variable X with
parameters n and p is given by
� �
= �=0 �
��� �
1−� �−�
= ��� + � �
The mean and variance of a binomial random variable X are determined by using
its m.g.f as follows:
∕
�� � = ���� ��� + � �−1
. Therefore
∕ �−1
� � = �� 0 = �� � + � .
= �� , since p+q=1.
/∕
�� � = � � − 1 ��� 2
��� + � �−2
+ ���� ��� + � �−1
.
/∕
� �2 = �� 0 = � � − 1 �2 � + � �−2
+ �� � + � �−1
= � � − 1 �2 + ��
��� � = � �2 − � � 2
= � � − 1 �2 + �� − �2 �2 = ���.
7.2.3: Hypergeometric Distribution
Suppose that a box contains N bulbs, of which M are defective, n bulbs are
selected at random without replacement from the box. Let X be the number of
defective bulbs in the sample. Then X is called a hypergeometric random variable.
Therefore the probability distribution of X is given by
� �−�
� �−�
, � = 0,1,2, …, �
� � = �(� = �) = �
�
0, ��ℎ������
Where N is a positive integer, M is a non-negative integer that is at most N, and n
is a positive integer that is at most N.
The mean of X is given by
�
� � = �=0
� � �
�−1 �−�
� � � ��
=�
� �=�
�−1
�−1
�−�
=
�
.
�−1
� �−�
�
� � �−1 = �=1
�(� − 1) �
�
�−�
�−2 �−�
� �−1 � � �−1
=� �−1
� �−1 �=2
�−2
�−2
�−�
=� �−1
� �−1
.
�−2
2
��� � = � �(� − 1) + � � − �(�)
� �−1 �� �2 �2
= � �−1 + −
� �−1 � �2
�� (�−�)(�−�
= � �(�−1)
.
Example 7.3
A committee of 4 people is to be selected at random from among 10 people of
whom 3 are women and 7 are men. Let X denote the number of women selected.
Obtain
(i) the probability distribution of X,
(ii) the mean and the variance of X.
Solution
The random experiment described here would give rise to the hypergeometric
probability model. Thus,
3
� �2 = �=0
�2 � � = 2 . Therefore
��� � = � �2 − � � 2
= 2 − 1.22 = 0.56.
Individual task . Watch the above video keenly following the examples
in them
7.4: Assessment
1. A batch of 20 manufactured items contains 6 defective items, 5 items are
chosen at random from this batch. If X is the number of defective items in
the sample, find the probability distribution of X.
2. A study has shown that 80% of all families living in a certain residential
estate in Nakuru own a TV set. If 20 families are randomly selected from
this estate, compute the probability that
(i) all will have TV sets,
(ii) between 8 and 10, inclusive will have TV sets,
(iii) at most 10 will have TV sets,
(iv) at least 15 will own TV sets.
3. Suppose X is binomially distributed with parameters n and p; further
suppose that E(X)=5 and Var(X)=4. Find the values of n and p.
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta
= �−� ��� = �.
The variance of X is given by
��� � = � �2 − � � 2
.
∞
But � �2 = �=0
�2 � �
−� �
∞ 2� �
= �=0
�
�!
∞ �−� ��
= �=1
[� � − 1 + �]
�!
∞ �−� �� ∞ �−� ��
= �=1
� �−1 + �=0
�
�! �!
∞ �−� �� ∞ �−���
= �−� �2 �=2
� �−1
�(�−1)(�−2)!
+ �=0
� �!
= �−� �2 �� + �
= �2 + �.
∴ ��� � = �2 + � − �2 = �.
Example 8.1
The number of male mates of a queen bee was found to have a Poisson
distribution with parameter � = 2.7. Find the probability that the number, X, of
male mates of a queen bee is
(i) exactly 2,
(ii) at most 2,
(iii) between 1 and 3, inclusive,
Solution
The probability distribution of X is given by
�−� ��
� �=� =� � = , � = 0,1,2, …
�!
0, ��ℎ������0
∕∕ �0 −1 �0 −1
Therefore � �2 = �� 0 = �2 �0 �� + ��0 �� = �2 + � .
Thus ��� � = � �2 − � � 2
= �2 + � − �2 = � .
8.2.1: Approximating Binomial Probabilities
1 � �−1 �−�+1 � � � −�
= �! �
×
�
×…×
�
�� 1 − �
1−
�
But
� −� � �−1 �−�+1
lim 1 − = 1 , lim × ×…× = 1 and
�→∞ � �→∞ � � �
� �
lim 1 − = �−� . Therefore taking limits as � → ∞ and holding np fixed,
�→∞ �
We have
�� �−�
�(�) → �!
. Hence
� �−�� �� �
lim �� 1 − � �−�
=
�→∞ � �!
for fixed np. Thus for large but finite n and small p, one can approximate the
binomial distribution with parameters n and p with the Poisson distribution with
mean � = �� .
Example 8.2
A machine produces 1% defective items. Suppose it produces 1000 items. What is
the probability that an item selected at random is defective?
LECTOR ABUYA BUNDI
0724614628
Solution
Let X be the number of defective items among the 1000 items produced by the
machine. Then X is binomially distributed with parameters
� = 1000 and � = 0.01. Therefore
1000
(0.01)� 0.99 1000−�
, � = 0,1, …, 1000
� � = �
0, ��ℎ������
1000
� �=1 =� 1 = (0.01)1 0.99 999
= 0.00044
1
Using the Poisson approximation with � = �� = 10 we have
1000 �−10 10�
(0.01)� 0.99 1000−�
≃ And
� �!
�−10 101
� �=1 ≃ = 0.0005
1!
8.4: Assessment
1. Use the Poisson approximation to compute the following probabilities
(i) � � = 45 , where X is a binomial random variable with parameters
� = 100 and � = 0.5 .
(ii) � � ≤ 2 , where X is a binomial random variable with parameters
� = 120 and � = 0.04 .
2. If X is a random variable with Poisson distribution satisfying � � = 0 =
� � = 1 , what is �(�) ?
1
3. If X has a Poisson distribution and � � = 0 = 2 , what is �(�) ?
LESSON NINE
NORMAL DISTRIBUTION
9.1: Introduction
In this lesson we consider the normal distribution which plays an important role in
solving everyday problems. If we want to compare performance of students in
different subjects we must standardize their scores assuming marks are
approximately normal.
9.2: Lesson Learning outcomes
By the end of this lesson the learner will be able to:
i. Define a normal distribution,
ii. State properties of a normal distribution,
Now � = �� + � .Thus
1 2 2
= ���+2� �
∕
∴ � � = �� 0 = ��0 = �.
12 2 1 2 2
∕∕ 2 ��+2� �
�� � = �+� � 2
� + �2 ���+2� �
∕∕
∴ � �2 = �� 0 = �2 + �2 , ∴ ��� � = � �2 − � � 2
��� � = �2 + �2 − �2 = �2 .
Example 9.1
A random variable X is normally distributed with mean � and variance �2 .
Determine the mean and variance of a new random variable � = �� .
Solution
� � = � �� = �� 1
1
��+ �2 �2
Where �� � = � 2 is m.g.f of X.
1 2
∴ � � = ��+2�
��� � = � �2 − � � 2
.
LECTOR ABUYA BUNDI
0724614628
2
But � �2 = � �2� = �� 2 = �2�+2�
2 2
Therefore ��� � = �2�+2� − �2�+� .
WEEK 9 LESSON 2
9.3.2 : Computing Normal Probabilities
If � ∽ � �, � . Then � � ≤ � ≤ � = � � − � � . Therefore to compute this
probability we need to standardize X i.e
�−�
�=
�
Φ −� = 1 − Φ � or more generally
Φ −� = 1 − Φ � for all real z.
�−� �−� �−�
� � ≤ � ≤ � = �( �
≤ �
≤ )
�
�−� �−�
= �( ≤�≤ )
� �
�−� �−�
=Φ −Φ
� �
Example 9.2
= �( − 0.5 ≤ � ≤ 1.2)
= Φ 1.2 − Φ −0.5
= Φ 1.2 − [1 − Φ 0.5 ]
= 0.8849 − [1 − 0.6915]=0.5764.
Example 9.3
In an examination the average mark was 76.5 and the standard deviation was 9.5.
If 15% of the class scored grade A and the marks are assumed to follow a normal
distribution, what is the lowest possible grade A mark and the highest possible
grade B mark?
Solution
� ∽ � 76.5 , 9.5 .
Let a be the lowest possible grade A mark . Then
� � ≥ � = 0.15
�−76.5
Standardizing X we have � � ≥ 9.5
= 0.15 or
�−76.5
� �≤ 9.5
= 0.85 .
Therefore, the lowest grade A mark is 87, and the highest grade B mark, is 86.
Example 9.4
LECTOR ABUYA BUNDI
0724614628
If a random variable X is normally distributed with mean � and variance �2 , and if
� � ≤ 8 = 0.95 , determine � 4 ≤ � ≤ 11 .
Solution
� ∽ � �, �
8−�
� �≤8 =� �≤ = 0.95
�
8−� 8−�
i.e Φ �
= 0.95
�
= 1.65
� = 3.02.
4−� 11 − �
∴ � 4 ≤ � ≤ 11 = � ≤�≤
� �
= � 0.32 ≤ � ≤ 2.64
= Φ 2.64 − Φ 0.32
= 0.9495 − 0.6255 = 0.3240.
89−� 89−�
� � ≤ 89 = 0.90 � �≤ � = 0.90 � = 1.28
� + 1.28� = 89…………. . 1
Similarly
94−� 94−�
� � ≤ 94 = 0.95 � �≤ � = 0.95 � = 1.65
� + 1.65� = 94…………. . 2
Solving equations (1) and (2) simultaneously we have
Individual task . Watch the above video keenly following the examples
in it
. Solve some of problems given
Interaction .Attempt the tasks given and post your solutions on
begins discussion forum 9.4
. Read what your colleagues have posted
. In a sentence or two comment on at least two of your
colleagues have posted
E-moderator . Focusing group discussion
interventions . Motiving learners to participate in discussion.
. Providing feedback
. Concluding the lesson in a summary form
9.5 Assessment
1. Given that X is normal with mean 10 and variance 4, compute � � −
10 > 1.8 .
2. If � ∽ � 10, � and � � > 12 = 0.1537, determine � 9 < � < 11 .
�−�
3. If � ∽ � �, � , find the constant b so that � −� ≤ �
≤ � = 0.95.
4. Let X be normally distributed with mean � and variance �2 ,and suppose
that � ≤ 69 = 0.90 and � � ≤ 74 = 0.95. Find � and �2 .
5. The time required to perform a certain job is a random variable having a
normal distribution with mean 50 minutes and a standard deviation of 10
minutes. Compute the probabilities that
(i) the job will take more than 75 minutes,
(ii) the job will take less than 60 minutes,
(iii) the job will take between 45 and 60 minutes.
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta
�� à �+� à �+�
=Γ� . =.
��+� �� à �
Γ �+1 �Γ � �
Thus � � = = �Γ � =
�
which the mean of X.
� Γ �
Γ �+2 �+1 αΓ � �+1 α
Now � �2 = = =
�2 Γ � �2 Γ � �2
Therefore ��� � = � �2 − � � 2
�+1 α �2 �
= �2
− �2 = �2 .
�� ∞
= �=0
��� ��−1 �−�� ��
Γ �
�� ∞
=Γ� �=0
��−1 �−(�−�)� ��
�� à � � �
= . � = �−�
, �<�
Γ � �−�
We can now use this m.g.f of X to determine the mean and variance of X.
∕
�� � =��� � − � −�−1
Therefore
∕ �
� � = �� 0 =��� � −�−1
=
�
∕∕ �+1 α
� �2 = �� 0 =� � + 1 �� � −�−2
=
�2
Therefore ��� � = � �2 − � � 2
�+1 α �2 �
=
�2
−
�2
=
�2
.
∞ 1
=� 0
��−�� �� =
�
∞ 2
�(�2 ) = 0
� � � ��
∞ 2 −�� 2
=� 0
� � �� =
�2
.
Therefore ��� � = � �2 − � � 2
2 1 1
=
�2
− �2 = �2 .
�� � = � ���
∞
= �=0
��� � � ��
∞
=� �=0
��� �−�� ��
LECTOR ABUYA BUNDI
0724614628
∞ �
=� �=0
�−(�−�)� �� = �−� , � < � .
The mean and variance of X can be obtained by using the above m.g.f as follows:
∕ �
�� � =
�−� 2
∕ � 1
∴ � � = �� 0 = =
�−0 2 �
∕∕ 2�
�� � = �−� 3
∕∕ 2� 2
∴ � �2 = �� 0 = 3 =
�−0 �2
Therefore ��� � = � �2 − � � 2
2 1 1
=
�2
−
�2
=
�2
.
Example 10.1
Suppose that the number of minutes required to serve a costumer at service
counter has an exponential distribution with mean 2. Compute the probability
that the time required to serve a single costumer will exceed 4 minutes.
Solution
Let X denote the number of minutes required to serve a costumer at a service
counter. Then
1 1
� � =2= �=
� 2
1 �−1 �−1 Γ � Γ �
NB: 0
� 1−� �� = Γ �+�
= Β �, �
1
�
� � = �� � � �� , � = 1,2, …
0
Γ �+� 1
= Γ � Γ � 0
��+�−1 1 − � �−1
��
Γ �+� Γ �+� Γ �
=Γ� Γ �
. Γ �+�+�
Γ �+� Γ �+�
= Γ �
. Γ �+�+�
Putting k=1 we have
Γ �+� Γ �+1
� � = Γ �
. Γ �+�+1
Γ �+� αΓ � �
=
Γ �
.
�+� Γ �+�
=
�+�
.
� �+1
= �+� �+�+1
Therefore ��� � = � �2 − � � 2
� �+1 �2
= �+� �+�+1
− �+� 2
��
=
�+� 2 �+�+1
.
10.4 : Assessment
1. Show that, if in gamma density � = 1, then the gamma density
specializes exponential density.
2. Show that the beta distribution reduces to the uniform distribution over
(0,1) if � = � = 1.
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta
LECTOR ABUYA BUNDI
0724614628
LESSON ELEVEN
FUNCTIONS OF A RANDOM VARIABLE
11.1: Introduction
In this lesson we will be discussing change of variable technique. We will consider
the distribution of a function of a univariate random variable. That is, for a given
random variable X we seek the distribution of � = Φ � for some function � � .
11.2: Lesson Learning outcome
By the end of this lesson the learner will be able to obtain the probability
distribution a new random variable which is expressed terms of a random variable
with known density.
11.3: Change of variable
Example 11.1
Let X have the binomial distribution given by
4 3 � 1 4−�
� � = , � = 0,1,2,3,4
� 4 4
0, ��ℎ������
Find the distribution of � = �2 .
Solution
The possible values of U are 0,1,4,9,16
∴� � =� �=�
= � �2 = � = � � = �
4 3 � 1 4− �
� � = 4 4
, � = 0,1,4,9,16
�
0, ��ℎ������
Example 11.2
Suppose that X has the discrete distribution given in the following table:
� -3 -2 -1 0 1 2 3
�(�) 4 1 1 1 1 1 4
21 6 14 7 14 6 21
Find the distribution of the random variable � = 3�2 + 1.
Solution
The possible values of U are 1,4,13,28.
1
� �=1 =� �=0 =
7
� � = 28 = � � =− 3 �� � = 3 = � � =− 3 + �(� = 3)
4 4 8
=
21
+
21
=
21
.
= �:�(�)≤�
�(x) ��
��(�) 1
∴ � � = =2 �−3
��
Example 11.4
Suppose that X has a uniform distribution on the interval ( − 1,1). Find the p.d.f
of � =− �� � .
Solution
In this case the p.d.f of X is
�−� , �>0
� � =
0, ��ℎ������
Example 11.5
Let X be a random variable with p.d.f given by
1
�, 0 < � < 2
� � = 2
0, ��ℎ������
Find the p.d.f of a new random variable � = 1 − �2 .
Solution
−3 < � < 1
� = 1 − �2 �= 1−�
�� −1
��
=2 1−�
�� �
∴ � � =� � �
��
��
=� �
��
1
=� 1−� 2 1−�
1 1 1
= 1−�. =
2 2 1−� 4
1
, −3<�<1
= 4
0, ��ℎ������
11.6: Assessment
LECTOR ABUYA BUNDI
0724614628
1. Suppose that X has the discrete distribution given in the following table:
x 0 1 2 3
f(x) 1 1 1 1
4 3 4 6
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P.Gupta