[go: up one dir, main page]

0% found this document useful (0 votes)
83 views16 pages

Stat 2020-2021 Module 1 Lecture

This document contains information about a statistics and probability class at Northeastern Mindanao Academy in the Philippines. The class covers discrete probability distributions over one quarter. The teacher, Mr. Edwin Bolleser, provides his contact information. The class will cover topics like random variables, probability distributions, mean, and variance. Random variables can take discrete or continuous values depending on whether they are obtained by counting or measurement. Discrete random variables have countable values while continuous have uncountable values. The range space is the set of all possible values a random variable can take. Examples are provided to illustrate discrete versus continuous random variables and finding the range space.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views16 pages

Stat 2020-2021 Module 1 Lecture

This document contains information about a statistics and probability class at Northeastern Mindanao Academy in the Philippines. The class covers discrete probability distributions over one quarter. The teacher, Mr. Edwin Bolleser, provides his contact information. The class will cover topics like random variables, probability distributions, mean, and variance. Random variables can take discrete or continuous values depending on whether they are obtained by counting or measurement. Discrete random variables have countable values while continuous have uncountable values. The range space is the set of all possible values a random variable can take. Examples are provided to illustrate discrete versus continuous random variables and finding the range space.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

1

Northeastern Mindanao Academy


Los Angeles Butuan City

Mathematics 11- Statistics and Probability


First Quarter 2020-2021

Statement of Vision
Northeastern Mindanao Academy has greatly envisioned to transform the students, into
exemplary citizens and leaders by providing them with physical, mental, social and spiritual trainings.

Statement of Mission
By making Christ the Bedrock of Education, Northeastern Mindanao Academy is committed to
prepare the students for higher academic pursuits by consistently providing enhanced learning
experiences that will promote the maximum development of the mind, body, and soul. And to inspire
them to gain the highest possible capacity for usefulness and service in the life that now is and in the
life of the better world.

Statement of Philosophy
Northeastern Mindanao Academy conforms to the Seventh-day Adventist belief that the
students are God’s heritage and their teachers as His servants. Their school in all level adheres the
commission to educate the young for a true knowledge of God and experience His companionship in
study and service. To put in effect the Divine Plan “to restore in man the image of God.”
Secondly, the school seeks to train and prepares students for life-work and become better
citizens to meet the challenges of nation building.
Thirdly, students are expected to share with others what has been learned and experienced
during the entire stay in school.

Mr. Edwin C. Bolleser Cellphone Numbers: email address:


Teacher Globe- 0917 552 0137 eduinbolls@yahoo.com
Smart- 09182005836

to our Statistics & Probability class! Enjoy as we learn together. Have fun!

Module 1 – Discrete Probability Distribution

Objectives: At the end of the unit, I can:

1. illustrate a random variable (discrete and continuous).


2. distinguish between a discrete and a continuous random variable.
3. finds the possible values of a random variable.
4. illustrate a probability distribution for a discrete random variable and its properties.
5. construct the probability mass function of a discrete random variable and its
corresponding histogram.
6. compute probabilities corresponding to a given random variable.
7. illustrate the mean and variance of a discrete random variable
8. calculate the mean and variance of a discrete random variable.
9. Interpret the mean and the variance of a discrete random variable.
10. Solve problems involving mean and variance of probability distributions.
2

Introduction:
Life is full of uncertainties and surprises. Decision making is very important skill that we should
possess nowadays. Every day, we face many situations that need an immediate and sensible
decision. If you decide whether or not to take a certain college degree, you should consider many
factors. Or you want to know if whether or not to buy a certain product after knowing the history of
the company that manufactured it. These events and situations in real life can be better decided only
with careful choices-choices that can be made with precise anticipation of chances.
Probability is the body of knowledge that focuses on activities that involve predicting chances
and quantifying the randomness of events. In this unit, we will provide you with modules that will
allow you to appreciate the importance of probability.

Random Variables

