Random Probability Distribution
Random Probability Distribution
AND
PROBABILITY DISTRIBUTIONS
Prepared by:
VARIABLE
A numerical quantity that is assigned to the outcome of
Lesson.1
an experiment.
A variable that assumes numerical values associated with
the events of an experiment.
A quantitative variable whose value depends on
change.
A variable whose possible values are determined by
chance.
To determine the values of the random variable in an
experiment, follow these steps:
a. List sample space of the experiment.
b. Count the number of random variable in each outcome
and assign this number to this outcome.
EXAMPLE 1.
Supposed two coins were tossed and we are interested to determine the
number of heads that will come out. Let us use H to represent the Lesson.1
number of heads that will come out. Determine the values of the random
variable H.
Step 1. List the sample space of the experiment.
S = { HH, HT, TH, TT }
Step 2. Count the number of heads in each outcome and assign this
number to this outcome.
Outcome Number of Heads ( value of H )
HH 2
HT 1
TH 1
TT 0
The values of the random variable R ( number of ripe bananas ) in this experiment are
0 , 1 , 2 , and 3.
A RANDOM VARIABLE MAY BE CLASSIFIED
AS DISCRETE OR CONTINUOUS Lesson.1
ΣP(X) = 1
2. P( X > 1 )
3. P( X < 1 )
Solution
To determine if the formula describes a probability, substitute the
values of the random variables in the formula to get the
corresponding probability values.
X P(X)
0 1/7
1 2/7
3 4/7
EXAMPLE 2
Lesson.2
Conclusion
The formula gives a probability distribution because
0 < P(X) < 1 where X = 0,1,3. Likewise, The sum of all the
probability values is equal to one.
1. P(X = 3) = 4/7
2. P(X>1) = P(1) + P(3)
= 2/7 + 4/7
= 6/7
3. P(X<1) = P(0) + P(1)
= 1/7 + 2/7
= 3/7
EXAMPLE 3
Construct the probability histogram of the probability distribution of
the number of ripe bananas, from example 1. Lesson.2
Probability Distribution of the number of Ripe Bananas.
R 3 2 1 0
Probability Histogram
0 1 2 3
LESSON 2 TEST
1. Suppose two coins were tossed and we are interested to Lesson.2
determine the number of heads that will come out with
this experiment. Use H to represent the number of
heads that will come out. Determine the values of the
random variable.
2. A meeting of consuls was attended by 4 Americans
and 2 Germans.
a. If three consuls were selected at random, construct the
probability distribution of the random variable G
representing the number of Germans.
b. Construct the probability histogram.
Lesson 3
MEAN AND VARIANCE OF A DISCRETE
PROBABILITY DISTRIBUTION
Lesson.3
Mean
Expected value of X. E(X)
It is the weighted average of all the values that the random variable X would
assume in the long run.
Denoted by µ(mew).
Variance
The measure of how far a data set is spread out.
The expected value of the square of the difference between the assumed value
of the random variable and the mean.
Denoted by σ^2 or Var(X)
Standard Deviation
It indicates how far, on the average, an observed value of a random variable X
is from its mean.
The smaller the standard deviation, the more likely that an observed value of
the random variable will be close to its mean.
Denoted by σ(lowercase sigma)
FORMULAS
Mean
µ = E(X) = Σ [ X*P(X) ]
Where: Lesson.3
µ = Mean
X = value of the random variable
P(X) = Probability value of the random variable
Variance
Var(X)/σ^2 = E(X) = Σ [ X^2*P(X) ] - µ^2
Where:
µ = Mean
X = value of the random variable
P(X) = Probability value of the random variable
σ^2 = Variance
Standard Deviation
σ = √(Σ [ X^2*P(X) ] - µ^2)
Where:
µ = Mean
X = value of the random variable
P(X) = Probability value of the random variable
σ = Standard Deviation
EXAMPLE
Find the mean, variance and standard deviation of the discrete random
variable X with the following probability distribution.
Lesson.3
X P(X)
2 ¼
1 ½
0 ¼
STEP 1
Find the mean.
X P(X) X*P(X)
2 ¼ ½
1 ½ ½
0 1/4 0
µ = E(X) = Σ [ X*P(X) ]
=½+½+0
=1 Mean
EXAMPLE
STEP 2
Find the variance.
Lesson.3
X P(X) X*P(X) X^2 * P(X)
2 ¼ ½ 1
1 ½ ½ ½
0 1/4 0 0
STEP 3
Find the standard deviation
Notes:
1. The mean or expected value of a probability distribution tells the
value of the random variable that we expect to get if the experiment is
done repeatedly.
Questions
1. What is the probability that exactly four tellers are busy at 12:00 noon?
2. What is the probability that at least two, but fewer than five tellers are
busy at 12:00 noon?
3. What is the mean and standard deviation of the probability distribution?
EXAMPLE
In a convenient store, the number of tellers (X) busy with costumers
at 12:00 noon varies from day to day. Past records indicate that the Lesson.4
probability distribution of X is as follows:
Solutions
P( X = 4 ) = 0.212
2. What is the probability that at least two, but fewer than five tellers are
busy at 12:00 noon?
0 0.41
1 0.22
2 0.17
3 0.13
4 0.05
5 0.02
Questions
1. What is the probability that a market inspector will discover, at least,
two violations of the public health code?
2. What is the probability that a market inspector will discover, at most,
three violations of the public health code?
3. What is the mean and standard deviation of the probability distribution?
OTHER DISCRETE PROBABILITY DISTRIBUTION
Discrete Uniform Distribution
A random variable has a discrete uniform distribution when all the Additional
values of the random variable are equally likely, that is they have
equal probabilities.
Example
When a fair die is thrown, the possible outcomes are 1,2,3,4,5 and
6. Each time the die is thrown, it can roll on any of these numbers.
Since there are six numbers, the probability of a given scores is 1/6 .
X 1 2 3 4 5 6
Formulas:
P(X) 1/6 1/6 1/6 1/6 1/6 1/6
Mean = (N + 1)/2
Variance = (N^2 – 1)/12
Standard deviation = √(N^2 – 1 )/12
OTHER DISCRETE PROBABILITY DISTRIBUTION
Bernoulli Distribution
Named after the Swiss Mathematician Jacob Bernoulli, is a Additional
probability distribution of a random variable x with only two
possible outcomes, 1 and 0, that is success and failure. If the
probability of the success is p then the probability of failure is q = 1
– p.
The Bernoulli Distribution with parameter p where 0 < p < 1 , has
the following probability mass function.
written as: P(X=x) = p^x ( 1 – p )^1 – x , for x = 0,1
where: p = probability of success
1 – p = probability of failure
Formulas:
Mean = p
Variance = pq = p ( 1 – p )
Standard deviation = √pq = √p( 1 – p )
OTHER DISCRETE PROBABILITY DISTRIBUTION
Bernoulli Distribution
Example Additional
Formulas
P(x) = ( n! / x!(n-x)! )p^x q^n – x
where:
n = number of binomial trials
x = number of successes among n trials
p = probability of success in one of the n trials
q = 1 – p = probability of failure in one of the n trials
Mean = np
Variance = npq
Standard Deviation = √npq
OTHER DISCRETE PROBABILITY DISTRIBUTION
Binomial Probability Distribution
Example
Additional
Experience has shown that 1/100 of the USB flash drives produced by a
certain factory are defective. If a test is randomly done on 12 USB flash
drives, compute:
a. P( at most 2 are defective )
The probability of having at most 2 defective is equal to having the sum of the
probabilities of getting no defective up to getting 2 defectives.
Solution:
P(0) = [ 12! / 1!(12-1)! ] (1/100)^0 (99/100)^12
= 0.886384872 or 0.8864
P(1) = [ 12! / 1!(12-1)! ] (1/100)^1 (99/100)^11
= 0.107440591 or 0.1074
P(2) = [ 12! / 1!(12-1)! ] (1/100)^2 (99/100)^10
= 0.005968922 or 0.0060
P( at most 2 are defective ) = P(0) + P(1) + P(2)
= 0.8864 + 0.1074 + 0.0060
= 0.9998
OTHER DISCRETE PROBABILITY DISTRIBUTION
Discrete Uniform, Bernoulli, Binomial Distribution TEST
Additional
1. Find the mean, variance and standard deviation of the following .
X 1 2 3 4 5
P(x) 1/5 1/5 1/5 1/5 1/5
but not the ratio between them. In this level, zero,(0) does not
mean total absence of what is being measured.
Example
Temperature in Celsius Scale
Ratio level
In this level, data such as scores can be expressed as ratio. In
ratio level, zero(0) has an actual or true value. Most
measurement in engineering and physical sciences are in
ratio level.
Example
Mass is measured in ratio scales.
Length is also measured on ratio scale.
LEVEL OF MEASUREMENT
Topic Test
Tell what kind of measurement scale is appropriate for the Extra
following information.
1. Eye color
2. Gender
3. Race
4. Religious Affiliation
5. Weights of basketball players
6. Weight of students
7. Scores in a probability and statistics test
8. Speed of sound
9. Top ten in the nursing board examination
10. Grades
11. Sizes of shoes
12. Sizes of T- shirts
THANK YOU FOR YOUR
COOPERATION!!
GOODLUCK!!!! AND GODBLESS!!!!!