Professional Documents
Culture Documents
Random Variables
Definition: A random variables is used to numerically describe the outcomes of an experiment.
Experiment, Outcomes, Random Variable
Random Variables
Probability Concepts
Definition: Numerical measure of the chance of occurrence of an
event.
Probability Distributions
An arrangement/description that depicts/describes the values of a random
variables along with the probabilities associated with those values.
Probability Distributions
Example:
1 Blue 10 0.3333
2 Red 14 0.4667
3 Green 6 0.2
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Example:
1 10 0.3333
2 20 0.4667
3 30 0.2
Probability Distributions
Example:
Class Intervals (Marks) Frequency Relative Frequency
Probability Distributions
Example: An urban survey of 1000 households of a metropolitan city for studying the number
of motor vehicles owned by a household Number of Vehicles Probability
0 0.15
(Discrete/Continuous?) 1 0.3
(Properties?) 2 0.25
3 0.2
4 0.1
Example: A study (of 50 workers ) to assess time taken for assembling a desktop computer in a
factory.
Time Taken (hour) Probability
<1 0.25
(Discrete/Continuous?) 1-2 0.45
(Properties?) 2-3 0.25
>3 0.05
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Uniform Distribution
Binomial Distribution
Poisson Distribution
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Uniform Distribution: When an experiment result in outcomes that are finite and are equally
likely.
e.g. Toss of a fair coin (Outcome: Head/Tail), Throw of a fair dice (Outcome: face with one of
the value out of 1, 2, 3, 4, 5, 6).
Probability function is f(X) = 1/n ; where n is the number of possible outcomes i.e.
the number of values, a random variable can take
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Uniform Distribution:
Probability function is f(X) = 1/n ; where n is the number of possible outcomes i.e.
the number of values, a random variable can take
X f(X)
Example: Number on the face of a fair dice 1 1/6
2 1/6
3 1/6
4 1/6
5 1/6
6 1/6
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Probability Distributions
Discrete Probability Distributions:
Probability Distributions
Discrete Probability Distributions:
𝑛!
f(x) = * px * (1-p) (n-x) ;
𝑥! 𝑛−𝑥 !
Probability Distributions
Discrete Probability Distributions:
Here n= 4; p = ½ = 0.5; x = 1
4!
f(1) = * (0.5)1 * (0.5) (4-1) ;
1! 4−1 !
= 4 * 0.5 * 0.125
= 0.25
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Binomial Probability Distribution: E.g. we want to find the probability of 1 head in 4 tosses of a
fair coin
Tree Diagram
Total no. of
outcomes
= 16
Outcomes with
Only 1 head
=4
Probability Distributions
Discrete Probability Distributions:
Probability Distributions
Discrete Probability Distributions:
Binomial Probability Distribution: E.g. Experiment is Four tosses of a fair coin, Outcome
of interest is Head
Using the original formulas for mean (E.V) and variance of a distribution
Probability Distributions
Discrete Probability Distributions:
1 0.25
Variance: Var (X) = E(X - µ)2 = σ 2 = ∑ (Xi - µ) 2 * f(Xi)
2 0.375
3 0.25
4 0.0625
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
0.3
1 0.25
0.25
0.2 2 0.375
0.15
0.1 3 0.25
0.05
0
4 0.0625
0 1 2 3 4
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Practice Problem: In a throw of a fair dice, one is interested in the outcome of an even
number. What is the probability that in 10 throws we will get an even number i) 2 times ii) 8
times iii) at least 3 times? What is the probability that we will get an odd number i) 2 times ii)
less than 2 times?
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Probability Distributions
Discrete Probability Distributions:
Example: no. of cars passing through a signal in a given hour; no. of telephone calls in a given
duration at a call centre
If µ = mean number of occurrences (observed from the past data) and x = number of
occurrences in an interval
Then probability of x occurrences
Probability Distributions
Discrete Probability Distributions:
Poisson Probability Distribution: E.g. Consider visitors on a web-site during sale hours. if
past data indicates that the mean number of such visitors in a given minute is 7, what is the
probability of 10 visitors landing on the web-site during a minute during sale hours? (Assume
that such visits follow a Poisson distribution)
Here µ = 7, x = 10
Then Poisson probability of 10 visitors
f(10) = (e-7 * 710) / 10!
= 0.071
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Poisson Probability Distribution: E.g. Consider visitors on a web-site during sale hours. if
past data indicates that the number of such visitors in a given minute is 7, what is the
probability of 10 visitors landing on the web-site during a minute during sale hours? (Assume
that such visits follow a Poisson distribution)
f(x) (Probability)
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 25
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Poisson Probability Distribution: Mean and Variance are same:
Exercise: Past data shows that phone calls arrive at a call centre at the rate of 36 per hour. Find out
Probability Distributions
Discrete Probability Distributions:
Exercise: Past data shows that phone calls arrive at a call centre at the rate of 36 per hour. Find out
- The probability of receiving 45 calls per hour (mean = 36) : f(X=45) = 0.021
- The probability of receiving 4 calls in a five minute interval (mean = 3) : f(X=4) = 0.168
(36 per hour = 36 in 60 minutes. In 60 minutes there are 36 calls, thus, using unitary method no. of calls
in 5 minutes = (36*5)/60 = 3)
- The probability of receiving at least 4 calls in a five minute interval (mean = 3) : f(X>= 4) = 0.3528
(Since, f(x=0)+f(x=1)+f(x=2)+f(x=3)+f(x=4) + ……..+ = 1)
- The probability of receiving at most 3 calls in a five minute interval (mean = 3) : f(X<=3) = 0.6472
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Practice Problem: Past data indicates that the mean number of vehicles passing through a
signal during a minute is 5. If the occurrence of the vehicles follows Poisson distribution then
what is the probability that 10 vehicles will pass in a given minute through that signal.
Vishal Mishra (IBS, Hyderabad)
Probability Distributions
Discrete Probability Distributions:
Practice Problem: Past data indicates that the mean number of vehicles passing through a
signal during a minute is 5. If the occurrence of the vehicles follows Poisson distribution then
what is the probability that 10 vehicles will pass in a given minute through that signal.
Solution: µ = 5, x = 10
f(x = 10) = (e-5 * 510) / 10! = .0181