A random event, like drawing a face card in a standard deck, always gives a random
outcome. Most of the time, when a random event is taken under consideration, the focus is
not on the outcome itself but on several factors that may affect the outcome. For example,
in the same event of drawing a face card in a standard deck of cards, you are more
interested in the number of times a face card appears after 10 draws instead of the actual
outcome of getting the card. This is because you know that the outcome in each trial
changes, considering you have 52 different cards. This situation illustrates the concept of a
random variable.
A random variable, is also called a stochastic variable, is a rule that assigns a numerical
value or characteristic to an outcome of an experiment. It is essentially a variable, usually
denoted as X or any capital letter of the alphabet, because its value is not constant – it
assumes different values due to chance. For example, a die is rolled five times and a random
variable X is assigned as the number of times a “6” appears. The random variable X can take
on the values 0, 1, 2, 3, 4, and 5 as the outcome may vary from trial to trial.
Generally, there are two categories of random variables: discrete and continuous random
variables. A discrete random variable takes on countable number of distinct values, which
are whole numbers such as 0, 1, 2, 3, 4, 5, … while a continuous random variable assumes
an infinite number of possible values including the decimals between two counting
numbers. For a quick comparison, the values of a discrete random variable are basically
“counts” and those of a continuous random variable are “measurements.”

Definition of Terms
A random variable, which is usually written using a capital letter, is a variable that
assigns a numerical value to each outcome of a random event. It can be classified as discrete
or continuous depending on whether the value is obtained by counting or by measurement.
Range Space is the set of all values possible for a given random variable.

Example 1: Discrete vs. Continuous Random Variables

a) A fair coin is tossed thirty times and the number of times X that a tail appears is a
discrete random variable since its possible values may be determined by counting,
i.e., 0, 1, 2, 3, 4, …, 30.
Note: A coin has two sides, the head and the tail. When you toss a coin, the result
3

may be a head or a coin. If it is a head, hence the X=0. The value of X= 0,1,2,3,..30
are the possible values of tails.
b) A machine is run and the recorded time it starts to experience a glitch Y illustrates a
continuous random variable since the value of the variable may be assigned using
measurement.

As mentioned earlier, a random variable may take in different values depending on the
outcome of
each trial. Now, the set of all values possible for a given random variable is called the range space.

Example 2: When two fair coins are tossed and the random variable X is defined as the number of
heads that
appear. Find the range space.

Solution:
Let us review our tree diagram:

1st coin 2nd coin Outcome Range Space


H H (H,H) 2
T (H,T) 1
T H (T,H) 1
T (T,T) 0

In the range space, 2 indicates that there are two heads; 1 means 1 head, 0 means no head.
There should be no repetition of outcomes in the range space. There are two 1’s but we only write
only 1 in the range space.
Hence, the range space= {0, 1, 2}. in tossing two fair coins. Do not forget to write your brace { }.

Example 3: When two fair coins are tossed and the random variable X is defined as the number of
tails that
appear. Find the range space.

Solution:
Based on the tree diagram or range space= {0, 1, 2}. 0 means no tail or (H,H), 1 means 1 tail or
(H,T), (T,H)(no repetition is allowed in the range space), and 2 means (T,T).

Identifying the range space allows you to find the possible values of a random variable. The
value of a
random variable X at a specific outcome x, is usually denoted by X(xi).
4

Example 4: A pair of dice is thrown and the random variable Y is defined such that Y gives the sum of
the two numbers that appear. Determine the following:

a) Range space c. Y (4, 6)


b) Y (3, 2) d. Y (1, 3)

Solution:
Second Die
F 1 2 3 4 5 6
I 1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
R
S
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
T 3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
4 (4,1) (1,2) (4,3) (4,4) (5,5) (6,6)
D
I 5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
e 6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)

The outcome (3,2) means 3 is the outcome of the first die and 2 is the outcome of the second die.

a) Range space.
Take note: Y is defined such that Y gives the sum of the two numbers that appear. Meaning
we will add the two numbers like (1,1) means 2; (1,2) means 3, and so on and so forth. Hence,
your range space is the set of all possible sums. Range space= { 2,3,4,5,6,7,8,9,10,11,12}.

b) Y(3,2)
Y = 3+2=5 It is defined as the sum of two numbers.

c) Y(4,6)
Y= 4+6= 10 It is defined as the sum of two numbers.

d) Y(1,3)
Y= 1+3= 4 As defined, add the two numbers.

Discrete Probability Distribution


