Statistics and Probability
Statistics and Probability
Note: We use capital letters to represent a random variable. The variable is said to be random if the
sum of the probabilities is ONE.
To determine the values of the random variable in an experiment, follow these steps:
■ Count the number of the random variable in each outcome and assign this number to this
outcome.
Suppose two coins are tossed and we are interested to determine the number of heads that will come
out. Let us use H to represent the number of heads that will come out. Determine the values of the
random variable.
Step 2. Count the number of heads in each outcome and assign this number to this outcome.
HH 2
HT 1
TH 1
TT 0
The value of the random variable H (number of heads) in this experiment are 0, 1, and 2.
Another Example:
A basket contains 10 ripe and 4 unripe bananas. If three bananas are taken from the basket one after
the other, determine the possible values of the random variable R representing the number of the ripe
bananas.
STEP 1. List the sample space of this experiment. Let R represent the ripe bananas and let U represent
the unripe bananas.
STEP 2. Count the number of ripe bananas ® in each outcome and assign this number to this outcome.
OUTCOME NUMBER OF RIPE BANANAS
(VALUE OF R)
RRR 3
RRU 2
RUR 2
URR 2
UUR 1
URU 1
RUU 1
UUU 0
RRR 3
RRU 2
RUR 2
URR 2
UUR 1
URU 1
RUU 1
UUU 0
STEP 3. Construct the frequency distribution of the values of the random variable R.
3 1
2 3
1 3
0 1
Total 8
STEP 4. Construct the probability distribution of the random variable R by getting the
probability of occurrence of each value of the random variable.
3 1 1/8
2 3 3/8
1 3 3/8
0 1 1/8
TOTAL 8 1
R 3 2 1 0
P(R) 𝟏 𝟑 𝟑 𝟏
𝟖 𝟖 𝟖 𝟖
Example 3:
Consider the probability distribution of the number of bananas given below.
R 3 2 1 0
P(R) 𝟏 𝟑 𝟑 𝟏
𝟖 𝟖 𝟖 𝟖
1. P(X = 3)
2. P(X ≥ 1)
3. P(X ≤ 1)
Solution:
X P(X)
0 𝟏
𝟕
1 𝟐
𝟕
3 𝟒
𝟕
The formula gives a probability distribution because 0 ≤ P(X) ≤ 1 where X = 0,1,3. Likewise, the sum of
all probability values is equal to one.
The probability histogram displays the possible values of a discrete random variable on the
horizontal axis and the probabilities of those values on the vertical axis. Analyze the example
below.
Construct the probability histogram of the probability distribution of the number of ripe
bananas.
R 3 2 1 0
P(R) 𝟏 𝟑 𝟑 𝟏
𝟖 𝟖 𝟖 𝟖