Unit 5 - Some Special Probabilities
Unit 5 - Some Special Probabilities
Unit 5 - Some Special Probabilities
1 Objective
2 Introduction
3 Random Variable.
5 Solved Examples
1 Objectives
Probability distribution.
2 Introduction
Ώ = { ω1 , ω2 , ω3 , ω4 , ω5…ωi……… .. } .
3 Random Variable
A random variable X is a rule which associates uniquely a real number X(ω) with
every elementary event ωi ∈Ώ , for i = 1,2,3,4,5,……………..
Silver Oak University
i.e a random variable is a real valued function which maps the sample space on to
the real line. It is a function X(ω) with domain Ώand range ( -∞ , ∞)
In otherwords a random variable is a real valued function defined over the sample
space of an experiment i.e a variable whose value is a number determined by the
sample point (outcome of the experiment) of a sample space .
Example:-
So function X : Ώ R
Random variable X is a function with domain as sample space and range
is
2) If an unbiased coin is tossed three times and the outcome for three tosses is
noted as one sample point then the set off all possible outcomes noted
down is the sample space Ώ = { HHH, HHT, HTH, THH, TTH, THT,
HTT, TTT} .
X : { ω1 , ω 2 , ω 3 , ω 4 …………..} → { x1 , x2 , x3 , … … … … … … … } ⊂R ,
(ii) ∑∞ ∞ ∞
𝒊𝒊=𝟏𝟏 𝑷𝑷(𝒙𝒙𝒊𝒊 ) = 𝟏𝟏 . 𝐢𝐢. 𝐞𝐞 ∑𝒊𝒊=𝟏𝟏 𝑷𝑷( 𝑿𝑿 = 𝒙𝒙𝒊𝒊 ) = 𝟏𝟏 , 𝐢𝐢. 𝐞𝐞 ∑𝒊𝒊=𝟏𝟏 𝒑𝒑𝒊𝒊 = 1.
Thus the function P (xi ) is called the probability mass function of the
random variable X .
Silver Oak University
Probability distribution of X can also be written in table form as..
5 Solved Examples :-
Value of variable X : -2 -1 0 1 2 3
Solution :-
Value of variable X : -2 -1 0 1 2 3
1 𝑥𝑥
P(x) = (2) ; x = 1 , 2 , 3 , …………….
To verify whether the above p(x) is a p.m f check the two conditions
given in the definition of p.m.f .
1 𝑥𝑥 1
P(x) =(2) = 2𝑥𝑥
≥ 0 for all values of X.first condition satisfied.
1 𝑥𝑥
To check the 2nd condition ∑∞
𝑥𝑥 = 1 (2) = 1.
1 1 1 2 1 3 1 4
= ( ) [1 + ( ) +( ) + ( ) + ( ) + . . . . . . . . . . . . . . . . . . . . . . .. ]
2 2 2 2 2
1 1 1 1 1
= 2
[1 + 2 + 22
+ 23
+ 24
....................]
1 1 1 1
= 2
𝑥𝑥 1 = 2 [1⁄ ] = 1
1 − 2
2
The number of times tail occurs when the coin is tossed two times.
Silver Oak University
Write its probability distributions .
(i) X 1 2 3 4
(ii) X -1 0 1
P(X) ½ 0 1/2
𝑥𝑥 2
(iii) P(x) = 14 ; x = 1 , 2, 3
= 0 ; otherwise .
(𝑥𝑥−1)2
(iv) P(x) = ; x = 0, 1 ,2
2
= 0 ; otherwise.
X 0 1 2 3 4
P(x) 0.2 k 2k 3k 2k
P(x) = Kx ; x = 1 ,2 ,3 ,4 , 5
= 0 ; otherwise .
Reference :
2) Statistical methods.
CONTINUOUS RANDOM VARIABLE
Unit Structure .
1. Objectives
2. Introduction.
6. Geometrical interpretation
7. Solved Examples:
2 Introduction
In the previous unit you have learnt discrete random variable, where the
variable is a function defined on finite or countably infinite sample space .
we have seen the examples of discrete random variable .
Earlier in the previous Unit you have studied discrete random variable , where
these random variable’s (r.v’s) are defined on the sample points of the sample
space where sample space were finite or countably infinite sample space . Infinite
sample space fall in two categories countably infinite or uncountably infinite .
2. Weight of an oil in the oil bag having the capacity of 1.k.g filled by
an automatic filling machine . Sample space = ( 0.995 , 1.005) i.e
capacity between 0.995kg to 1.005kg.
i) Height of a person.
𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑
P [𝑥𝑥 − 2
, 𝑥𝑥 + 2
] = f(x)dx .The function f(x) probability density function
p.d.f of a continuous r.v x is called as continuous probability distribution .
If f(x) is the probability density function then it must satisfy the following
condition.
(i) f(x) ≥ 0 ∀ x ∈R
∞
(ii) ∫𝑹𝑹 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑑𝑑 = ∫−∞ 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑑𝑑= 1 where Ris the collection of all
points in the entire range of the variable X .
Probability density function p.d.f f(x) is the curve in the X-Y plane for given
range of values of x .
Note: shape of the p.d.f curve depends on the probability density function
f(x) plotted with different values of random variable for which f(x) is
defined .
7 Solved Examples
= 0 ; otherwise
= 0 ; otherwise.
Solution :
Step_1 :first check whether f(x) ≥ 0 for all values of x mentioned in the
range where
f(x) is defined .
x = ∫𝑥𝑥∈Ώ 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑑𝑑 =1
= 0 ; otherwise
24
= 5[ − 0] = 20 ≠ 1.
4
= 0 ; otherwise.
5 5
5 5 𝑥𝑥 1+1 𝑥𝑥 2
Left hand side:∫ 𝑘𝑘𝑘𝑘. 𝑑𝑑𝑑𝑑 = k ∫ 𝑥𝑥 . 𝑑𝑑𝑑𝑑 = k [ 1+1 ] = k [2]
0 0 0 0
52 02 25
=k[ − ] = k [2] = 12.5 k .
2 2
5 1
Therefore ∫0 𝑘𝑘𝑘𝑘 𝑑𝑑𝑑𝑑 = 1i. e 12.5 k = 1 i. ek =
12.5
.
The given p. d. f
Silver Oak University 1
f(x) after substituting the value of k = is
12.5
1
f(x) = x ; 0 ≤ 𝑥𝑥 ≤ 5 .
12.5
= 0 : otherwise .
4 1 1 4
( ii) P [ 2.5 ≤ 𝑥𝑥 ≤ 4] = ∫2.5 𝑥𝑥. 𝑑𝑑𝑑𝑑 = 12.5 ∫2.5 𝑥𝑥 . 𝑑𝑑𝑑𝑑
12.5
4
1 𝑥𝑥 2 1 42 2.52 1
= [ ] = [ − ] = [16 − 6.25] = 0.39
12.5 2 2.5 12.5 2 2 25
5
5 1 5 1 1 𝑥𝑥2
(iii) P[ x > 3] = ∫
3 12.5
𝑥𝑥. 𝑑𝑑𝑑𝑑 = ∫
12.5 3
𝑥𝑥 . 𝑑𝑑𝑑𝑑 =
12.5
[2]
3
1 52 32 1 25 9 1 16 8
= [ − ] = [ − ] = [ ] = = 0.32.
12.5 2 2 12.5 2 2 12.5 2 12.5
2.2
2.2 1 1 2.2 1 𝑥𝑥2
(iv) P [ x < 2.2] =∫
0 12.5
𝑥𝑥. 𝑑𝑑𝑑𝑑 = ∫
12.5 0
𝑥𝑥 . 𝑑𝑑𝑑𝑑 = 12.5
[2]
0
1 (2.2)2 02 1 4.84 1
=
12.5
[
2
− ]=
2 12.5
[ 2
] = 12.5 [2.42 ]= 0.1936.
𝑥𝑥 2
(iii) f(x) = ; −1 ≤ 𝑥𝑥 ≤ 4
2
= 0 ; otherwise
1
(iv) f(x) = 2
; −1 ≤ 𝑥𝑥 ≤ 1
= 0 ; otherwise.
= otherwise .
DISCRETE DISTRIBUTIONS
Let A be an event ((trail) associated with a random experiment such that p(A) remains
the same for the repetitions of that random experiment, then the events are called Bernoulli
trails.
A random variable X which takes only two values either 1 (success) or 0(failure) with
probability p and q respectively. i.e., P(X=1)=p, P(X=0)=q, p+q=1 is called Bernoulli variate
and is said to have a Bernoulli distribution.
Definition.
p( x) = P( X = x) = nc x p x q n − x ,x=0,1,2,…,n
=0, otherwise
Np( x) = N nc x p x q n − x , x = 0,1,2,..., n
Mean = E ( X ) = xp( x)
x
n
= xnc x p x q n − x
x =0
n
n!
= x x!(n − x)! p x q n − x
x =0
n
n(n − 1)! pp x −1q n − x
= ( x − 1)!(n − x)!
x =0
n
(n − 1)! p x −1q n − x
= np
x =1
( x − 1)!(n − x)!
n
(n − 1)! p x −1q n − x
= np
x =1
( x − 1)!(n − x)!
n
= np (n − 1) c x −1 p x −1q n − x
x =1
n
= np (n − 1) c x −1 p x −1q ( n −1) − ( x −1)
x =1
= np(q + p) n −1
Mean=np
Var ( X ) = E ( X 2 ) − E ( X )2
n
E( X 2 ) = x 2 p( x)
x =0
n
= x 2 nc x p x q n − x
x =0
n
n!
= x 2 x!(n − x)! nc x p x q n − x
x =0
n
x( x − 1) + x x!(n − x)! p x q n − x
n!
=
x =0
n n
n! x n− x n!
= x( x − 1) p q +x p xqn− x
x =0
x!(n − x)! x =0
x!(n − x)!
n
n(n − 1)( n − 2)!
= ( x − 2)!(n − x)! p 2 p x − 2 q n − x + E ( X )
x =0
n
(n − 2)!
= n(n − 1) p 2 ( x − 2)!(n − x)! p x − 2 q n − x + np
x =0
= n(n − 1) p 2 (q + p) n −2 + np
E ( x 2 ) = n(n − 1) p 2 + np
= n(n − 1) p 2 + np − n 2 p 2
= p 2 n 2 − n − n 2 + np
= np(1 − p)
= npq
P( X = x) = nc x p x q n − x , x = 0,1,2,...n
M x (t ) = E (e tx )
n
= etx nc x p x q n − x
x =0
n
= nc x ( pet ) x q n − x
x =0
= (q + pet ) n
Examples
1. The mean and variance of a binomial distribution are 4 and 4/3 respectively. Find P(X≥1)
if n=6.
Solution
4
npq 3
=
np 4
q= 1
3
Given n=6
P( X = x) = nc x p x q n − x
= 1 − 6 c0 p 0 q 6 − 0
= 1 − q6
1
= 1 − ( )6
3
1
=1−
729
728
=
729
2. The mean and variance of binomial distributions are 4 and 3 respectively. Find P(X=0),
P(X=1) and P(X≥2).
Solution
Mean of binomial distribution = np = 4
npq 3
=
np 4
3
q=
4
Since Mean = np = 4
= n(1/4) = 4
n = 16
P( X = x) = nc x p x q n − x
P( X = 0) = nc0 p 0q n
Silver Oak University
3
= 16 c0 ( )16
4
3
= ( )16 = 0.01
4
P( X = 1) = nc1 p1q n −1
= 16c1 p1q15
1 3
= 16( )( )15 = 0.053
4 4
P( X 2) = 1 − P( X 2)
= 1 − [ P( X = 0) + P( X = 1)]
= 0.937
3. If the mean is 3 and variance is 4 of a random variable X, check whether X follows
binomial distribution,
Solution
No. Because for a binomial distribution mean should be greater than the variance.
Therefore mean should be greater than the variance for a binomial distribution.
3. A binomial variate X satisfies the relation 9P(X=4) = P(X=2) when n=6. Find the
parameter p of the binomial distribution.
Solution
P( X = x) = nc x p x q n − x
P( X = 4) = 6c4 p 4q 6 − 4
P( X = 4) = 6c4 p 4q 2
P( X = 2) = 6c2 p 2q 4
9 * 6c4 p 4q 2 = 6c2 p 2q 4
135 p 2 = 15q 2
9 p2= q2
9 p 2 −q 2 = 0
9 p 2 −(1 − p) 2 = 0
9 p 2 −(1 + p 2 −2 p) = 0
9 p 2 −1 − p 2 +2 p = 0
8 p 2 +2 p − 1 = 0
− 2 4 + 32
p=
16
4 −8
−26 = ,
p= 16 16
16
1 −1
p= ,
4 2
4. Out of 800 families with 4 children each, how many families would be expected to have
Solution
Considering each child is a trial, n=4. Assuming that birth of a boy is success, p = 1/2
and q = ½
P( X = x) = nc x p x q n − x
1 1
P( X = 2) = 4c2 ( ) 2 ( ) 4 − 2
2 2
1 3
= 6( ) 4 =
2 8
= 800(3/8) = 100 * 3
= 300
=1- P[X=0]
1 1
P ( X = 0) = 4 c 0 ( ) 0 ( ) 4 − 0
2 2
1 15
1 − P( X = 0) = 1 − ( ) 4 =
2 16
1 1 1 1
= 1 − 4c0 ( ) 0 ( ) 4 − 0 + 4c1 ( )1 ( ) 4 −1
2 2 2 2
1 1 1 4 5
= 1 − ( ) 4 + 4( ) 4 = 1 − ( + ) = 1 −
2 2 16 16 16
11
=
16
1 1 1 1 1
= 1 − 4c4 ( ) 4 +4c 0 ( ) 0 ( ) 4 = 1 − [( ) 4 + ( ) 4 ]
2 2 2 2 2
= 1- 2/16 = 7/8
= 700
5. An irregular 6 faced die is such that the probability that it gives 3 even numbers in 5 throws
is twice the probability that it gives 2 even numbers in 5 throws. How many sets of exactly 5
trials can be expected to give no even number out of 2500 sets.
Solution
Let the probability of getting an even number with the unfair die bep .
5c3 p 3q 2 = 2 * 5c2 p 2q 3
p = 2q
p = 2(1-p)
3p = 2
P = 2/3
q=1-p = 1/3
1 1
5c0 p 0 q 5 = ( ) 5 =
3 243
Therefore number of sets having no success ( even number) out of N sets = N [ P(X=0) ]
= 2500 * 1/243
= 10 nearly
7.. Assuming that half of the population is vegetarian and that 100 investigators each take 10
individuals to see whether they are vegetarians, how many would you expect to report that 3
people or less were vegetarians?
Solution
P( X = x) = nc x p x q n − x
1 1
= 10 c x ( ) x ( )10 − x
2 2
1
= 10 c x ( )10
2
P( X 3) = P( X = 0) + P( X = 1) + P( X = 2) + P( X = 3)
1 1 1 1
= 10 c0 ( )10 + 10 c1 ( )10 + 10 c 2 ( )10 + 10 c3 ( )10
2 2 2 2
1 176
= ( )10 [176] = = 0.1718
2 1024
Among 100 investigators, the number of investigators who report that 3 or less were
consumers
=100 * 0.1718
=17 investigators
14. A factory produces 10 articles daily. It may be assumed that there is a constant probability
p= 0.1 of producing a defective article. Before the articles are stored, they are inspected and
the defective ones are set aside. Suppose that there is a constant probability r = 0.1, that a
defective article is misclassified. If X denote the number of articles classified as defective at
the end of a production day, find a) P(X=3) and b) P(X>3)
Solution
Let X be the random variable represented by the number of articles which are
defective.
P[ a defective article is classified as defective ] = P( an article produced is defective) *P( it is
classified as defective)
= 0.1 *0.9
p = 0.09
q = 1 – p = 0.91
n= 10
P( X = x) = nc x p x q n − x
P( X = 3) = 10 c3 (0.09)3 (0.91) 7
= 0.0452
P( X 3) = 1 − P( X 3)
= 1 − [10c0 (0.09) 0 (0.91)10 + 10c1 (0.09)1 (0.91)9 + 10c 2 (0.09) 2 (0.91)8 + 10c3 (0.09)3 (0.91) 7 ]
=0.0089
POISSON DISTRIBUTION
Definition
If X is a discrete random variable that assumes only non-negative values such that its
probability mass function is given by
e − x
P( X = x ) = , x = 0,1,2,3,... where 0
x!
= 0, otherwise
3. np (= ) is finite and p = , q = 1− p = 1− where is a positive constant.
n n
Mean = E ( X ) = xP( X = x)
x =0
e − x
= x! x
x =0
x x −1
= e − x!
x =1
= e − Silver
Oak University
x −1
x =1
( x − 1)!
Mean = e − e
=
Var(X) = E ( X 2 ) − [ E ( X )]2
[ E ( X )] 2 = x 2 p( x)
x =0
e − x
= x2 x!
x =0
e − x
= ( x 2 + x − x) x!
x =0
e − x
= ( x( x − 1) + x) x!
x =0
e − x e − x
= x( x − 1)
x!
+ x
x!
x =0 x =0
e − x e − x
= ( x − 2)! + ( x − 1)!
x=2 x =1
e − x − 2 − x −1
e
= 2 ( x − 2)! ( x − 1)!
+
x=2 x =1
x − 2
x −1
= 2 e − ( x − 2)! +e − ( x − 1)!
x=2 x =1
= 2 e − e + e − e
E (X 2 ) = 2 +
Var(X) = E ( X 2 ) − [ E ( X )] 2 = 2 + − 2 =
Examples:
1.If X is a Poisson variate such that P(X=1)=3/10 and P(X=2)=1/5. Find P(X=0) and P(X=3)
Solution
e − x
P( X = x ) =
x!
e − 1 3
P( X = 1) = = (1)
1! 10
e − 2 1
P( X = 2 ) = = (2)
2! 5
e - 2 1
(2) 2! = 5
−
(1) e 3
1! 10
(2) 2 4
= =
(1) 2 3 3
4
− x
e 3 4
e − x 3
P( X = x ) = =
x! x!
4
− 0
e 3 4 4
P( X = 0) = 3 = e − 3 = 0.2637
0!
4
− 3
e 3 4
P( X = 3) = 3 = 0.1047
3!
2. In a certain factory producing razor blades, there is a small chance 1/500 for any blade to
be defective. The blades are supplied in packets of 10.Use Poisson distribution to calculate
the approximate number of packets containing
Solution
λ=np=10/500=1/50=0.02
e−0.02 (0.02)0
= = 0.9802
0!
= 9802
= 1- P(X<1)
= 1-P(X=0)
= 1 – 0.9802 = 0.0198
Therefore the number of packets containing at least one defective= 10000 * 0.0198
= 198
=P(X=0) + P(X=1)
= 0.9997
Therefore the number of packets containing at most 1 defective blade = 10000 * 0.9997
3. An insurance company has discovered that only about 0.1% of the population is involved
in a certain type of accident each ear. If its 10000 policy holders were randomly selected from
the population, what is the problem that not more than 5 of its clients are involved in such an
accident next year?
Solution
n= 10000
e − x e −10 (10) x
P( X = x) = =
x! x!
P( X 5) = P( X = 0) + P( X = 1) + P( X = 2) + P( X = 3) + P( X = 4) + P( X = 5)
e−10 (10)0 e−10 (10)1 e−10 (10)2 e−10 (10)3 e−10 (10)4 e−10 (10)5
P( X 5) = + + + + +
0! 1! 2! 3! 4! 5!
10 100 1000 10000 100000
= e −10 1 + + + + +
1 2 6 24 120
= 0.0671
4. In a given city 4% of all licenced drivers will be involved in at least 1 road accident in any
given year. Determine the probability that among 150 licenced drivers ran only chosen in this
city
Solution
4
= np = 100 =6
100
e −6 65
P( X = 5) = = 0.1606
i) 5!
e −6 6 e −6 6 2 e −6 63
= e−6 + + + = 0.1512
1! 2! 31
7. Messages arrive at a switch board in a Poisson manner at an average rate of six per hour.
Find the probability for each of the following events
Solution
e − x e −6 6 x
P( X = x ) = =
x! x!
e −6 62
P( X = 2) = = 0.0446
2!
e −6 60
P( X = 0) = = 0.0025
0!
P( X 3) = 1 − P( X 3) = 1 − [ P( X = 0) + P( X = 1) + P( X = 2)]
= 1 − e −6 (1 + 6 + 18) = 0.9380
8. A car hire firm has 2 cars which it hires out day by day. The number of demands for a car
on each day follows a Poisson distribution with mean 1.5. Calculate the proportion of days on
which
Solution
e − x
P( x demands in a day)= P( X = x) =
Silver Oak University
x!
Given: λ = 1.5
e −1.5 (1.5) x
Now P( X = x) =
x!
e −1.51.50
P( X = 0) = = e −1.5 = 0.2231
0!
P( X 2) = 1 − [ P( X 2)]
= 1 − [ P( X = 0) + P( X = 1) + P( X = 2)]
= 0.19126
9. The proofs of a 500 page book contains 500 misprints. Find the probability that there are at
least 4 misprints in a randomly chosen page.
Solution
e − x e−11x
P( X = x ) = =
x! x!
P( at least 4 mistakes) = P( X 4)
= 1 − P( X 4)
= 1 − [ P( X = 0) + P( X = 1) + P( X = 2) + P( X = 3)]
Silver
e
Oak
e e
University
e −1 −1 −1 −1
= 1− + + +
0! 1! 2! 3!
1 1
= 1 − e −1 1 + 1 + +
2 6
= 0.0180
NORMAL DISTRIBUTION
Definition
2
1 x−
−
1
A normal distribution is a continuous distribution given by y = e 2 where X is
2
a continuous normal variate distributed with density function
2
1 x−
−
1
f ( ) = e 2 with mean and standard deviation .
2
2
1 x−m
−
1
y= e 2 is the standard form of the normal curve with origin at (m,0).
2
1. The normal distribution is a symmetrical distribution and the graph of the normal
distribution is bell shaped.
2. The curve has a single peak point (i.e.,) the distribution is unimodal
3. The mean of the normal distribution lies at the centre of normal curve.
5. The tails of the normal distribution extend indefinitely and never touch the horizontal axes.
That is we say that the normal curve approaches approximately from either side of its
horizontal axes.
6. The normal distribution is a two parameter probability distribution. The parameters mean
and standard deviation (μ,σ) completely determine the distribution.
7. Area property:
In a normal distribution about 67% of the observations will lie between mean S.D
i.e., (μ σ). About 95% of the observations lie between mean 2S.D (i.e., μ 2σ). About
99% of the observation will lie between mean 3S.D i.e.,(μ 3σ) .
If X is a normally distributed random variable, μ and σ are respectively its mean and
X −
standard deviation, then Z = is called standard normal random variable.