In the study if random events, you should be interested not only in determining the
possible value of a random variable but also in the probability that the variable will assume
that particular value.
If you have a random variable and you know all the possible values that the variable can
take on, you can easily determine the probability that the random variable will have a
particular value. Consider the example below.

Example 5: Consider the random event of tossing four coins and the variable X gives the number of
heads that
appear. Construct a probability distribution table.
Solution:
There are 16 possible outcomes. You may use a tree diagram or a table as shown below.

HHHH HTHH THHH TTHH


HHHT HTHT THHT TTHT
HHTT HTTH THTH TTTH
HHTT HTTT THTT TTTT

Step 1: We let X as the variable that gives the number of heads that appear. Our range space is:
{0, 1, 2, 3, 4}. (note: 0 means no head or (TTTT), 1 means (HTHH), etc.)
5

Step 2: Compute for the probability of X.


𝑛(𝐸)
P(E) = The formula of the probability of an event P(E) , where n(E) is the number of
𝑛(𝑆)
the element in the event and n(S) is the number of the elements in the
sample space. In this case your sample space is 16.

Compute for the probability of the range space:

𝑛(𝐸)
For X= 0: P(E) = 𝑛(𝑆) For 0: it means no head/s that appear or (TTTT). There is only 1 of this
kind.
1
P(0) = 16 Hence, n(E) = 1 and n(S) = 16.
P(0) = 0.0625 Simplify. Which means 6.25% probability that no head will appear (to
Change decimal to percent, move 2 decimal places to the right and
affix the percent sign).

𝑛(𝐸)
For X=1: P(E) =
𝑛(𝑆)

4
P(1) = For 1: means there is only 1 head that appears. In this case: (HTTT), (THTT),
16
(TTTH), and (TTHT). So, n(E) = 4.

1
P(1) = = 0.25 Simplify. Which means 25% probability that 1 head will appear.
4

𝑛(𝐸)
For X=2: P(E) =
𝑛(𝑆)
6
P(2) = = 0.375 For 2: means there are two heads that appear. In this case: ((HHTT), (HTHT),
16
(HTTH), (THHT), (THTH), and (TTHH). So, n(E)= 6. Which means 37.5%
probability that 2 heads will appear.

𝑛(𝐸)
For X=3: P(E) = For 3: means there are three heads that appear. In this case: (HHHT), (HHTH),
𝑛(𝑆)
(HTHH), and (THHH). So, n(E) = 4.
4
P(3) = = 0.25 Simplify. Which means 25% probability that 3 heads will appear.
16

𝑛(𝐸)
For X=4: P(E) = For 4: means there are 4 heads that appear. In this case: (HHHH). Hence,
𝑛(𝑆)
n(E) = 1

1
P(4) = =0.0625 Simplify.
16

After you are done finding its probability, you construct a probability distribution table as shown below.

Number of heads (X) 0 1 2 3 4


Probability P(X) 0.0625 0.25 0.375 0.25 0.0625

This table is called a probability distribution which is also known as probability mass function.

A probability distribution, also known as probability mass function, is a table that gives a list
of probability values along with their associated value in the range of a discrete random variable.
6

Note from the previous probability mass function that the following properties are
observed given that p, are the individual probabilities for each value (xi) of the random
variable:
1. Each probability value ranges from 0 to 1, in symbols, 0 ≤ pi ≤ 1.
2. The sum of all the individual probabilities in the distribution is equal to 1: thus,
p1 + p2 + p3 + … + pn = ∑𝑛𝑖=1 𝑝I = 1.
Also, note that like any other statistical distribution, a probability mass function may be
graphed using a histogram in which the horizontal axis represents the values of the random
variable X and the vertical axis gives the corresponding probabilities, P(X). For example,
below is the related histogram of the random variable X (showing a head after tossing four
coins).

Hence, in example 5 the sum of all the individual probabilities in the distribution is equal to 1 as shown
below.
0.0625 + 0.25 + 0.375 + 0.25 + 0.0625 = 1

Below is the histogram of the random variable X (showing a head after tossing four coins).

Probability of Showing a Head After Tossing 4


Coins
0.4

0.35

0.3
Probability

0.25

0.2

0.15

0.1

0.05

0
0 1 2 3 4
Number of Heads

Example 6: A card is drawn from a deck of 20 cards (i.e., all the cards numbered 1 to 5 in a standard
deck) and the random variable W gives the number on the card. Construct the probability
mass function and its corresponding histogram.

Solution:
The range space is the set {1, 2, 3, 4, 5). The number of sample space is 20. To solve for the
individual probability, use the formula
𝑛(𝐸)
P(E) = 𝑛(𝑆) Where n(S)= 20.

4 1
P(W = 1) = = 5 = 0.2 P(W=1) means how many 1’s in the deck of
20
cards. There are four. See the table below.
7

4 1
P(W = 2) = = = 0.2 P(W=2) means how many 2’s. There are
20 5
four 2’s .

4 1
P(W = 1) = = = 0.2 The deck of cards below:
20 5
4 1
P(W = 2) = = = 0.2 1 2 3 4 5
20 5
4 1 1 2 3 4 5
P(W = 1) = = = 0.2
20 5 1 2 3 4 5
4 1 1 2 3 4 5
P(W = 2) = = = 0.2
20 5

The probability distribution table or probability mass function is shown below. Where the range space is on the
first row and the probability or P(W) is on the second row.

Number of Heads (W) 1 2 3 4 5


Probability (P(W)) 0.2 0.2 0.2 0.2 0.2

The histogram of the random variable W(gives the number of the cards) is shown below.

Probability of Showing a Head After Tossing 4


Times
0.25

0.2
Probability

0.15

0.1

0.05

0
1 2 3 4 5
Number of Heads

Assessment 1.1:

Go to Assessment Folder, Please…

Mean of a Discrete Random Variable

Mean of a Disrete Random Variable


Similar to the frequency distribution of a sample in a given population as discussed in
elementary statistics, the probability distribution of a discrete random variable needs to
be summarized using a central value in order that it will give the general behavior of the
random variable under observation. For a sample frequency distribution, this is usually
called the mean or average of the data.
The mean for a discrete random variable, denoted as 𝜇, may be computed similarly
with the way a weighted average for frequency distribution is computed, i.e., you take the
summation of all the products of a particular value or outcome x i and its corresponding
probability pi.
8

MEAN OF A DISCRETE RANDOM VARIABLE


The mean 𝜇 of a discrete random variable is the central value of average of its corresponding
probability mass function. It is computed using the formula
𝜇 = = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i)
where xi is the ith outcome and p(xi) is the probability of the ith outcome.

