0% found this document useful (0 votes)
4 views

Module 4 1

The document discusses probability distributions, particularly in the context of a coffee shop's sales data over 30 days, highlighting the likelihood of selling various quantities of coffee. It explains the difference between frequency and probability distributions, types of random variables, and the importance of expected value in decision-making. Additionally, it covers applications of probability distributions, including examples and practice questions to reinforce understanding.

Uploaded by

sanketakolkar14
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Module 4 1

The document discusses probability distributions, particularly in the context of a coffee shop's sales data over 30 days, highlighting the likelihood of selling various quantities of coffee. It explains the difference between frequency and probability distributions, types of random variables, and the importance of expected value in decision-making. Additionally, it covers applications of probability distributions, including examples and practice questions to reinforce understanding.

Uploaded by

sanketakolkar14
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 55

Probability distribution

Scenario
You are the owner of a quaint coffee shop in a bustling town. Curious about
your business patterns, you decide to analyze your daily sales over a month.
Every day for 30 days, you meticulously record the number of cups of coffee
sold. As the month concludes, you examine your data and notice some
intriguing patterns emerging. On two days, you sold only 5 cups, while there
were five days when you sold 10 cups. More commonly, you find that on eight
days you sold 15 cups, and even more frequently, there were ten days when 20
cups flew off your shelves. The higher numbers were less frequent but still
significant, with four days seeing sales of 25 cups, and one exceptional day
where you sold a whopping 30 cups.

Based on the above information, how would you anticipate your most likely
sales figures, allowing you to optimize your inventory management?
Contd..
Insights

This probability distribution gives you insights into your daily sales patterns.
For example, you're most likely to sell 20 cups on any given day (33.3%
chance), while selling 30 cups is the least likely outcome (3.3% chance).
Illustration of Probability Distribution
Probability Distribution
• Probability distributions are related to frequency distributions.
• Moreover, we can relate probability distribution to theoretical
frequency distribution.
• A theoretical frequency distribution is a probability distribution that
describes how outcomes are expected to vary.
• Because these distributions deal with expectations, they are useful
models in making inferences and decisions under conditions of
uncertainty
Examples of Probability Distributions

Experiment using a fair coin


POSSIBLE OUTCOMES FROM TWO TOSSES OF A FAIR COIN PROBABILITY DISTRIBUTION OF THE
POSSIBLE NUMBER OF TAILS FROM TWO
TOSSES OF A FAIR COIN
Examples of Probability Distributions (Contd..)

PROBABILITY DISTRIBUTION OF THE NUMBER OF TAILS IN TWO TOSSES OF A FAIR COIN


Practice Question

• A political candidate for local office is considering the votes she can
get in a coming election. Assume that votes can take only four possible
values. If the candidate’s assessment is like this:

Then the graph of probability distribution will be?


Solution

PROBABILITY DISTRIBUTION OF THE NUMBER OF VOTES


Frequency Distribution Vs. Probability Distribution

• Frequency distribution is a listing of the observed frequencies of all the


outcomes of an experiment that actually occurred when the experiment
was done.

Whereas,

• A probability distribution is a listing of the probabilities of all the


possible outcomes that could result if the experiment were done.
Condition of Probability Distribution

[X, p(X)] is said to constitute a probability distribution if:

1. X is a random variable

• A random variable is a function that assigns a numerical value to each outcome of


a random experiment. It can be discrete (taking on specific values) or continuous
(any value within a range).
• Random variables allow us to quantify and analyze the uncertainty in probabilistic
events mathematically.

2. p(x) > = 0
3. Σp(x) = 1.
Types of Probability Distribution

Types: discrete or continuous.


• In a discrete probability distribution, the variable under consideration is restricted
to take only a limited number of values, which can be listed.
Example: recall “number of votes graph” There, votes could take on only four
possible values (1,000, 2,000, 3,000, or 4,000).
Similarly, the probability that you were born in a given month is also discrete
because there are only 12 possible values (the 12 months of the year).
• In a continuous probability distribution, on the other hand, the variable under
consideration is allowed to take on any value within a given range, so we cannot
list all the possible values.
Example: Customer arrival at the store
Practice Question

