Under Discrete Probability Distribution we have
- Bernoulli Distribution
- Binomial Distribution (sampling with replacement)
- Hypergeometric Distribution(Sampling without replacement)
- Poisson Distribution
Bernoulli Distribution:
- Discovered by a SWISS Mathematician Jame Bernoulli(1654-1705)
- Also known as Bernoulli Distribution
- A successive repetition of an experiment is called Bernoulli Trials.
- The number of trials is finite and fixed
- Dealt with dichotomous classification of events(outcomes) either 0 or 1
- Non-occurrence or Occurrence of an event
- Occurrence is denoted by p
- Non- occurrence is denoted by q
- Outcome of each trial may be either success or failure. Trials are independent. Example: Flipping a coin.
- When trials are done n times under identical conditions Say Xi for i= 1 to n assumes values 0 or 1 then Xi is Bernoulli Variate with probability ‘p’
- Mean of Bernoulli Distribution
- Here random variable assumes values 1 and 0 with probabilities ‘p’ and ‘q’
- q = 1-p; Here random variable is called Bernoulli Variable.
- It has only one parameter ‘p’ that is one constant
- For different values of p we get different Bernoulli Distribution. (0<p<1)
Example:
- a card is drawn from a pack of 52 cards.
- The probability of getting a king is 4/52.
- Before a second draw, the card drawn is replaced. (drawing with replacement)
- But if the card is not replaced, we cannot have binomial distribution.
- Tossing of a coin: a head or a tail can be had on a toss of coin ;
- Drawing from a pack of cards: a card drawn may be black or red
- Inspecting a batch: An item in a batch may be defective or non-defective
When a coin is tossed
- you get two possible outcomes. Either Head or Tail
- The probability of getting a Head is (p) ½
- The probability of getting a Tail is (q= 1-p) ½
- Sum of all probabilities = 1

When two coins are tossed

The possible sequences are mutually exclusive( only one can happen for each toss). The sum of joint probabilities is equal to one. For The probability of HT and TH we use addition rule P(HT OR TH) =P(HT)+P(TH)= 0.25+0.25=0.50
- Probability of two heads up = p*p = p square
- Probability of one head and one tail = pq +qp = 2pq
- Probability of two tails up = q*q = q square
The sum is

Characteristics of a discrete probability distribution:
- For any value of X 0≤P(X)≤1
- The values of X are exhaustive. The probability distribution includes all possible values
- The values of X are mutually exclusive: Only one value can occur for one experiment
- The sum of their probabilities is one ;ƩP() = 1
When three coins are tossed:


Calculation of Mean, Variance and Standard Deviation of Random Variable X:

Let the probability of the person being interviewed Male – 2/3 and Female – 1/3 . Find mean and SD of the distribution.
- p+q = 2/3+1/3 =1
- Mean (E(X) = p = 2/3
- Var(X) = pq = 2/3*1/3= 2/9
- SD(X) = √2/9 =0.4714
Problem:
Find mean, variance and standard deviation of the following discrete probability distribution
![]()

Binomial Distribution
- When Bernoulli experiment is repeated ‘n’ number of times then it is called Binomial Distribution.
- It is a discrete probability distribution.
- Probability Distribution which has the following probability mass function (p.m.f) is called Binomial Distribution.
- Parameters are ‘n’ and ‘p’ and Variable X is discrete and called Binomial variate. This is denoted by B(n,p)
- Assumptions: a)Outcome of the experiments should be dichotomous Conducted under identical conditions
- Experiments must be independent
Formula:

Examples:
- Number of defective articles in sample of 6 drawn from lot
- Number of heads obtained in 3 tosses of a coin
- Number of male children in a family of 5 children
Application of Binomial Distribution:
Types of Problems in Binomial Distribution:
- Type I: Finding the probability of events
- Type II: Finding the expected values
- Type III: Finding the distribution if parameters are give
Type I: Finding the probability of events
An unbiased coin is tossed six times. What is the probability that the tosses will result in
- Exactly two heads
- At least five heads
- At least one head
- At most two heads
- Not greater than one head
- Not less than five heads
-
Exactly two heads:
Let ‘A’ be the event of getting head.
- p=1/2
- q=1/2
- n=6


Probability of getting exactly two heads is P(X = 2) =0.234375
Using python : use scipy.stats package and stats library

use scipy.stats.binom.pmf(k, n, p)
where:
- k = number of successes (integer or array)
- n = number of trials (integer)
- p = probability of success in each trial (float between 0 and 1)
Probability of getting at least 5 heads: means 5 and above

Probability of at least 5 and above (x≥5) is 0.109375

At least one head: means P(x=1..6)

Probability of getting at least one head is 0.98437. Instead of finding P(X=1),P(X=2),P(X=3),P(X=4),P(X=5), and P(X=6) and sum the out come we P(X<1) from total probability 1

At most two heads: mean we require P(X= from o to 2)

At most two heads include p(x=0), p(x=1), p(x=2) ie p(x≤ 2). . Probability of getting at most 2 heads: 0.34375

Not greater than one head: means P(x<= 1):

Probability of getting greater than one head ( includes P(x=0) + P(x=1) =0.1093

Not less than five heads (includes p(x=5)+P(x=6)):


Type II: Find the expected values E(X) =\mu
- Say a random sample of 5 sachets of coconut oil was examined.
- Two were found to be leaking
- Dealer received 625 packets each containing 5 sachets.
- Find the expected number of packets to contain exactly one sachet leaking?
Solution:
- n=5
- N= 625
- PROBABILITY OF LEAKING p = 2/5
- q = 1 –p = 1- 2/5 = 3/5
- Expected number of sachets Contains exactly one leaking

Expected number of packets to contain exactly one leaking sachet is
N * Probability = N*P(X=1)= 625*162/625 = 162
Formulae for finding mean, variance and std for Binomial distribution:

Another Problem:
Researchers found that 70% of the owners accounting app understand how to program the app. You select Randomly 3 owners. What is the probability that exactly 2 of the owners know how to program the app (ie with p=0.7 , the probability of selecting exactly 2 owners out of 3 trials. Use S for Success and F for failure
Using Joint Probabilities

Using formula
n = Possible outcome of sequence of 2 success and one failure