Example 7: Find the mean of the probability distribution involving the random variable X that gives the
Number of heads that appear after tossing four coins.
Number of Heads (X) 0 1 2 3 4
Probability (P(X)) 0.0625 0.25 0.375 0.25 0.0625
Solution: Identify the individual products of each outcome and their corresponding probability, and then,
determine the summation. To solve for the mean, we use the formula,

𝜇 = = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i)

𝜇 = 𝑥 1𝑝(𝑥 1) + 𝑥 2𝑝(𝑥 2) + 𝑥 3𝑝(𝑥 3) + 𝑥 4𝑝(𝑥4) + 𝑥 5𝑝(𝑥 5)


𝜇 = (0)(0.625) + (1) 0.25) + (2)(0.375) + (3)(0.25) + (4)(0.0625) Which means: multiply (X) and P(X).

𝜇 = 0 + 0.25 + 0.75 + 0.75 + 0.25 Simplify.


𝜇= 2

The mean of the distribution is 2. This means that the average number of heads that will appear
in a single toss of four coins is 2.

Example 8: The probabilities that a printer produces 0, 1, 2, and 3 misprints are 42%, 28%, 18%, and 12%,
respectively. Construct a probability mass function and then compute the mean value of the
random variable.

Solution:
The probability distribution table or probability mass function and its corresponding values are shown
below. The number of misprints (X) is written on the first row and the probability P(X) is on the second
row. To change percent to decimal, move two decimal places to the left.

Number of Misprints (X) 0 1 2 3


Probability P(X) 0.42 0.28 0.18 0.12

To solve for the mean, we use the formula,

𝜇 = ∑4𝑖=1 𝑥 i𝑝(𝑥 i) = 𝑥 1𝑝(𝑥 1) + 𝑥 2𝑝(𝑥 2) + 𝑥 3𝑝(𝑥 3) + 𝑥 4𝑝(𝑥 4)


