Discrete Probability Distribution-1
Discrete Probability Distribution-1
Discrete Probability Distribution-1
1
Discrete probability distribution
Restaurant Housing Loan Sanction Trucks sold
Probability distribution: Outcome Probability Duration Probability Units sold Probability
Tea 0.4 <5 days 0.40 0 0.10
Probability of all outcomes. Coffee 0.6 5-7 days 0.50 1 0.60
Tota l 1 >7 days 0.10 1+ 0.30
Tota l 1 Tota l 1
4
Sometimes the probability distribution may also be expressed by an equation,
2
BITS Pilani, Pilani Campus
Probability Distribution
Visual representation of the probabilities of a particular
variable taking the possible values
If we toss a fair coin,
Head- 0.5
Tail- 0.5
If we toss an unfair coin that gives head 55% of the times,
Head- 0.55
Tail- 0.45
If I take a card from a pack of 52 cards, what is probability 3
Textbook example (p-: 184, TB-1)
0 0.35
1 0.25
2 0.20
3 0.10
4 0.05
5 0.05
Total 1
4
BITS Pilani, Pilani Campus
Probability distribution (p-: 184, TB-1)
Interruption Probability,
per day, A B
0 0.35
1 0.25
2 0.20
3 0.10
4 0.05
5 0.05
Total 1
Interruption Probability,
A*B
per day, A B
0 0.35 0.00
1 0.25 0.25
2 0.20 0.40
3 0.10 0.30
4 0.05 0.20
5 0.05 0.25
Total 1 1.40 Mean
8
BITS Pilani, Pilani Campus
Take 5… Expected value
Gambling Rain
Head Tail Expected Good Other Expected
Probability 0.5 0.5 Value Probability 0.6 0.4 Value
Game-1 1 0 0.5 Crop-1 8 3 6 0.6*8+0.4*3=6
Game-2 2 1 1.5 Crop-2 5 10 7 0.6*5+0.4*10=7
0.6*5+0.4*5 = 5
Game-3 200 300 250 Crop-3 5 5 5
0.5*1+0.5*0=0.5 and so on .
10
BITS Pilani, Pilani Campus
BITS Pilani
Pilani Campus
Binomial distribution
Sources of probability distributions
1. Empirical
From historical data
2. Theoretical
Binominal Interruptions: Empirical probability distribution
Poisson
Normal
12
BITS Pilani, Pilani Campus
Binomial Distribution
Whenever we conduct some trials in an experiment that has two possible outcomes in each trial, we can find the probability
of different outcomes in the experiment using binomial distribution
If I toss a coin, we can get either a head or a tail,, probability both is 0.5
If I toss this coin 3 times, HHH TTT HHT HTH THH TTH THT HTT
Total possible outcomes = 2*2*2 =8
Probability of getting all the heads = 1/8
If I am doing an experiment n times, probability of success (head) is p, and probability of failure is q or (1-p), what is the
chance of getting r successes in the n trials = (Ways in which we can choose those r trials out of n trials) * p*p*p… upto r
times * q*q*q…. upto (n-r) failures
= nCr * p^r * q^(n-r) = n!/ [r! (n-r)!] * * p^r * q^(n-r)
Probability of getting all the heads = Probability of getting all the successes out of n trials = nCn * p^n * q^0 = n! /
[n!. (0!] * p^n * q^0
= 3C3 * 0.5^3 * 0.5^0 = 3!/[3! 0!] * 0.5^3 * 0.5^0 = 1 * (1/2)^3 * 1 = 1/8
Prob(exactly 2 heads) = 3C2 * 0.5^2 * 0.5^1 = 3!/(2!1!) * (½)^2 *(1/2) = 3 * 1/8 =3/8
13
BITS Pilani, Pilani Campus
Binomial Distribution
The coin is expected to give head 60% of the times, and tail 40% of the times
Probability of getting all the heads in 3 trials = Probability of getting all the successes out of n trials = nCn * p^n *
q^0 = n! / [n!. (0!] * p^n * q^0
= 3C3 * 0.6^3 * 0.4^0 = 3!/[3! 0!] * 0.6^3 * 0.4^0 = 1 * (6/10)^3
14
BITS Pilani, Pilani Campus
Binomial examples
Two outcomes If a throw a dice 4 times, what is the chance
that a number less than 2 appears exactly
Coin: Head, Tail. once in the 4 times?
Births: Male, Female. Underweight, NotUnderweight
Dice: <2, >=2 Odd, Even n=4, p= 1/6 , q= 5/6
KBC: Correct, Incorrect Option a, Option not a 4C1 * (1/6)^1 * (5/6)^3
Cards: Red, Black Picture, NotPicture 4!/ (1!*3!) * (1/6) *(5/6)^3
Quality: Ok, Defective. Machine: Working, Not Working.
Patient: Inpatient, Outpatient Diagnostic result: Positive, Negative. nCr = nCn-r 4C3 = 4C1
Football: Win, NotWin.
Voting: TMC, NotTMC.
SS Operation: Successful, Failure.
Other: Defaulter, NotDefaulter, BSEup, BSEdown, Employed, Unemployed;
Graduate, NotGraduate; Immigrant, NotImmigrant. InPatient, Outpatient;
OnDuty, OnLeave.
15
BITS Pilani, Pilani Campus
Generate Binomial distribution….
Given
18
BITS Pilani, Pilani Campus
Outcomes and probability distribution on
probability tree
Tossed once Tossed 2 times Tossed 3 times Tossed 4 times
Given
20
BITS Pilani, Pilani Campus