Discrete Probability Distribution
Discrete Probability Distribution
Discrete Probability Distribution
Probability
Distribution
GROUP 2
Topic Outline
Random Variables
Cumulative Distribution
Expected Values of Random Variables
The Binomial Distributions
The Poisson Distribution
Random Variables
B A N C AYA O N , H YA C I N T H E V E
B A U T I S TA , O D Y S S E Y A M O R
Random Variables
A random variable is a variable that assumes numerical values
associated with the random outcome of an experiment, where one
(and only one) numerical value is assigned to each sample point.
Two Types of Random Variables
A discrete random variable can assume a countable number of
values.
A continuous random variable can assume any value along a given
interval of a number line. The time a tourist stays at the top once s/he
gets there
Two Types of Random Variables
A random variable is discrete if it has a finite or countable number of
possible outcomes that can be listed.
x
0 2 4 6 8 10
A random variable is continuous if it has an uncountable number or
possible outcomes, represented by the intervals on a number line.
x
0 2 4 6 8 10
6
Two Types of Random Variables
Discreet Random Continuous Random
Variables Variables
Number of sales Length
Number of calls Depth
Shares of stock Volume
People in line Time
Mistakes per page Weight
Probability Distribution for Random Variables
It describes how the probabilities are distributed over the values of the
random variable.
Examples:
A diagram (Probability Tree)
A table
A graph
A mathematical formula
Examples
Example 1:
Random variable X is the number on the top face of a die when
it is rolled once.
X = 1, 2, 3, 4, 5, and 6.
the probability of each of these values of X is 1/6.
P(X=3) = 1/6, and so is the probability of having 4, 2, 5 or any
number on all six faces of a die.
Examples
Example 2:
Random variable Z is the number of tails after 3 flips of a fair coin.
possible values we could get:
HHH, HHT, HTT, HTH, THT, TTH, THH, TTT
P(Z=O) = 1/8 Note: The sum of all probabilities must equal to 1.
P(Z=1) = 3/8
P(Z=2) = 3/8
P(Z=3) = 1/8
Cumulative Distribution Functions
BORJA, KYLE KEVIN
B U H AY, E R O L J O S E P H
Cumulative Distribution Functions
The cumulative distribution function (CDF) of a random variable is a method
to describe the distribution of random variables. The advantage of the CDF is
that it can be defined for any kind of random variable (discrete and
continuous).
CDF are commonly used to calculate the area under the curve to the left from
a point of interest. It is used to evaluate the accumulated probability. For
continuous distribution, the probability is equal to the area under the curve.
Cumulative Distribution Functions
The cumulative distribution function (cdf) of a random variable ‘x’ is defined as the
probability that the variable takes a value less than or equal to x.
3.As the real value of the variable increases, the value of the
dependent variable also increases.
FX(x1) ≤ FX(x2) if x1 ≤ x2
CDF for Discrete Random Variables
If ‘X’ is a discrete random variable, then it takes on values at discrete points.
Suppose: X = {
Example 1:
P(X=x) = ∈{1, 2, 3, 4, 5}
P(X≤3) =
That’s: P(X≤3)=P(X=1)+P(X=2)+P(X=3)
P(X≤3) =
P(X=x) =
P(2<X≤4) =
P(X≤3) = =
The cumulative distribution function for continuous random variables is just a straightforward
extension of that of the discrete case. All we need to do is replace the summation with an
integral.
=
Example
A continuous probability function is given by defined in the domain
[1, 4] where for all other x.
Equal to
Expected Values of Random Variables
BARRIOS, LEVI BRIAN
BORJA, JENECA MAE
Probability Distributions for Discrete Random Variables
A discrete probability distribution lists each possible value the
random variable can assume, together with its probability. Thus,
a discrete probability distribution is often presented in tabular
form.
0 P (x) 1
ΣP (x) = 1
26
Probability Distributions for Discrete Random Variables
Example:
1
The spinner is divided into two sections. The
probability of landing on the 1 is 0.25. The 2
Example:
The spinner below is spun two times. The probability of
landing on the 1 is 0.25. The probability of landing on the
2 is 0.75. Let x be the sum of the two spins.
1
The possible sums are 2, 3, and 4.
2
P (sum of 2) = 0.25 0.25 = 0.0625
Discrete Probability Distribution
Example continued:
P (sum of 3) = 0.25 0.75 = 0.1875
1
2 “or”
Sum of
P (x)
spins, x
2 0.0625
3 0.375
4
0.1875 + 0.1875
Discrete Probability Distribution
Example continued:
Sum of
P (x)
spins, x
2 0.0625 Each probability is between 0 and 1,
3 0.375
4 and the sum of the probabilities is 1.
0.5625
Discrete Probability Distribution
Example:
Graph:
Sum of P(x)
P (x) Sum of Two Spins
spins, x 0.6
2 0.0625
0.5
3 0.375
4 0.5625 0.4
Probability
0.3
0.2
0.1
0 x
2 3 4
Sum
Expected Values of Discrete Random
Variables
The variance of a discrete random variable is given by:
The formula means that we take each value of x, subtract the expected value, square that value
and multiply that value by its probability. Then sum all of those values.
The formula means that first, we sum the square of each value times its probability then subtract
the square of the mean. We will use this form of the formula in all of our examples.
Expected Values of Discrete Probability Distribution
The mean of a discrete random variable is given by
μ = ΣxP(x).
Example:
Find the mean of the probability distribution for the sum of the two
spins.
x P (x) xP (x)
2 0.0625 2(0.0625) = 0.125 ΣxP(x) = 3.5
3 0.375 3(0.375) = 1.125 The mean for the two
4 0.5625 4(0.5625) = 2.25 spins is 3.5.
Expected Values of Discrete Probability Distribution
The variance of a discrete random variable x is
Find the variance of the probability distribution for the sum of the two spins. The mean is 3.5.
Example:
Find the standard deviation of the probability distribution for the
sum of the two spins. The variance is 0.376.
x P (x) x–μ (x – μ)2 P (x)(x – μ)2
2 0.0625 –1.5 2.25 0.141
3 0.375 –0.5 0.25 0.094 Most of the sums differ
from the mean by no
4 0.5625 0.5 0.25 0.141
more than 0.6 points.
Expected Values of Discrete
Random Variables
$99
$49
0 0.1 = 2.1
1 0.15
2 0.4 𝑛𝑜 . 𝑜𝑓 𝑤𝑜𝑟𝑘𝑜𝑢𝑡𝑠 𝑖𝑛𝑎 𝑤𝑒𝑒𝑘
3 0.25
4 0.1
38
Example
Suppose 60% of Filipino adults approve of the way the president is handling the job.
◦ Randomly sample 2 Filipino adults.
◦ Let x represent the number that approve
39
X 0 1 2
E(x) = all x
Variance
2 2
𝐸 [ ( 𝑥−𝜇 ) ] =∑ ( 𝑥− 𝜇 ) 𝑝(𝑥)
= · 0.16 + · 0.48 + · 0.36
= 0.48
= 0.48 or
40
Binomial Distribution
C A N D I A , N O R M E LY N
CAÑO, REESE
Binomial Distribution
A binomial distribution can be thought of as simply the probability of a
SUCCESS or FAILURE outcome in an experiment or survey that is repeated
multiple times.
For example, a coin toss has only two possible outcomes: heads or tails and
taking a test could have two possible outcomes: pass or fail.
Binomial Distribution
• The first variable in the binomial formula, n, stands for the number
of times the experiment runs.
• The second variable, p, represents the probability of one specific
outcome.
Binomial Distribution
Binomial distributions must also meet the following three criteria:
*Once you know that your distribution is binomial, you can apply
the binomial distribution formula to calculate the probability.
The binomial distribution formula is:
Where:
x = total number of “successes” (pass or fail, heads or tails etc.)
n = number of trials
p = probability of a success on an individual trial
q = probability of a failure on an individual trial
Example 1:
Given:
n = 12 p = 1/6
x=5 q = 5/6
Solution:
P(5) = 792(⅙)⁵(⅚)
12-5
= 792(⅙)⁵(⅚)⁷
= 0.028425(100%)
= 2.84%
Poisson Distribution
A B O R D O , H A RV E Y K I E T H
Poisson Distribution
Poisson probability distribution is used in situations where events
occur randomly and independently a number of times on average
during an interval of time or space.
λ = average/ mean
= is an integer taking values over the interval [0,∞)
Examples and Solutions
1. My computer crashes on average once every 4 months;
a.
b.
c.
Examples and Solutions
Examples and Solutions
2. A customer help center receives on average 3.5 calls every hour.
a.
Examples and Solutions
b.
Examples and Solutions
3. A person receives on average 3 e-mails per hour.
a.
Examples and Solutions
b.
Examples and Solutions
PMF Plot per 1 hour PMF Plot per 2 hours