𝜇 = (0 × 0.42) + (1 × 0.28) + ( (2 × 0.18) + (3 × 0.12) 𝑥 1𝑝(𝑥 1) means; 𝑥 1=0 and
p(x1) = 0.42. Then, find the
product. And so on & so forth.
𝜇 = 0 + 0.28 + 0.36 + 0.36
𝜇= 1

The mean value of the variable is 1. Thus, the average number of misprints the printer can produce
is 1 (or one bond paper if you are printing bond papers).

Example 9: A coin is tossed and a die is rolled. The outcome of the coin is recorded “1” when it show a head
and “0” when it shows a tail. The random variable R gives the sum of the outcomes of the coin
9

and the die. Compute the average value of the random variable.

Solution:
Review your tree diagram.

Coin die Outcomes R (the outcome of the coin is recorded “1” when it
shows a head). And (0 if it shows tail)
H 1 (H,1) (1,1)
2 (H,2) (1,2)
3 (H,3) (1,3)
4 (H,4) (1,4)
5 (H,5) (1,5)
6 (H,6) (1,6)

T 1 (T,1) (0,1)
2 (T,2) (0,2)
3 (T,3) (0,3)
4 (T,4) (0,4)
5 (T,5) (0,5)
6 (T,6) (0,6)

Hence the possible outcomes are:

(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), and (1, 6). N(S) = 12, the number of
outcomes.
0+1, 0+2 , 0+3 , 0+4 , 0+5 , 0+ 6, 1+1 , 1+2 , 1+3, 1+4 , 1+ 5, and 1,6. Get the sum.
1 , 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, and 7. Remember no repetition of
elements in your range space.
variable is get the sum.
Hence, the range space = {1, 2, 3, 4, 5, 6, 7} and n(S) = 12

Range space(X) 1 2 3 4 5 6 7
# of occurrence 1 2 2 2 2 2 1
P(X) Refer to the above“sum”.

Compute for the individual probability using the formula


𝑛(𝐸)
P(E) = , where n(S) = 12.
𝑛(𝑆)
1 2 1
P(R = 1) = P(R = 5) = =
12 12 6

2 1 2 1
P(R = 2) = = P(R = 6) = =
12 6 12 6
2 1 1
P(R = 3) = = P(R = 7) =
12 6 12
2 1
P(R = 4) = =
12 6

Below is the probability distribution table with our range space at the first row and its probability of
occurrence in the second row.

(X) 1 2 3 4 5 6 7
1 1 1 1 1 1 1
P(X)
12 6 6 6 6 6 12

To solve for the average value or the mean (𝜇), we have to use the formula
𝜇 = = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i)
10

𝜇 = ∑4𝑖=1 𝑥 i𝑝(𝑥 i) = 𝑥 1𝑝(𝑥 1) + 𝑥 2𝑝(𝑥2) + 𝑥 3𝑝(𝑥 3) + 𝑥 4𝑝(𝑥 4) + 𝑥 5𝑝(𝑥 5) + 𝑥 6𝑝(𝑥 6) + 𝑥 7𝑝(𝑥 7)


1 1
Which means that x1= 1 and p(x1)= ; x2=2 and p(x2)= ; and so on and so forth…
12 6

