Unit2_part1
Unit2_part1
Statistics
PGDM (2023-24)
Term-II (Oct-Jan, 2023-24)
Ruchika Lochab
Assistant Professor, Operations
IMI, Delhi
Probability
Distributions
12/07/2024 3
• Frequency distributions are a useful way of summarizing
variations in observed data. Frequency distributions by listing
all the possible outcomes of an experiment and then
indicating the observed frequency of each possible outcome.
12/07/2024
• Because these distributions deal with
expectations, they are useful models in
making inferences and decisions under
conditions of uncertainty.
• In the real world, you might collect data on the heights of individuals in a
population. The frequency distribution could show the number of people
within various height ranges. A probability distribution, such as the normal
distribution, could be used to model the probability of a randomly selected
person having a particular height.
In summary, probability distributions are essential tools for
understanding uncertainty and randomness in various fields.
They can be introduced and visualized using frequency
distributions, which provide a practical way to analyze and
interpret data collected from random experiments or
processes.
12/07/2024 7
Unit 2: Probability Distributions
• 1 - Random Variables, Expected Value, Variance
• 2 - Discrete Probability Distributions
• 3 - Expected Value and Variance
• 4 - Binomial Probability Distribution
• 5 - Poisson Probability Distribution
• 6 - Continuous Probability Distributions
• 7 - Normal Probability Distributions
• 8 – Fat tail distributions
• 9 - Applications
12/07/2024 8
Random Variables
Discrete Random Variables
Continuous Random Variables
Random Variables
• A random variable is a numerical description of the outcome of an
experiment.
• A discrete random variable may assume either a finite number of
values or an infinite sequence of values.
• A continuous random variable may assume any numerical value in an
interval or collection of intervals.
12/07/2024 10
Probability Notations
12/07/2024 13
Discrete Random Variable with a Finite
Number of Values (Ex: JSL Appliances)
• Let x = number of TVs sold at the store in one day,
where x can take on 5 values (0, 1, 2, 3, 4)
• We can count the TVs sold, and there is a finite upper limit on the
number that might be sold (which is the number of TVs in stock).
12/07/2024 14
Example: JSL Appliances
• We can count the customers arriving, but there is no finite upper limit
on the number that might arrive.
12/07/2024 15
Examples of Discrete Random
Variables
Possible Values for the Random
Random Experiment Random Variable (x) Variable
Flip a coin Face of a coin showing 1 if heads; 0 if tails
Operate a health care clinic for one Number of patients who arrive 0, 1, 2, 3, …
day
Offer a customer the choice of two Product chosen by customer 0 if none; 1 if choose product A; 2 if
products choose product B
12/07/2024 16
Examples of Continuous Random
Variables
12/07/2024 17
Illustration Random Variable x Type
Distance from home to stores on a x = Distance in miles from home to the store Continuous
highway site
12/07/2024 18
Probability Distribution
A probability distribution (function) is a list of the probabilities of the values (simple
outcomes) of a random variable.
Table: Number of heads in two tosses of a coin
y p(y)
outcome probability
0 1/4
1 2/4
2 1/4
12/07/2024 19
Example
12/07/2024 20
Solution
(a) No, since the sum of all probabilities is not equal to 1.0.
(b) Yes.
12/07/2024 21
Discrete Probability
Distributions
12/07/2024 22
Discrete Probability Distribution
The probability distribution for a random variable describes how
probabilities are distributed over the values of the random variable.
We can describe a discrete probability distribution with a table, graph,
or formula.
Types of discrete probability distributions:
First type: uses the rules of assigning probabilities to experimental
outcomes to determine probabilities for each value of the random
variable.
Second type: uses a special mathematical formula to compute the
probabilities for each value of the random variable.
Example
According to a survey, 60% of all students at a
university suffer from math anxiety. Two students are
randomly selected from this university. Let x denote
the number of students in this sample who suffer from
math anxiety. Develop the probability distribution of x.
12/07/2024 24
Solution
Let us define the following two events:
12/07/2024 27
Example
The following table lists the probability distribution of the number of breakdowns per
week for a machine based on past data.
12/07/2024 28
Example
(b) Find the probability that the number of breakdowns for this
machine during a given week is
i. exactly 2
ii. 0 to 2
iii. more than 1
iv. at most 1
12/07/2024 29
Solution
• Let x denote the number of breakdowns for this machine during a
given week. Table below lists the probability distribution of x.
12/07/2024 30
Solution: Graphical presentation of the
probability distribution of previous Table
12/07/2024 31
Solution
(b) Using the Table,
i. P(exactly 2 breakdowns) = P(x = 2) = .35
12/07/2024 35
Solution
12/07/2024 36
STANDARD DEVIATION OF A DISCRETE
RANDOM VARIABLE
x P( x)
2 2
12/07/2024 37
Example: Compute the standard deviation of
x.
Baier’s Electronics manufactures computer parts that are supplied to many
computer companies. Despite the fact that two quality control inspectors at
Baier’s Electronics check every part for defects before it is shipped to another
company, a few defective parts do pass through these inspections undetected. Let
x denote the number of defective computer parts in a shipment of 400. The
following table gives the probability distribution of x.
12/07/2024 38
Solution: Computations to Find the Standard
Deviation
12/07/2024 39
Solution Cntd.
(a) Let x be the profits (in millions of dollars) earned per annum from this
product by the company. Write the probability distribution of x.
12/07/2024 41
Solution
(a) The table below lists the probability distribution of x. Note that because x
denotes profits earned by the company, the loss is written as a negative
profit in the table.
Table: Computations to Find the Mean and Standard
Deviation
Solution cntd.
(b) The Table shows all the calculations needed for the computation of the
mean and standard deviations of x.
$2.314 million
The Statistical Abstract of the United States which publishes the report
annually… conducted a survey where US households are asked to report
the number of color televisions in the household. The following table
summarizes the data. Develop the probability distribution of the random
variable defined as the number of color televisions per household.
(1,218/101,501) = 0.012
Number of Color Televisions Number of Households (1,000s)
0 1,218
1 32,379
2 37,961
3 19,387
4 7,714
5 2,842
Total 101,501
1. What is the probability that a randomly selected household has
no colour television? X
0
P(X)
0.012
P(X=0) = P(0) = 0.012=1.2% 1 0.319
2 0.374
3 0.191
2. What is the probability that a randomly selected household 4
5
0.076
0.028
owns two or more colour television?
P(X >=2) = P( X=2) +P(X=3)+ P(X=4) + P(X=5)
(From the addition rule of proability when the events are mutually exclusive)
Number
Units Sold of Days
0 80 0 .40 = 80/200
1 50 1 0.25
2 40 2 0.20
3 10 3 0.05
4 20 4 0.10
. .
200 1.00
12/07/2024 47
Example cntd: JSL Appliances
12/07/2024 48
Example cntd: JSL Appliances
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
12/07/2024 49
Example cntd: JSL Appliances (Variance)
X x– μ (x – μ )2 f(x) (x–μ )2 f(x)
0 –1.2 1.44 .40 .576
1 –0.2 0.04 .25 .010
2 0.8 0.64 .20 .128
3 1.8 3.24 .05 .162
4 2.8 7.84 .10 .784
Variance of daily sales =
σ 2 = 1.660
12/07/2024 50
JSL Appliances
No. of TVS sold by JSL Appliances in a day & associated
probabilities given. Find the expected value of TVs sold per day
by JSL appliance.
x f(x) xf(x)
0 of 0,1,2,3,4
So, even if the sales .40 TV are.00possible on a day,
over time, JSL Appliance
1 can anticipate.25
.25 of selling an
average of 1.2 TVs2 per day..20
Assuming a.4030 days of
operation during a month, JSL Appliance can use this
3 .05 .15
expected value to forecast average monthly and yearly
sales as: 4 .10 .40
E(x) = 1.20
Monthly = 30 * 1.2 = 36, Year = 438
expected number of
TVs sold in a day
JSL Appliances
No. of TVS sold by JSL Appliances in a day & associated
probabilities given. Find the standard deviation of TVs sold per
day by JSL appliance.
x x- (x - )2 f(x) (x - )2f(x)
2. E(X + c) = E(X) + c
3. E(cX) = cE(X)
1. V(c) = 0
2. V(X + c) = V(X)
3. V(cX) = c2V(X)
Describing the Population of Monthly Profits
contd…
12/07/2024 59
Covariance
• Covariance is a measure of the relationship between
two random variables.
• The metric evaluates how much – to what extent – the
variables change together.
• In other words, it is essentially a measure of the
variance between two variables.
• However, the metric does not assess the dependency
between variables.
12/07/2024 60
• It measures the co-movement direction between two
variables. The values are interpreted as follows:
12/07/2024 61
• We say positive Covariance, if both variables move in the
same direction: If a stock price goes up, then the other stock
price goes up, too.
12/07/2024 62
• In finance, the concept is primarily used in portfolio theory.
12/07/2024 63
Formula
The covariance between two random variables X and Y can be calculated using the
above formula.
Where:
k k k
V(Rp ) =
i 1
w i2 i2 2 w w COV(R , R )
i 1 ji 1
i j i j
Where Ri is the return of the ith stock, w i is the proportion of the portfolio
invested in stock i, and k is the number of stocks in the portfolio.
Portfolios with More Than Two Stocks
When k is greater than 2 the calculations can be tedious and
time-consuming.
where:
x = the number of successes
p = the probability of a success on one trial
n = the number of trials
f(x) = the probability of x successes in n trials
Binomial Probability Distribution
12/07/2024 73
Example: Evans Electronics
Using the probability function with p = 0.10, n = 3, and x = 1
Example: Evans Electronics (Tree Diagram)
Formulae
• The expected value is:
Suppose now the salesperson visits 10, 50 and then 100 families. How can we find
the probability that 5 or more families will purchase insurance policy?
(Can we solve this just drawing a tree diagram or need some rule/formula?)
Insurance Policy: Tree Diagram
What is the probability that one of next three customers will make a
purchase? (again, a tree diagram can help to get the answer!)
Suppose now Martin Store wants to find out of next 100 customers, what
would be the probability that 3 or more customers will make a purchase?
(Does not look like a tree diagram can be of much help here!!!)
Martin Clothing Store: Tree Diagram
Answer:
Let X denote the number of samples that contain the pollutant in the next 18 samples
analyzed. Then X is a binomial random variable with
p = 0.1 and n = 18
87
Organic Pollution-cntd.
Determine the probability that at least 4
samples contain the pollutant.
Answer:
88
Organic Pollution-cntd.
89
Discrete Probability
Distributions:
Poisson
Distribution
Poisson Probability Distribution
• A discrete random variable that is often useful in estimating the number of
occurrences of an event over a specified interval of time and space.
• Examples:
• Number of patients who arrive at a health care clinic in one hour.
• Number of computer-server failures in a month.
• Number of repairs needed in 10 miles of highway.
• Number of leaks in 100 miles of pipeline.
• number of vehicles arriving at a toll booth in one hour
12/07/2024 91
Poisson Probability Distribution
• It is a discrete random variable that may assume an infinite
sequence of values (x = 0, 1, 2, . . . ).
np = np(1-p);
The RHS of above expression is Binomial Variance. In case of Poisson
distribution, p is very small, so, 1-p is close to 1. So, variance of a Poisson
distribution becomes np, same as mean.
μ = σ2
In this case, we will write, if X ~ P(μ);
where μ is the expected value of the distribution.
So, for Poisson Distribution, all one needs to know is the expected value of the
distribution.
Example: Mercy Hospital
Patients arrive at the emergency room of Mercy Hospital 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?
12/07/2024 96
A property of the Poisson distribution is that the mean
and variance are equal.
Answer:
Let X denote the number of flaws in 1 mm of wire
100
Calculations for Wire Flaws-cntd.
Determine the probability of 10 flaws in 5 mm of
wire.
Answer :
Let X denote the number of flaws in 5 mm of wire.
Probably not….
• Though the experiment seems to satisfy properties
of a Binomial distribution….but
• N =20000 ; VERY LARGE
• P = Probability of Success = 1/10000 is VERY SMALL
• N being very large and P being so small, it is hard to
calculate the Probability of Success with Binomial
Probability Function.
• What is the alternative?
A Machine Producing Pins contd…
Expected number of perfect pins produced is
np = 20000 * (1/10000) = 2; which is neither too large nor too
small/Finite
So, the Binomial Probability Function can be approximated by
Poisson Probability Function under the following conditions:
• n, the number of trials is indefinitely large
• p, the constant probability of success for each trial is very small,
that is p is close to zero.
• np = µ (say); is finite.
xx
ee
PP((XX
xx))
xx!!
Thanks!
Extra Slides
Binomial Probability Distribution
Using Tables of Binomial Probabilities
p
n x p = .10 p = .15 p = .20 p = .25 p =.30 p = .35 p =.40 p =.45 p =.50
= .05
3 0 .8574 .7290 .6141 .5120 .4219 .3430 .2746 .2160 .1664 .1250
3 1 .1354 .2430 .3251 .3840 .4219 .4410 .4436 .4320 .4084 .3750
3 2 .0071 .0270 .0574 .0960 .1406 .1890 .2389 .2880 .3341 .3750
3 3 .0001 .0010 .0034 .0080 .0156 .0270 .0429 .0640 .0911 .1250