• Based on the following graph of a probability distribution, construct


the corresponding table.
Practice Question (Contd..)

• Which of the following statements regarding probability distributions are correct?

1. A probability distribution provides information about the long-run or


expected frequency of each outcome of an experiment.
True. A probability distribution provides information about the long-
run or expected frequency of each outcome of an experiment. It
describes the likelihood of each possible outcome occurring in a
random experiment and summarizes how these outcomes are
distributed over many repetitions of the experiment.
Practice Question (Contd..)

• Which of the following statements regarding probability distributions are correct?

2. The graph of a probability distribution has the possible outcomes of an


experiment marked on the horizontal axis.
True. The graph of a probability distribution typically has the possible outcomes of an
experiment marked on the horizontal axis. This axis is often referred to as the x-axis,
and it represents the values or events that can occur in the experiment. The vertical
axis, which is usually labeled as the y-axis, represents the probabilities associated with
each of these outcomes. The graph visually displays the likelihood of each possible
outcome, allowing for a clear understanding of how probabilities are distributed
across the different events or values.
Practice Question (Contd..)

• Which of the following statements regarding probability distributions are correct?

3. A probability distribution lists the probabilities that each outcome is random.


False. A probability distribution does not list the probabilities that each outcome is
random. Instead, it provides information about the likelihood of each possible
outcome of a random experiment.
Practice Question (Contd..)
• Which of the following statements regarding probability distributions are correct?

4. A probability distribution is always constructed from a set of observed


frequencies like a frequency distribution.
False. A probability distribution is not always constructed from a set of observed
frequencies like a frequency distribution.

While probability distributions can be empirically derived from observed data in some
cases, they are also frequently used in theoretical and modeling contexts where the
probabilities are defined based on assumptions and mathematical principles rather
than observed frequencies. Common examples of probability distributions include
the normal distribution, binomial distribution, and Poisson distribution, all of
which are used in various fields to model random phenomena without relying on
observed data.
Practice Question (Contd..)

• Which of the following statements regarding probability distributions are correct?

5. A probability distribution may be based on subjective estimates of the likelihood of


certain outcomes.
True. A probability distribution may indeed be based on subjective estimates of the likelihood
of certain outcomes. This concept is often referred to as a subjective probability distribution.

In some situations, it's challenging to obtain objective data or historical frequencies to


construct a probability distribution. In such cases, individuals or experts may rely on their
own judgment, expertise, or subjective beliefs to estimate the probabilities associated with
various outcomes. These subjective estimates are then used to create a probability distribution
that reflects the best available knowledge or opinions.
Random Variable
• A variable is random if it takes on different values as a result of the outcomes of a
random experiment.
• A random variable can be either discrete or continuous. If a random variable is
allowed to take on only a limited number of values, which can be listed, it is a
discrete random variable.
• On the other hand, if it is allowed to assume any value within a given range, it is a
continuous random variable.
Types of Variable

Variable

Discrete Continuous
Example of Discrete Random Variable
Suppose that a coin is tossed twice, .
Let represent the number of heads that can come up.
With each sample point we can associate a number for e.g., in case of
, while for . It follows that
is a random variable.

 , , ,
Example of
Discrete
Random
Variables

Number of patient screened


by the doctor
Probability dist.
of number of
patient
screened by the
doctor
PROBABILITY DISTRIBUTION FOR
THE DISCRETE RANDOM VARIABLE
“DAILY NUMBER SCREENED”
Expected value of Random Variable

• Expected value is a fundamental idea in the study of probability distributions.


• The concept has been put to considerable practical use by the insurance industry.
• In the last 40 years, it has been widely used by many others who must make decisions
under conditions of uncertainty.
• To obtain the expected value of a discrete random variable, we multiply each value that
the random variable can assume by the probability of occurrence of that value and then
sum these products.
Example:
Expected Value
Insights
• The total in the table tells us that the expected value of the discrete random variable
“number screened” is 108.02 patients.

• What does 108.02 mean?