1 1 1 1 1 1 1
𝜇 = (1 × ) + (2 × ) + ( (3 × ) + (4 × ) + (5 × ) + ( (6 × ) + (7 × )
12 6 6 6 6 6 12
1 1 1 2 5 7
𝜇= + + + + +1+ The fractions are not similar. Change to equivalent fractions.
12 3 2 3 6 12
1 4 4 1 6 6 2 4 8 5 2 10
The LCD is 12. • = ; • = ; • = ; • = ;
3 4 12 2 6 12 3 4 12 6 2 12
12 12
1• = ;
12 12
1 4 6 8 10 12 7
𝜇= + + + + + + Find the sum.
12 12 12 12 12 12 12

1+4+6+8+10+12+7 48
𝜇= = =4 Simplify.
12 12

The average value of the variable is 4, which means that in a single roll, it will most likely show a
sum of 4.

Variance and Standard Deviation of a Discrete Random Variable


Another important characteristic is describing a given probability distribution is
the variance and its related standard deviation. Recall that variance and standard
deviation are measures of variability, which means that they describe the degree of
homogeneity or heterogeneity of a given set of data. This is also the case for random
variables.
Mostly, the mean value is not enough to describe a random variable because
there are instances when two probability distributions have the same mean value but
are entirely different. Consider the following probability distributions:

Example 10: Find the mean (𝜇) of the following probability distribution table.
(X) 2 4 6 8
P(X) 0.25 0.25 0.25 0.25
Solution:
To solve for the mean ( 𝜇), we use the formula

𝜇 = = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i)

𝜇 = (2 × 0.25) + (4 × 0.25) + ( (6 × 0.25) + (8 × 0.25) Which means x1=2 and p(x1)=0.25. And
so on and so forth

𝜇 = 0.5 + 1 + 1.5 + 2 Find the sum.


𝜇= 5

Example 11: Find the mean (𝜇) of the following probability distribution table

(X) 2 4 6 8
P(X) 0.4 0.1 0.1 0.4

Solution:
To solve for the mean ( 𝜇), we use the formula

𝜇 = = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i)

𝜇 = (2 × 0.4) + (4 × 0.1) + ( (6 × 0.1) + (8 × 0.4) Which means x1=2 and p(x1)=0.4. And
X2=4 and p(x2)=0.1; so on and so forth.
𝜇 = 0.8 + 0.4 + 0.6 + 3.2 Find the product and simplify. Hence,
𝜇= 5
11

The two distributions have the same mean with the same values for the variable. However, the
distribution of the probabilities is completely different. The variance and the standard deviation can help you
describe how different these two distributions are. The variance of a probability distribution depends on the
squared deviations from the mean of each value of the random variable multiplied by their corresponding
probabilities. The standard deviation, then, is determined by getting the square root of the variance.

Variance and Standard Deviation of a Random Variable


The variance and standard deviation are two values that describe how scattered or spread
out the scores are from the mean value of the random variable. The variance, denoted as 𝛿 2 , is
determined using the formula:
𝛿 2 = ∑𝑛𝑖=1 (𝑥 i − 𝜇)2 𝑝(𝑥 i)
The standard deviation 𝛿 is the square root of the variance, thus,
𝛿 = √∑𝑛𝑖=1 (𝑥𝑖 − 𝜇)2 𝑝(𝑥𝑖 )

The following steps will simplify the process of computing the variance and standard
Deviation.
1. Compute the mean value of the random variable.
2. Subtract each value from the mean and square the differences.
3. Multiply the squared differences by the corresponding probabilities.
4. Add all the products. This gives the variance of the probability distribution.

Example 12: Compute the variance and standard deviation of the two probability distributions (example 10 &
11) with the same 𝜇 of 5 presented earlier. Interpret the values.

Solutions: To solve for the variance we use the formula


𝛿 2 = ∑𝑛𝑖=1 (𝑥 i − 𝜇)2 𝑝(𝑥i)

Given: xi = 2,4,6, and 8 (first row in the table).


𝑝(𝑥 i) = the values in the second row
𝜇=5
Find: (x − 𝜇) and (x − 𝜇)2

x 2 4 6 8
p(x) 0.25 0.25 0.25 0.25
(x − 𝜇) -3 -1 1 3
(x − 𝜇)2

(x1 − 𝜇)= 2 - 5 = -3 Write the result in table under(x − 𝜇) row.


(x2 − 𝜇) = 4 - 5= -1 Write the result in table under(x − 𝜇) row.
(x3 − 𝜇)= 6 – 5 = 1 Write the result in table under(x − 𝜇) row.
(x4 − 𝜇)= 8 – 5 = 3 Write the result in table under(x − 𝜇) row.

Next: Find (x − 𝜇)2

(x1 − 𝜇)2 = (-3)2= 9 Write the product in (x − 𝜇)2 in row four.


(x2 − 𝜇)2 = (-1)2 = 1
(x3 − 𝜇)2= (1)2 = 1
(x4 − 𝜇)= (3)2 = 9
The fourth row is completed below.
12

x 2 4 6 8
p(x) 0.25 0.25 0.25 0.25
(x − 𝜇) −3 −1 1 3
(x − 𝜇)2 9 1 1 9

Solve for the variance using the formula 𝛿 2 = ∑𝑛𝑖=1 (𝑥 i − 𝜇)2 𝑝(𝑥i)

𝛿 2 = ∑𝑛𝑖=1 (𝑥 i − 𝜇)2 𝑝(𝑥 i)


𝛿 2 = 9(0.25) + 1(0.25) + 1(0.25) + 9(0.25) Which means: (x1 − 𝜇)2 = 9; p(x1)= 0.25.
(x2 − 𝜇)2 = 1; p(x2)= 0.25; so on & so forth.
𝛿 2 = 2.25 + 0.25 + 0.25 + 2.25 Find the sum.
𝛿2 = 5 Simplify

√𝛿 2 = √5 The variance is √5
𝛿 = √5 = 2.24 The standard deviation is 2.24

x 2 4 6 8
p(x) 0.4 0.1 0.1 0.4
(x − 𝜇) −3 −1 1 3
(x − 𝜇)2 9 1 1 9

𝛿 2 = ∑𝑛𝑖=1 (𝑥 i − 𝜇)2 𝑝(𝑥 i)


𝛿 2 = 9(0.4) + 1(0.1) + 1(0.1) + 9(0.4)
𝛿 2 = 7.4
𝛿 = √7.4 = 2.72

The second probability distribution is more spread out form the mean than the first probability
distribution.
An alternative method of solving the variance and standard deviation involves the use of the following
formula:
𝛿 2 = ∑𝑛𝑖=1 𝑥𝑖 2 𝑝(𝑥 i) −𝜇2

Example 13: Use the alternative formula to solve for the variance and standard variation of the second
probability distribution in example 7.

x 2 4 6 8
(xi)2 4 16 36 64
p (x ) 0.4 0.1 0.1 0.4

(xi)2 in the second row means square the value in x. So, 22 = 4; 42 = 16; 62= 36; 82 = 64.

𝛿 2 = ∑𝑛𝑖=1 𝑥𝑖 2 𝑝(𝑥 i) −𝜇2


𝛿 2 = [𝑥1 2 𝑝(𝑥1 ) + 𝑥2 2 𝑝(𝑥2 ) + 𝑥3 2 𝑝(𝑥3 ) + 𝑥4 2 𝑝(𝑥4 ) −𝜇2 ]
𝛿 2 = [22 (0.4) + 42 (0.1) + 62 (0.1) + 82 (0.4)] −(5)2 Substitute the value of (xi)2
and its probability p(x). Then find
its product.
𝛿2 = [1.6 + 1.6 + 3.6 + 25.6] - 25
𝛿2 = 32.4 – 25 Simplify.
√𝛿 2 = √7.4≈ Extract the square root of both sides.
𝛿 = √7.4 ≈ 2.72
13

Assessment 1.2:

Go to Assessment Folder, Please….

Applications of Discrete Random Variables: Expected Value

Sometimes, you want to find out how choosing a random event will benefit you in the
long run. Suppose you join a raffle event that will cost you a ticket worth Php 200 for a chance
to win a grand prize of Php 10 000. You know that there are 500 tickets sold for the event and
you want to find out the amount of money that will pay you off for buying one of the tickets.
This situation will be best understood and decided if you know the concept of expected value.

Expected Value
Suppose that a random variable X assume i number of possible values 𝑥 1, 𝑥 2, 𝑥 3,… 𝑥 i
and the corresponding probability of each value is given by p(𝑥), then the expected value for X,
denoted as E(X), is equal to the mean value of the probability distribution. Thus,

𝐸(𝑋) = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i).

To illustrate this concept, assume that the random variable X gives the payoff from buying the ticket.
There can only be two values for the payoff: if you win, the payoff will be Php 9 800 (it is not Php 10,000 due to
Php200 worth of ticket) and if you lose, the payoff will be – Php200. You know that the probability of winning
𝑛(𝐸)
is P(E) = where n(E) = 1. Which means only 1 ticket holder wins. And n(S)=500 since
𝑛(𝑆)
there were 500 tickets sold. Hence, the probability of
winning is,
𝑛(𝐸) 1
P(E) = =
𝑛(𝑆) 500

The probability of losing is


𝑛(𝐸)
P(E) = . Where n(E) = 499. Which means that are 499 non winning
𝑛(𝑆)
tickets. Hence, the probability of losing is
𝑛(𝐸) 499
P(E) = = .
𝑛(𝑆) 500

Below is the complete probability distribution table.

Payoff (X) Php 9 800 – Php200


1 499
P(X)
500 500

To find the expected payoff from joining the raffle, multiply each possible payoff value by their
corresponding probabilities and add all the products. We use the formula
𝐸(𝑋) = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i).

