Lesson - 07 - Probability Distributions
Lesson - 07 - Probability Distributions
Probability Distributions
Learning Objectives
ABC is a government agency. The agency stores a lot of data related to the
citizens of the country, such as population statistics, forex rates, and other
relevant topics.
The agency wants to analyze and determine the population’s data in the next few
years. However, different theorems are supposed to be used to calculate the
probability of this data being accurate.
In order to do this, the agency will determine discrete distributions and explore
the commonly used continuous and discrete probability distributions.
Discussion: Random Variable
Duration: 15 minutes
Random variables
Continuous random
Discrete random variable:
variable:
It can only take on a finite
It can assume an infinite
number of values.
number of values.
Discrete Random Variable
These random variables take only selected values in a range, like whole numbers.
Continuous Random Variable
Temperature Length
Time Height
A probability distribution is a statistical function that describes all the possible values and
probabilities for a random variable within a given range.
Density plots
Probability Distribution: Example
Consider a production process that produces both non-defective and potentially defective pieces
After inspecting a large number of pieces, the following probabilities were determined:
Analyzing this probability distribution helps assess the distribution of defective and non-
defective pieces in production, aiding in quality control evaluation, product acceptance
decisions, and estimation of rework or reject rates.
Probability Distribution: Example
The probability distribution indicates how the total probability is distributed across all
values. A random variable constitutes an event for each value it takes.
Probability Distribution: Example
Value Probability
1 1/6
2 1/6
3 1/6
4 1/6
5 1/6
6 1/6
Total 1
Probability Distribution: Example
The numerical value obtained by multiplying each value taken by the variable with its probability when
added on is called the expected value of the random variable.
Value Probability
1 1/6
2 1/6
5 1/6
6 1/6
Total 1
Probability Distribution: Expected Value
Example: Calculating the expected value for a random variable X that represents the
outcome of throwing a dice
The average value expected to be seen over a significant number of dice rolls is 3.5.
Probability Distribution: Expected Value
An expected value represents the expected outcome for a random variable over a large
number of trials.
Duration: 15 minutes
• What is a random variable, and what are the types of random variables?
Answer: It is a variable that quantifies the outcome of a random experiment.
The two types of random variables are discrete random variables and
continuous random variables.
Assume the production of a batch of 1000 light bulbs with a 0.05 probability of defective light bulbs
Duration: 5 minutes
Discrete
probability
distribution
Bernoulli Binomial
distribution distribution
Poisson
distribution
Bernoulli Distribution
The Bernoulli distribution is a discrete probability distribution that models a single trial with
two possible outcomes, typically labeled as success (denoted as 1) and failure (denoted as 0).
1 0
Bernoulli Distribution
The Bernoulli probability is denoted by P and is computed using the following formula:
It is commonly used to model situations with binary outcomes, such as flipping a coin, the
success or failure of an event, or the presence or absence of a characteristic.
It serves as the building block for more complex distributions, such as the binomial
distribution, which models the number of successes in a fixed number of Bernoulli trials.
Bernoulli Distribution: Example
Consider a scenario where there is a bag of marbles, and the objective is to determine the
probability of drawing a red marble from the bag
The probability of drawing a red marble is The probability of drawing a non-red marble
0.4, or 40%. is 0.6, or 60%.
In this example, the Bernoulli distribution is used to model the probability of a single event
(drawing a red marble) with two possible outcomes (success or failure).
Binomial Distribution
Fixed number of trials: The binomial distribution models a fixed number of trials, denoted by n.
Two possible outcomes: Each trial can result in one of the two outcomes.
The outcome of one trial does not affect the outcome of any other trial.
Independence of trials:
Each trial is independent.
Constant probability of The probability of success (often denoted as p) remains the same for
success: each trial. The probability of failure is given by (1 - p).
Binomial Distribution
Let X denote a random variable that indicates the number of times an event occurs
in n Bernoulli trials with a probability p of X occurring in the trial.
Probability of Probability of
q=1-p
occurrence non-occurrence
Binomial Distribution
When X follows the binomial distribution with parameters n (the number of trials) and p (the probability of
success in a single trial), the equation for calculating the probability of a specific outcome is as follows:
Where,
• P(X = k) represents the probability of achieving exactly k successes in n trials.
• C(n, k) is the binomial coefficient, which signifies the number of ways to select k
successes from n trials (C(n, k) = n! / (k! * (n - k)!)).
• pk denotes the probability of k successes in the trials, obtained by raising the
probability of success in one trial, p, to the k power.
• (1 - p)(n – k) indicates the probability of the remaining n - k trials resulting in
failure, computed by raising the failure probability in a single trial, 1 - p, to the
power of n - k.
Binomial Distribution: Example
Calculating the probability of encountering exactly two defective components using the
binomial distribution formula:
n=8
k=2
p = 0.10
Binomial Distribution: Example
The probability of encountering exactly two defective components when inspecting eight
components from the supplier's shipment is 0.1488, which is equivalent to 14.8%.
Poisson Distribution
The Poisson distribution can be used to analyze situations, where there are a limited number of
outcomes from an experiment.
If X denotes the random variable indicating the number of occurrences that follows a Poisson
distribution, the probabilities of X taking a given value [0, 1, 2, and so on] depend on its
expected value λ.
1
E(X) = λ
When X follows
Poisson
distribution 1
Var(X) = λ
with parameter
λ:
s.d. (X) = √λ
1
Example: The number of spares required for any machine component during the equipment’s life
follows a Poisson distribution with λ = 2.
3.5
3
2.5
2
1.5
1
0.5
0
0 0.5 1 1.5 2 2.5 3
The firm must decide the number of spares required, so the probability of a stockout is at most 0.06.
Example
Solution: Let the random variable X denote the number of spares required. X follows a Poisson
distribution with parameter λ = 2.
The table shows the stockout probabilities for different values of stocks. Note that the
stockout probability for a given value = 1 – cumulative value.
K 0 1 2 3 4 5 6
K 0 1 2 3 4 5 6
Inadequate Adequate
Since the stockout probability should not exceed 0.06, the firm should stock 4 units.
Discussion
Duration: 5 minutes
Duration: 15 minutes
Continuous
probability
distribution
Normal Uniform
distribution distribution
Normal Probability Distribution
When plotted on a graph, the data follows a bell shape, with most values clustering
around a central region and tapering off as they go further away from the center.
Normal Probability Distribution
Normal distributions are also called Gaussian distributions or bell curves because of
their shape.
Parameters of Normal Distribution
Mean (μ)
This represents the center of the distribution and determines where the bell
curve is centered.
The distribution is symmetric. Half the values fall below the mean and half
are above the mean.
The mean and the standard deviation are the two values that describe
the distribution.
Normal Probability Distribution
The probability density function (PDF) is a mathematical function that describes the
probability distribution of a continuous random variable.
The PDF is widely used in statistics and probability theory to analyze and make inferences
about continuous random variables that follow a normal distribution.
Normal Distribution: Example
Consider a factory outlet that uses a filling machine to produce low-pressure oxygen shells
Assume that the filling machine has a mean output of μ = 500 oxygen shells
per hour and a standard deviation of σ = 10 shells per hour
Subtract the cumulative probability of 490 from the cumulative probability of 510 to find the
probability between these two numbers:
≈ 0.8413 - 0.1587
≈ 0.6826
A uniform probability distribution is a type of probability distribution where all values within a
given range have an equal probability of occurring.
Uniform Probability Distribution
This parameter represents the lower end, or the minimum value, of the range
over which the uniform distribution is defined. All values within the range must be
greater than or equal to this lower bound.
This parameter represents the upper end, or the maximum value, of the range
over which the uniform distribution is defined. All values within the range must be
less than or equal to this upper bound.
Properties of Uniform Distribution
The probability density function (PDF) remains constant over the entire range.
This means that all values within the range have an equal probability of
occurring.
Every value within the specified range has the same probability of occurring.
There are no peaks or valleys in the distribution, and the probabilities are evenly
distributed across the interval.
The probability density function (PDF) of the continuous uniform distribution for a
random variable X defined over a continuous range [a, b] is as follows:
Where,
• a represents the lower bound of the range.
• b represents the upper bound of the range.
• (b - a) represents the width or length of the range.
Uniform Probability Distribution: Example
In this case, all numbers from 1 to 6 have an equal probability of 1/5 or 0.2, while
values outside this range have a probability of 0.
Discussion
Duration: 15 minutes
C. Probability distribution
D. Continuous distribution
Knowledge
Check
Which of the following random variables can take any value in a certain range?
C. Probability distribution
D. Continuous distribution
The continuous random variables can take any value in a certain range.
Knowledge
Check
Which of the following are the parameters of a uniform probability distribution?
2
The lower bound (a) and upper bound (b) are the two parameters of a uniform probability
distribution.
Knowledge
Check Which of the following is a distribution completely specified by its mean μ and standard
3 deviation σ?
A. Normal distribution
B. Probability distribution
C. Continuous distribution
A. Normal distribution
B. Probability distribution
C. Continuous distribution