• It means that over a long period of time, the number of daily screenings should average
about 108.02. Note that an expected value of 108.02 does not mean that tomorrow
exactly 108.02 patients will visit the clinic.

• The clinic director would base her decisions on the expected value of daily screenings
because the expected value is a weighted average of the outcomes she expects in the
future.
Practice Question
Practice Question (Contd..)
Application of Expected Value in Decision Making
• Consider a case for fruits and vegetable wholesaler who sells strawberries. This product
has a very limited useful life. If not sold on the day of delivery, it is worthless.

• The wholesaler cannot specify the number of cases customers will call for any one day,
but her analysis of past records has produced the information below.

SALES DURING 100 DAYS


Application of Expected Value in Decision Making
(Contd..)

• Given:
One case of strawberries costs: $ 20
Wholesaler receives for one case: $ 50

• Two types of losses are incurred by the wholesaler:


(1) obsolescence losses, caused by stocking too much fruit on any one day and having to
throw it away the next day;
(2) opportunity losses, caused by being out of strawberries any time that customers call for
them. (Customers will not wait beyond the day a case is requested.)
Conditional Loss Table
Expected Loss from Stocking 10 Cases
Expected Loss from Stocking 11 Cases
Expected Loss from Stocking 12 Cases
Expected Loss from Stocking 13 Cases
Insight

• The optimal stock action is the one that will minimize expected losses.

• This action calls for the stocking of 12 cases each day, at which point the
expected is minimum at $17.50.
Expected Value Of Discrete Variables
• Expected Value (or mean) of a discrete
variable (Weighted Average):
N
  E(X)   x i P ( X  x i )
i 1

Interruptions Per Day In Probability


Computer Network (xi) P(X = xi) xiP(X = xi)
0 0.35 (0)(0.35) = 0.00
1 0.25 (1)(0.25) = 0.25
2 0.20 (2)(0.20) = 0.40
3 0.10 (3)(0.10) = 0.30
4 0.05 (4)(0.05) = 0.20
5 0.05 (5)(0.05) = 0.25
1.00 μ = E(X) = 1.40
Discrete Variables: Measuring Dispersion
• Variance of a discrete variable.
N
σ   [x i  E(X)]2 P(X  x i )
2

i 1

• Standard Deviation of a discrete variable.

N
σ  σ2   i
[x
i 1
 E(X)] 2
P(X  x i )

where:
E(X) = Expected value of the discrete variable X
xi = the ith outcome of X
P(X=xi) = Probability of the ith occurrence of X
Discrete Variables: Measuring Dispersion

N
σ  i
[x 
i 1
E(X)] 2
P(X  x i )

Interruptions Per
Day In Computer Probability
Network (xi) P(X = xi) [xi – E(X)]2 [xi – E(X)]2P(X = xi)
0 0.35 (0 – 1.4)2 = 1.96 (1.96)(0.35) = 0.686
1 0.25 (1 – 1.4)2 = 0.16 (0.16)(0.25) = 0.040
2 0.20 (2 – 1.4)2 = 0.36 (0.36)(0.20) = 0.072
3 0.10 (3 – 1.4)2 = 2.56 (2.56)(0.10) = 0.256
4 0.05 (4 – 1.4)2 = 6.76 (6.76)(0.05) = 0.338
5 0.05 (5 – 1.4)2 = 12.96 (12.96)(0.05) = 0.648
σ2 = 2.04, σ = 1.4283
Excercise: Find the expectation , variance and standard deviation
of each of the following distributions:
𝒙𝒊 2 3 11
p(𝑥 ) 1 1 1
3 2 6

𝒙𝒊 -5 -4 1 2
𝑝(𝑥 ) 1 1 1 1
4 8 2 8

𝒙𝒊 1 3 4 5
𝑝(𝑥 ) 0.4 0.1 0.2 0.3
Probability Distributions
Probability
Distributions

Discrete Continuous
Probability Probability
Distributions Distributions

Binomial Normal

Poisson Uniform
Binomial Probability Distribution
 A fixed number of observations, n.
 e.g., 15 tosses of a coin; ten light bulbs are taken from a warehouse.
 Each observation is classified into one of two mutually exclusive & collectively