1 499
E(X) = (9 800)( ) + (–200) ( )
500 500

E(X) = 19.6 + (–199.6)


E(X) = –180
14

The expected payoff for each ticket is –180, a negative number, which means that each of the 500
raffle tickets is expected to have an average loss of Php 180 in the long run.
The expected value of a random variable, also known as expectation or payoff value, is the mean of
the probability distribution of the given random variable.

Study the following examples.

Example 14: A card is drawn at random from a deck of cards consisting of cards numbered 1 through 5. A
player wins Php 100 if the number on the card is even and loses Php 100 if the number on the
card is odd. What is the expected value of his winnings?

Solution:
The cards are numbered

1 2 3 4 5

Even cards (winning): 2 and 4; Odd cards (losing): 1,3,and 5.


𝑛(𝐸)
The probability of winning is P(E) = with n(E)=2 (even cards) and n(S)=5, is the number of cards from a
𝑛(𝑆)
deck. Hence, the probability of winning is

𝑛(𝐸) 2
P(E) = =
𝑛(𝑆) 5

𝑛(𝐸)
The probability of losing is P(E) = with n(E)=3 (odd cards) and n(S)=5, is the number of cards from a deck.
𝑛(𝑆)
Hence, the probability of losing is

𝑛(𝐸) 3
P(E) = =
𝑛(𝑆) 5

