Professional Documents
Culture Documents
5.1 Introduction
We already have visited probability distributions in the general cases. In this chapter we
shall concentrate on special cases of those distributions that are commonly used in daily
life applications. We shall start our discussion with discrete probability distributions
before we go on continuous cases.
Definition 5.1 A discrete random variable X is said to have a binomial distribution with
parameters n and p if its probability distribution is given by
n
P X x p x 1 p
n x
x 0,1, 2,, n
x
The expected value of this random variable is given by E X np , and the standard
deviation is given by SD X np1 p
Example 5.1
Produced items are to be inspected and checked whether they are good or defective. The
probability that an item chosen is defective is 0.003. Find the probability that out of 6
items inspected
(a) Only one is defective
(b) At least one is defective
(c) No defective item be found
Solution
This is a binomial situation with p 0.003 and n 6 . Note that the success here is the
number of defective items.
(a) Required P X 1 , then
6
P X 1 0.003 0.997 0.01773
5
1
(b) Required P X 1 , then
6
P X 1 1 P X 1 1 P X 0 1 0.003 0.997 1 0.997 6 0.01787
0 6
0
0
Definition 5.2 A discrete random variable X has a Poisson distribution with a parameter
if its probability function is given by
e x
P X x , x 0,1, 2,
x!
Where , is a known constant called the mean occurrence per unit interval of time.
Example 5.2
The number of customers attended at NBC MLIMANI follows a Poisson distribution with
mean 8 per hour. Find the probability that in any given hour
(a) Exactly 6 customers will be attended
(b) No customer will be attended
(c) At least 2 customers will be attended
Solution
This is a Poisson situation with 8
(a) Required P X 6 , then
e 8 86
P X 6 0.1221
6!
Example 5.3
The probability of getting a defective tire is estimated at 5%. Find the probability that out
of 50 tires produced,
(a) Exactly one will be defective
(b) At least one will be defective
Solution
Let X be the number of defective produced.
This is a binomial situation with n 50 and p 5% 0.05
Using Poisson approximation to binomial, we have np 50 0.05 2.5
(a) Required P X 1 , but
e 2.5 2.51
P X 1 0.205212
1!
(b) Required P X 1 , but
e 2.5 2.5 0
P X 1 1 P X 1 1 P X 0 1 0.917915
0!
Definition 5.3 A continuous random variable X is called a uniform random variable if and
only if its probability density is given by
1
for x
U x; ,
0
elsewhere
It is important to remember that for a continuous distribution, one can find the probability
of a random variable in a specified interval. This is therefore implying that the probability
of a random variable at a single value is always zero. That is for any value x X ,
P X x 0 .
The probability between any two values a and b such that a b is given by
ba
Pa X b
Theorem 5.1 The mean and variance of a uniformly distributed random variable are
given by
EX and Var X 2
1
2 12
Example 5.4
A random variable X has a uniform distribution given by
1
for 2 x 5
f x 3
0 elsewhere
(a) Find the following (i) P X 4 (ii ) P X 3 iii P1 X 10
(b) Find the expected value and the standard deviation of X.
Solution
Given 3 , 5 , then,
53 2
a P X 3 P3 X 5 .
52 3
b P X 4 0 because of a single point .
52
c P1 X 10 P1 X 2 P2 X 5 P5 X 10 0 0 1.
52
Definition 5.4 A continuous random variable X has a normal distribution with parameters
and if its probability density is given by
1 x 2
f x
1
e 2 , x
2
If X has a normal distribution, then E X and Var X 2
The common notation for a normal random variable is X ~ N , 2 . Meaning that a
random variable X is normally distributed with mean and variance 2
The normal density is very complicated to handle but the shape of the normal curve is
more promising and also interested.
In order to answer probability questions concerning with the normal random variable, X,
we use a standardized distribution with a standard normal variable Z. The values of the
standard normal variable are obtained from standard normal tables which are designed in
different forms.
X x x
For instance, the question P X x becomes P or P Z
The following are examples of probability questions based on the afore mentioned form
a PZ a 0.5 P0 Z a
Example 5.5
Use the standard normal table to evaluate the following probabilities
a P0 Z 1.25 b PZ 2.21 c P 3.01 Z 0.5 d P1.0 Z 1.4
Solution
a P0 Z 1.25 0.3944
c P 3.01 Z 0.5 P0 Z 3.01 P0 Z 0.5 0.4987 0.1915 0.6902
Example 5.6
A random variable X has a normal with mean 12 and variance 16. Find the following
probabilities
a P X 10 b P X 10 c P8 X 14 d P X 15
Solution
Given 12, 2 16 4
X 10 12
a P X 10 P PZ 0.5 0.5 P0 Z 0.5
4
0.5 0.1915 0.6915
X 10 12
b P X 10 P PZ 0.5 PZ 0.5
4
0.5 P0 Z 0.5 0.5 0.1915 0.3085
8 12 X 12 14 12
c P8 X 14 P
4 4 4
P 1 Z 0.5 P0 Z 1.0 P0 Z 0.5
0.3413 0.1915 0.5328
X 12 15 12
d P X 15 P PZ 0.75 0.5 P0 Z 0.75
4 4
0.5 0.2734 0.2266
Example 5.7
The incomes in thousands of dollars of a given company are normally distributed with
mean 20 and the standard deviation of 5. Find the probability that a selected income will
be
(a) More than twenty four thousand dollars.
(b) Anywhere between eighteen and twenty five thousand dollars.
Solution
Let X be a random variable representing an income of a given company
In this we have 20 and 5
(a) Required P X 24 , then
24 20
P X 24 P Z PZ 0.8
5
X X np
Z
npq
Since binomial distribution is a discrete distribution while the normal is continuous there
is a need of continuity correction. This is done by adding or subtracting 0.5 to the number
of successes depending on the nature of the inequality. See the following table for
illustrations;
Discrete case Continuity corrected case
P X 6 P X 6.5
P X 6 P X 5.5
P X 6 P5.5 X 6.5
P4 X 8 P3.5 X 8.5
Example 5.8
The probability of defective tire is 8%. Find the probability that out of 400 tires inspected,
at most 20 will be defective.
Solution
Given p 8% 0.08 and n 400 implying that
0.08 400 32 , 400 0.08 0.92 5.43
Then,
20.5 20.5 32
P X 20 P X 20.5 P Z P Z PZ 2.12
5.43
Therefore, PZ 2.12 0.5 P0 Z 2.12 0.5 0.4830 0.0170
Definition 5.5 Sampling is the technique used to select the individual members of a
population to make a sample.
Definition 5.8 A random sampling is the sampling procedure in which each member of a
population has a known chance of being selected.
The most commonly used sampling procedure is a simple random sampling which is
defined as follows.
Definition 5.9 Simple random sampling is a sampling technique whereby each individual
member of a population has an equal chance of being selected.
We are going to discuss the most applicable sampling distributions. These include the
distribution of the arithmetic mean, Chi-square distribution, student’s t – distribution and
F – distribution.
1 1
Var X Var X i 2 Var X , by the properties of Var and Σ operators
i
n n
Let Var X i 2 for each i and that X i ' s are independent, then
2
Var X
n
1 1
n2
2
i 1 n2
n 2
n
2
It is concluded that if X ~ N , 2 then X ~ N ,
n
The square root of the variance of X is called the standard error of X , given by
SE X Var X
n
Solution
The following information are given
8 , 2 25 , n 36 , x 7.5
(a) We need to find SE X , but
SE X
5 5
0.833
n 36 6
(b) We need to find PX 9 , then
x 98
PX 9 P Z P Z PZ 1.20
SE X 0.833
But,
PZ 1.20 0.5 P0 Z 1.20 0.5 0.3849 0.1151
Given that Z
X
and C
n 1s 2 , then the formula for T is given by
2
n
T
X
n 1 s 2
n 1 2
n
X s
n
X
s
n
X
s
n
Therefore,
X
T ~ t n 1
s
n
This distribution is highly used in estimating and hypotheses testing of population means
in cases whereby the population variances are not known and the sample sizes are small.
In most statistical applications, a sample is considered to be small if its size n 30 .