exhaustive categories.
 e.g., head or tail in each toss of a coin; defective or not defective light bulb.
 The probability of being classified as the event of interest, π, is constant from
observation to observation.
 Probability of getting a tail is the same each time we toss the coin.
 Since the two categories are mutually exclusive and collectively exhaustive when the probability of the
event of interest is π, the probability of the event of interest not occurring is 1 – π .
 The value of any observation is independent of the value of any other observation.
Possible Applications for the Binomial
Distribution
• A manufacturing plant labels items as either defective or
acceptable.
• A firm bidding for contracts will either get a contract or not.
• A marketing research firm receives survey responses of “yes I
will buy” or “no I will not.”
• New job applicants either accept the offer or reject it.
The Binomial Distribution Counting
Techniques
• Suppose the event of interest is obtaining heads on the toss of a fair
coin. You are to toss the coin three times. In how many ways can you
get two heads?

• Possible ways: HHT, HTH, THH, so there are three ways you can
getting two heads.

• This situation is fairly simple. We need to be able to count the number


of ways for more complicated situations.
Counting Techniques: Rule of Combinations

• The number of combinations of selecting x objects out of n objects is:

n!
n Cx 
x!(n  x)!
where:
n! =(n)(n - 1)(n - 2) . . . (2)(1)
x! = (X)(X - 1)(X - 2) . . . (2)(1)
0! = 1 (by definition)
Counting Techniques: Rule of Combinations
• How many possible 3 scoop combinations could you create at an ice cream parlor
if you have 31 flavors to select from and no flavor can be used more than once in
the 3 scoops?
• The total choices is n = 31, and we select X = 3.

31! 31! 31  30  29  28!


31 C 3     31  5  29  4,495
3!(31  3)! 3!28! 3  2  1  28!
Binomial Distribution Formula
n! x n- x
P(X=x |n,π) = π (1-π)
x! (n - x )!

P(X=x|n,π) = probability that X = x events of


interest, given n and π
Example: Flip a coin four
x = number of “events of interest” in sample,
times, let x = # heads:
(x = 0, 1, 2, ..., n)
n=4
n = sample size (number of trials
or observations) π = 0.5
π = probability of “event of interest” 1 - π = (1 - 0.5) = 0.5
1 – π = probability of not having an X = 0, 1, 2, 3, 4
event of interest
Example: Calculating a Binomial Probability
What is the probability of one success in five
observations if the probability of an event of interest is
0.1?
x = 1, n = 5, and π = 0.1

n!
P(X  1 | 5,0.1)   x (1   ) n  x
x!(n  x)!
5!
 (0.1)1 (1  0.1)51
1!(5  1)!
 (5)(0.1)(0.9) 4
 0.32805
The Binomial Distribution: Example
Suppose the probability of an invoice payment being
late is 0.10. What is the probability of 1 late invoice
payment in a group of 4 invoices?
x = 1, n = 4, and π = 0.10

n!
P(X  1 | 4, 0.10)   x (1  ) n  x
x!(n  x)!
4!
 (0.10)1 (1  0.10) 41
1!(4  1)!
 (4)(0.10)(0.729)
 0.2916
The Binomial Distribution Using Binomial Tables
(Available Online)

https://www.statology.org/how-to-read-binomial-distribution-table/
The Binomial Distribution: Shape
• The shape of the binomial
P(X=x|5, 0.1)
distribution depends on the .6
values of π and n. .4
.2
 Here, n = 5 and π = 0.1. 0
0 1 2 3 4 5 x

P(X=x|5, 0.5)
.6
.4
 Here, n = 5 and π = 0.5. .2
0
0 1 2 3 4 5 x
Binomial Distribution Characteristics

• Mean: μ  E(X)  n

 Variance and Standard Deviation:

σ 2  n (1 -  )

σ  n (1 -  )
Where n = sample size
π = probability of the event of interest for any trial
(1 – π) = probability of no event of interest for any trial
Practice Question
Practice Question

You might also like