Professional Documents
Culture Documents
BS 5
BS 5
BS/IIFT/Harsh/5 2
Content
BS/IIFT/Harsh/5 3
Random Variables
A Random Variable is a variable that takes on different values
as a result of the outcome of an experiment.
A random variable can be classified as being either Discrete
or Continuous depending on the numerical values it
assumes.
A Discrete Random Variable may assume to take on only a
limited number of values that can be listed.
Number of bad feedbacks received by a restaurant
Number of absent employees on a given day
Number of new subscribers to a magazine
BS/IIFT/Harsh/5 4
A Continuous Random Variable may assume any
numerical value within a given range.
Elapsed time between arrivals of bank customers
Percent of the labor force that is unemployed
BS/IIFT/Harsh/5 5
Some Special Distributions
Discrete
Binomial
Poisson
Hypergeometric
Continuous
Normal
Uniform
Exponential
t
Chi-square
F
BS/IIFT/Harsh/5 6
Discrete Random Variable
Definition
A random variable that assumes countable values is called a discrete
random variable.
Example
1. The number of cars sold at a dealership during a given month
2. The number of houses in a certain block
3. The number of fish caught on a fishing trip
4. The number of complaints received at the office of an airline on a
given day
5. The number of customers who visit a bank during any given hour
6. The number of heads obtained in three tosses of a coin
BS/IIFT/Harsh/5 7
Example: LG
Discrete random variable with a finite number of
values
Let x = number of TV sets sold at the store in one day
where x can take on 5 values (0, 1, 2, 3, 4)
0 200
BS/IIFT/Harsh/5 9
Examples of Continuous random variables
BS/IIFT/Harsh/5 10
Probability Distribution of a Discrete Random Variable
Definition
The probability distribution of a discrete random
variable lists all the possible values that the
random variable can assume and their
corresponding probabilities.
BS/IIFT/Harsh/5 11
Discrete Probability Distributions
The probability distribution for a random variable describes
how probabilities are distributed over the values of the
random variable.
The probability distribution is defined by a probability
function, denoted by f(x) or p(x), which provides the
probability for each value of the random variable.
The required conditions for a discrete probability function
are:
f(x) > 0
Sf(x) = 1
We can describe a discrete probability distribution with a
table, graph, or equation.
BS/IIFT/Harsh/5 12
Example :LG
.50
Probability
.40
.30
.20
.10
0 1 2 3 4
Values of Random Variable x (TV sales)
BS/IIFT/Harsh/5 14
Frequency & Relative frequency Distributions of the Vehicles
Owned by Families
Number of Relative
Vehicles Owned Frequency
Frequency
0 30 30/2000 = .015
1 470 470/2000 = .235
2 850 850/2000 = .425
3 490 490/2000 = .245
4 160 160/2000 = .080
N = 2000 Sum = 1.000
BS/IIFT/Harsh/5 15
Probability Distribution
0 .015
1 .235
2 .425
3 .245
4 .080
BS/IIFT/Harsh/5
ΣP(x) = 1.000 16
Graphical presentation of the probability distribution
P(x)
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0 1 2 3 4 x
BS/IIFT/Harsh/5 17
Example
a) Yes or No ?
b) Yes or No ?
c) Yes or No ?
BS/IIFT/Harsh/5 19
Example
BS/IIFT/Harsh/5 20
Example
BS/IIFT/Harsh/5 21
Solution
BS/IIFT/Harsh/5 22
Graphical presentation of the probability distribution
P(x)
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0 1 2 3 x
BS/IIFT/Harsh/5 23
Solution
(b)
i. P (exactly 2 breakdowns) =
ii. P (0 to 2 breakdowns) =
iii. P (more than 1 breakdown) =
iv. P (at most one breakdown) =
BS/IIFT/Harsh/5 24
Example
BS/IIFT/Harsh/5 25
Tree Diagram.
M
P(MM) = (.60)(.60) = .36
.60
BS/IIFT/Harsh/5 26
Solution
P (x = 0) = P(NN) = .16
P (x = 1) = P(NM or MN) = .48
P (x = 2) = P(MM) =.36
BS/IIFT/Harsh/5 27
Probability Distribution of the Number of Students with Math
Anxiety in a Sample of Two Students
x P(x)
0 .16
1 .48
2 .36
ΣP(x) = 1.00
BS/IIFT/Harsh/5 28
Expected Value and Variance
BS/IIFT/Harsh/5 29
Example: LG
Expected Value of a Discrete Random Variable
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
1.20 = E(X)
BS/IIFT/Harsh/5 31
Example
BS/IIFT/Harsh/5 32
Example
x 0 1 2 3 4 5
P(x) .02 .20 .30 .30 .10 .08
BS/IIFT/Harsh/5 33
Solution
BS/IIFT/Harsh/5 35
Example
XYZ Corporation is planning to market a new makeup product.
According to the analysis made by the financial department of the
company, it will earn an annual profit of ₹ 4.5 million if this
product has high sales and an annual profit of ₹ 1.2 million if the
sales are mediocre, and it will lose ₹ 2.3 million a year if the sales
are low.
The probabilities of these three scenarios are 0.32, 0.51 and 0.17
respectively.
BS/IIFT/Harsh/5 36
Example
BS/IIFT/Harsh/5 37
Solution
x P(x)
4.5 0.32
1.2 0.51
-2.3 0.17
BS/IIFT/Harsh/5 38
x P(x) xP(x) x² x²P(x)
4.5 .32 1.440 20.25 6.4800
1.2 .51 .612 1.44 0.7344
-2.3 .17 -.391 5.29 0.8993
Σ xP(x) = 1.661 Σ x²P(x) = 8.1137
BS/IIFT/Harsh/5 39
Solution
Rs.2.314 million
BS/IIFT/Harsh/5 40
Bernoulli Process
BS/IIFT/Harsh/5 41
Bernoulli Process - Example
Out comes of a fixed number of tosses of a fair coin is an
example of Bernoulli process.
Each trial (toss of coin) has two possible out comes-Head or Tail,
Yes or No, Success or Failure.
HHTHTTH…….SFSSF
The probability of out come of any trial(toss) remains fixed over
time. The probability of Head =1/2 irrespective of number of times
the coin is tossed .
The trials are statistically independent ,the outcome one toss does
not affect outcome of any other toss.
If p is probability of success than q=1-p is probability of failure;
where p+q=1.
BS/IIFT/Harsh/5 42
Bernoulli Distribution
BS/IIFT/Harsh/5 43
Binomial Probability Distribution
Properties of a Binomial Experiment
The experiment consists of a sequence of n identical Bernoulli trials.
Two outcomes, Success and Failure, are possible for each trial.
The probability of a success, denoted by p, does not change from trial to
trial.
The trials are independent.
Consider series of n independent Bernoulli trials with probability of success p
in any trail and q=1-p probability of failure.
The probability of x success and n-x failures in n independent trials =P(SFS FFS
FFFS …FS) =P(S) P(F) P(S)….. P(F) P(S)=pppp…p.qq…q
x factors (n-x) factors
x success in n trials can happen in 𝑛𝑥𝐶 ways with probability 𝑝 𝑥 𝑞 𝑛−𝑥 ways
BS/IIFT/Harsh/5 44
Binomial Probability Distribution
Binomial Probability Function p ( x) nC x p x q n x
n!
p( x) p x (1 p) ( n x )
x!(n x)!
where, x=0,1,2,……..n, 0≤p≤1, 0≤q≤1,p+q=1
p(x) = the probability of x successes in n trials;
n = the number of trials;
x = number of successes in n trials;
n - x = number of failures in n trials;
p = the probability of success on any one trial;
q = 1 – p = probability of failure.
BS/IIFT/Harsh/5 45
Binomial Distribution
A random variable X is said to follow Binomial distribution if it assumes
only non negative values and its probability mass function is given by
𝑥 𝑛−𝑥
P(X=x) = p(x) = 𝑛𝐶𝑥 𝑝 𝑞 , x=0,1,2…..n, q=1-p
= 0 otherwise
X~ B(n, p), Random variable X follows Binomial distribution with
parameters n & p
BS/IIFT/Harsh/5 46
The Binomial Probability Distribution
11/08/23
Expected Value
E(X) = m = np
Variance
Var(X) = s2 = np(1 - p)
Standard Deviation
s np(1 p)
BS/IIFT/Harsh/5 47
Binomial Distribution
BS/IIFT/Harsh/5 48
Binomial Table –Table A.2 page765 n=4,p=0.5,x=0,1,2,3,4
BS/IIFT/Harsh/5 49
BS/IIFT/Harsh/5 50
Binomial Table –Table A.2 page765
BS/IIFT/Harsh/5 51
Binomial Distribution
BS/IIFT/Harsh/5 52
Bar Diagram Binomial Distribution
0.4 0.375
0.35
0.3
0.25 0.25
0.25
p(x) 0.2
0.15
0.1
0.0625 0.0625
0.05
0
1 2 3 4 5
X
BS/IIFT/Harsh/5 53
Example: Evans Electronics
Binomial Probability Distribution
Evans is concerned about a low retention rate for
employees. On the basis of past experience, management
has seen a turnover of 10% of the hourly employees
annually. Thus, for any hourly employees chosen at random,
management estimates a probability of 0.1 that the person
will not be with the company next year.
Choosing 3 hourly employees at random, what is the
probability that 1 of them will leave the company this year?
Let: p = 0.10, n = 3, x = 1
BS/IIFT/Harsh/5 54
Example: Evans Electronics
Using the Binomial Probability Function
n! ( n x )
f ( x) p (1 p)
x
x!(n x)!
3!
f (1) ( 0.1)1 ( 0. 9 ) 2
1!( 3 1)!
= (3)(0.1)(0.81)
= 0.243
BS/IIFT/Harsh/5 55
Binomial Table
Using the Tables of Binomial Probabilities See
Table A.2 of Black page 765 or A3 of Levin
p
n x .10 .15 .20 .25 .30 .35 .40 .45 .50
3 0 .7290 .6141 .5120 .4219 .3430 .2746 .2160 .1664 .1250
1 .2430 .3251 .3840 .4219 .4410 .4436 .4320 .4084 .3750
2 .0270 .0574 .0960 .1406 .1890 .2389 .2880 .3341 .3750
3 .0010 .0034 .0080 .0156 .0270 .0429 .0640 .0911 .1250
BS/IIFT/Harsh/5 56
Example: Evans Electronics
Using a Tree Diagram
First Second Third Value
Worker Worker Worker of x Probab.
L (.1) 3 .0010
Leaves (.1)
S (.9) 2 .0090
Leaves (.1)
L (.1)
2 .0090
Stays (.9)
1 .0810
S (.9)
L (.1) 2 .0090
Leaves (.1)
S (.9) 1 .0810
Stays (.9) L (.1)
1 .0810
Stays (.9) .7290
S (.9) 0
BS/IIFT/Harsh/5 57
Example
BS/IIFT/Harsh/5 58
Problem
BS/IIFT/Harsh/5 59
Solution
x= number of Heads,=0,1,….10
p=1/2,
P(X> 7) = P(X=7)+P(X=8)+P(X=9)+P(X=10)=
1- P(X<6) =0.1719 [Table A.2 page 766]
[P(X<6) =BINOMDIST(6,10,0.5,TRUE)=0.828125
1-0.828125 = 0.171875]
BS/IIFT/Harsh/5 60
Example
BS/IIFT/Harsh/5 61
Figure Tree diagram for selecting three Mobiles.
D DGD
D G
.05
.05 .95
G
.95 DGG
D GDD
.05
G
D
G
.05
.95 .95 GDG
D GGD
G .05
.95
G
BS/IIFT/Harsh/5 .95 GGG 62
Solution
Let
D = a selected Mob is defective
G = a selected Mob is good
P (DGG ) = P (D )P (G )P (G )
P (GDG ) = P (G )P (D )P (G )
P (GGD ) = P (G )P (G )P (D )
BS/IIFT/Harsh/5 63
Solution
Therefore,
P (1 mobile is defective in 3)
= P (DGG or GDG or GGD )
= P (DGG ) + P (GDG ) + P (GGD )
= .0451 + .0451 + .0451
= .1353
BS/IIFT/Harsh/5 64
Solution
n = total number of trials = 3 mobiles
x = number of successes = number of defective mobiles = 1
n–x=3-1=2
p = P (success) = .05
q = P (failure) = 1 – p = .95
BS/IIFT/Harsh/5 65
Example
At the Express House Delivery Service, providing high-
quality service to customers is the top priority of the
management. The company guarantees a refund of all
charges if a package it is delivering does not arrive at
its destination by the specified time.
It is known from past data that despite all efforts, 2%
of the packages mailed through this company do not
arrive at their destinations within the specified time.
Suppose a corporation mails 10 packages through
Express House Delivery Service on a certain day.
BS/IIFT/Harsh/5 66
Example
BS/IIFT/Harsh/5 67
Solution
n = total number of packages mailed = 10 ,
p= P (success) = 0.02,
q = P (failure) = 1 – 0.02 =0.98
a)
x = number of successes = 1
n – x = number of failures = 10 – 1 = 9
10!
P( x 1)10C1 (.02)1 (.98) 9 (.02)1 (.98) 9
1!(10 1)!
(10)(.02)(.83374776) .1667
BS/IIFT/Harsh/5 68
Solution
b)
P( x 1) P( x 0) P( x 1)
10C0 (.02) 0 (.98)10 10C1 (.02)1 (.98) 9
(1)(1)(.81707281) (10)(.02)(.83374776)
.8171 .1667 .9838
BS/IIFT/Harsh/5 69
Example
According to Survey, 56% of a call centre employees are making
payments on the car loans and the remaining are not. Assume
that this result holds true for the current population of call
centre.
Let x denote the number in a random sample of 3 of call centre
employees who are making payments on their car loans.
Write the probability distribution of x and draw a bar graph for
this probability distribution.
BS/IIFT/Harsh/5 70
Solution
BS/IIFT/Harsh/5 71
Solution
BS/IIFT/Harsh/5 72
Probability Distribution of x
x P (x)
0 .0852
1 .3252
2 .4140
3 .1756
BS/IIFT/Harsh/5 73
Bar graph of the probability distribution
P(x)
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 x
0 1 2 3
BS/IIFT/Harsh/5 74
Problem
If X~B(n,p)
and given E(X)=4, V(X)=3
Find parameters of the distribution
E(X)=np =4, V(X)= npq=3,
Then q=3/4,
p=1/4, n=16
X~B(16,1/4)
BS/IIFT/Harsh/5 75
Problem
BS/IIFT/Harsh/5 76
Solution
BS/IIFT/Harsh/5 77
Poisson Distribution
The Poisson distribution focuses only on the number of discrete
occurrences over some interval or continuum
A discrete distribution
Describes rare events
Each occurrence is independent of any other occurrences.
The number of occurrences in each interval can vary from zero to infinity.
The expected number of occurrences must hold constant throughout the
experiment.
Poisson does not have a given number of trials (n) as a binomial experiment does
Occurrences occur over an interval
BS/IIFT/Harsh/5 78
Variables having Poisson Distribution
The number of people who arrive at a bank or fast food restaurant in a
specified time interval (during time period 1, 2, 3, etc.)
The number of cars arriving /accidents at an intersection.
The number of planes landing at an airport.
In each case, “chances are” the number of people, cars, planes, etc will
be, say 0, 1, 2, 3… but there is no upper limit.
Arrivals at queuing systems
airports -- people, airplanes, automobiles, baggage
banks -- people, automobiles, loan applications
Defects in manufactured goods
number of errors per typed page
BS/IIFT/Harsh/5 79
Poisson Process
Poisson Process
The probability of an occurrence is the same for any two intervals of equal length.
The occurrence or non-occurrence in any interval is independent of the occurrence
or non-occurrence in any other interval.
Discrete Events in an ‘Interval’
The Probability of One Success in Interval is Stable
The Probability of More than One Success in this Interval is 0
Probability of Success is Independent from Interval to Interval .
# Customers arriving in 15 min.
# Defects per case of Light Bulbs.
BS/IIFT/Harsh/5 80
Poisson Distribution
BS/IIFT/Harsh/5 81
Poisson Probability Distribution
Poisson Probability Function is given by:
𝑒 −λ λ𝑥
p(x) = , x= 0,1,2…….∞
x!
where;
x = number of occurrence per interval for which probability is being computed.
p(x) = probability of x occurrences in an interval;
l = mean number of occurrences in an interval ;
e = 2.71828.
The Mean and Variance of Poisson distribution are:
µ=l;
σ2 = l
BS/IIFT/Harsh/5 82
Problem: RML Hospital-1
Covid - 19 patients arrive at the emergency room of RML Hospital, New
Delhi at the average rate of 6 per hour on weekend evenings.
What is the probability of 4 arrivals in 30 minutes on a weekend evening?
Using the Poisson Probability Function
λ = 6/hour = 3/half-hour, x = 4
34 ( 2. 71828) 3
f ( 4) .1680
4!
BS/IIFT/Harsh/5 83
RML Hospital
BS/IIFT/Harsh/5 84
Create Poisson Probability Table page 151
BS/IIFT/Harsh/5 85
Difference from a Binomial Distribution
The Poisson distribution differs from the Binomial distribution in these
fundamental ways:
The Binomial distribution describes a distribution of two possible outcomes of
a trail by Success & Failure. The Poisson distribution focuses only on the
number of discrete occurrence over interval.
The Binomial distribution is affected by the sample size n and the probability
p, whereas the Poisson distribution is affected only by the mean λ. It does not
give number of trials n as in Binomial distribution.
In a Binomial distribution the possible values of the random variable are x are
0, 1, . . . n, but a Poisson distribution has possible x values of 0, 1,2 . . . , with
no upper limit.
BS/IIFT/Harsh/5 86
Binomial tends to Poisson for n>20 & p<0.05
BS/IIFT/Harsh/5 87
Problem-2
BS/IIFT/Harsh/5 88
Solution
Given n=500,p= 0.1/100= 0.001, therefore λ=np=500*0.001= 0.5.
Probability of no defectives =
P(X=0)= 𝑒 −0.5 =0.6065
P(X≥2)=1-P(X≤1)=1-[P(x=0)+P(x=1)] =1-[𝑒 −λ + λ𝑒 −λ ]
=1 -[𝑒 −0.5 +0.5𝑒 −0.5 ]
=1-[ 0.6065+0.5(0.6065)]=0.0902
Therefore required # of boxes = 100* 0.0902≈10
BS/IIFT/Harsh/5 89
Problem-3
BS/IIFT/Harsh/5 90
Solution
Given n=5,000,p=0.001,therefore λ=np=5,000*0.001=5.
Probability that the company has to pay at least 2 claims during a
given year is given by
P(X≥2)=1-P(X<2)=1-[P(x=0)+P(x=1)] =1-[𝑒 −λ + λ𝑒 −λ ]
=1-[𝑒 −5 +5𝑒 −5 ]=1-𝑒 −5 [1 + 5]
=1-6*0.0067
=0.9596
BS/IIFT/Harsh/5 91
Thanks
BS/IIFT/Harsh/5 92