Below is the complete probability distribution table.

(X) 100 – 100


2 3
P(X)
5 5

Use the formula for expected value

𝐸(𝑋) = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i).

2 3 2 3
E(X) = (100)( ) + (–100) ( ) Substitute x1=100 and p(x1)= ; x2=(-100) and p(x2)= ;
5 5 5 5

E(X) = 40 – 60 Simplify.
E(X) = –20

The expected value is –20. Thus, the player is expected to lose an average of Php 20 in the game.

Example 15: A lottery that pays off Php 300 000 000 is made available for 10 000 000 tickets. Each ticket costs
Php 50. Suppose the variable Z gives the net winnings form playing the lottery. What is the
expected gain for joining the lottery with only one ticket?

Solution:

𝑛(𝐸)
The probability of winning is P(E) = . Where n(E) = 1 (only 1 ticket wins); n(S) = 10 000 000 (number of
𝑛(𝑆)
tickets).
𝑛(𝐸) 1
The probability of winning is P(E) = = (observe that 300 000 000 – 50 = 299 999 950)
𝑛(𝑆) 10 000 000

𝑛(𝐸) 9 999 999


The probability of losing is P(E) = = as shown in the probability distribution table.
𝑛(𝑆) 10 000 000
15

Gain (Z) 299 999 950 – 50


1 9 999 999
P(Z)
10 000 000 10 000 000

Use the formula for expected value

𝐸(𝑋) = ∑𝑛𝑖=1 𝑥 i𝑝(𝑥 i).

1 9 999 999
E(X) = (299 999 950)( ) + (–50) ( )
10 000 000 10 000 000

299 999 950 – 499 999 950


E(X) = ( )
10 000 000

–200 000 000


E(X) = ( )
10 000 000

E(X) = –20

One lottery ticket will have an expected loss of Php 20.00.

Assessment 1.3:

Go to Assessment Folder, Please…

“Random events, even though how random they may be can still be understood through
assigning a random variable. Probability distributions can be used to represent and solve
problems concerning the randomness of an event in the real world”.

Congratulations! You may proceed to the next module…

REFERENCES AND WEBSITE USED IN THIS LESSON

BOOKS

Canlapan, R. & Campena, F. (2016). Statistics and Probability. Makati City, Philippines: Diwa Learning Center.

IMAGES
https://www.google.com.ph/url?sa=i&url=https%3A%2F%2Fwww.vippng.com%2Fpreview%2FJxoo
mw_teacher-png-school-teacher-cartoons%

Brainfans.com
16

You might also like