Lesson 2midterm 2ndsem
Lesson 2midterm 2ndsem
Distribution
LESSON 2
Mr. Renell M.
Objectives:
Illustrate the mean and variance of a discrete variable;
R 3 2 1 0
P(R) 1/8 3/8 3/8 1/8
Example 2:
A fair coin is tossed twice. Let H be the number of
heads that are observed.
“at least one head” it means that , so we must add the random
variable 1 and 2.
𝟏 𝟏 𝟑
+ =
𝟐 𝟒 𝟒
So, the probability of getting at least one head is 3/4.
Example 2:
3. Construct probability Histogram of the probability distribution of H.
Random Variable H
0.6
0.5
0.5
0.4
0.3
0
0 1 2
Example 3:
Finding the discrete probability distribution
described by a formula.
X P(X)
0 1/7
1 2/7
3 4/7
Example 3:
Solutions:
X P(X)
0 1/7
1 2/7
3 4/7
Mean and Variance of a
Discrete Probability
Distribution
Mr. Renell M.
Mean of a Discrete Probability Distribution
To find the mean or the expected value E(X) of a
discrete probability distribution, we use the following
formula.
Where;
= mean
= value of the random variable
= probability value of the random variable
Example 1:
Find the mean of the discrete random variable X with
the following probability distribution.
X P(X)
3 1/8
2 3/8
1 3/8
0 1/8
Example 1:
Find the mean of the discrete random variable X with
the following probability distribution.
STEP 1: Multiply the value of X by its corresponding
probability value P(X).
X P(X) P(X)X
3 1/8 3/8
2 3/8 6/8
1 3/8 3/8
0 1/8 0
Example 1:
STEP 2: Find the mean of the probability distribution by
getting the sum of the values under the third column.
X P(X) P(X)X
3 1/8 3/8
2 3/8 6/8
1 3/8 3/8
0 1/8 0
12/8 or 3/2
Variance:
Standard Deviation:
Where;
= mean
= value of random variable
= probability value of random variable
= variance
= standard deviation
Example 2:Variance and Standard Deviation
Find the variance and the standard deviation of the
discrete random variable X with the following
probability distribution.
X P(X)
2 1/4
1 1/2
0 1/4
Example 2:Variance and Standard Deviation
STEP 1: Find the mean of the probability
distribution.
X P(X) X*P(X)
2 1/4 1/2
1 1/2 1/2
0 1/4 0
2 1/4 1/2 1
1 1/2 1/2 0
0 1/4 0 -1
1
Example 2:Variance and Standard Deviation
STEP 3: Square the answers obtained from the
column four.
X P(X) X*P(X)
2 1/4 1/2 1 1
1 1/2 1/2 0 0
0 1/4 0 -1 1
1
Example 2:Variance and Standard Deviation
STEP 4: Multiply the column five to the column two.
After that, get the summation.
P(X) X*P(X)
1 1/2 1/2 0 0 0
0 1/4 0 -1 1 1/4
1 1/2
Example 2:Variance and Standard Deviation
Solution: Final Answer
The variance is:
2.666
Example 3:Variance and Standard Deviation
STEP 3: Square the answers obtained from the column
four.
X P(X) X*P(X)
2.666
Example 3:Variance and Standard Deviation
STEP 4: Multiply the column five to the column two.
After that, get the summation.
X P(X) X*P(X)
2.666 1.836444
Example 3:Variance and Standard Deviation
Solution: Final Answer
The variance is: