# Discrete Uniform Distribution

A discrete random variable can assume a finite or countable number of values. Put simply, it is possible to list all the outcomes. Remember that a random variable is just a quantity whose future outcomes are not known with certainty. The shorthand notation for a discrete random variable is $$P(x) = P(X = x)$$.

#### Example: Discrete Random Variable Outcomes #1

Consider a dividend with seven possible year-end values: $3,$5, $6,$9, $13,$14, and $15. Each of these is known as an outcome. Therefore, the set of possible outcomes can be expressed as: Div{$3, $5,$6, $9,$13, $14,$15}

#### Example 2: Discrete Random Variable Outcomes #2

Suppose we flipped a coin three times. What are the possible outcomes, and what is the probability of each?

Solution

The best approach to such a question may involve a probability tree:

$$\begin{array}{} \text{Probability Tree} \\ \end{array}$$
$$\begin{array} \hline {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{HHH} \\ {} & {} & {} & {} & {} & {} & {} & \text{HH} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} \\ {} & {} &{} & {} & & & {} & {} & {} & \text{HHT} \\ {} & {} & \text{H} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} & {} & {} & {} & {} \\ {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{HTH} \\ {} & {} & {} & {} & {} & {} & {} & \text{HT} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} \\ {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{HTT} \\ \text{Start} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} & {} & {} & {} & {} & {} & {} & {} \\ {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{THH} \\ {} & {} & {} & {} & {} & {} & {} & \text{TH} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} \\ {} & {} & {} & {}& {} & {} & {} & {} & {} & \text{THT} \\ {} & {} & \text{T} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} & {} & {} & {} & {} \\ {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{TTH} \\ {} & {} & {} & {} & {} & {} & {} & \text{TT} & \Huge \begin{matrix} \diagup \\ \diagdown \end{matrix} & {} \\ {} & {} & {} & {} & {} & {} & {} & {} & {} & \text{TTT} \\ \end{array}$$

From the probability tree, we can get all the possible outcomes. Given that the probability of a head equals that of a tail:

$$P(H) = P(T) = 0.5$$

Assuming that the random variable $$X$$ represents the number of heads observed, the probability of not flipping heads at all is simply the number of outcomes without a head divided by the total number of outcomes. Therefore:

$$P(X = 0) =\cfrac {1}{8} = 12.5\%.$$

Interpretation: In 12.5% of all trials, we can expect that heads will not be flipped.

Similarly, the probability of flipping just one head is the number of outcomes with only one head divided by the total number of outcomes. Therefore:

$$P(X = 1) = \cfrac {3}{8}$$

We can calculate $$P(X = 2)$$ and $$P(X = 3)$$ following a similar technique.

Finally, we can summarize the information in the form of a probability distribution as follows:

$$\begin{array}{l|c|c|c|c} \textbf{Heads (outcomes)} & \textbf{0} & \textbf{1} & \textbf{2} & \textbf{3} \\ \hline \text{Probability} & \text{1/8} & \text{3/8} & \text{3/8} & \text{1/8} \\ \end{array}$$

Note that $$\sum P(X = x) = 1$$.

In some instances, discrete variables may be treated as continuous variables. This especially happens when the number of possible outcomes is quite large. For example, stock price movements on most exchanges are quoted in dollars and cents. However, the probability of a change of exactly $1.22 or$1.25 is very low (essentially zero). Such probabilities may not have material significance. For this reason, analysts may prefer working with price ranges. For instance:

$$P(2 \le \text{ price change } \le 3)$$

## The Discrete Uniform Distribution

As you will recall, all possible outcomes have equal probabilities under the uniform distribution. A good example might be the throw of a die, where each outcome 1, 2, 3, 4, 5, and 6 has a 1/6 probability of occurrence.

Define the random variable X such that $$X_i=i$$, where $$i = 1, 2, 3, …, k$$

$$P(X = x) = \cfrac {1}{k}$$.

$$\text{Mean} =\cfrac {(k + 1)}{2}$$.

$$\text{Variance} = \cfrac {(k^2 – 1)}{12}$$.

#### Example: Uniform Distribution Function

A uniform distribution function has been defined as:

$$X = \{1, 3, 5, 7, 9\}$$.

The value of $$P(X = 5)$$ is closest to:

Solution

\begin{align*} P(X = x) & = \cfrac {1}{k} \\ K & = 5\\ \end{align*}

Therefore,

$$P(X = 5) =\cfrac {1}{5} = 0.2$$

# Question

A uniform distribution function has been defined as:

$$X = \{1, 3, 5, 7, 9\}$$

The value of  $$F(5)$$ is closest to:

1. 0.2.
2. 0.4.
3. 0.6.

Solution

$$F(5)$$ is the cumulative probability of an outcome less than or equal to 5. Therefore,

\begin{align*} F(5) &=P(X\leq 5)\\& = P(X = 1) + P(X = 3) + P(X = 5) \\ & = 0.2 + 0.2 + 0.2 \\ & = 0.6 \\ \end{align*}

Shop CFA® Exam Prep

Offered by AnalystPrep

Featured Shop FRM® Exam Prep Learn with Us

Subscribe to our newsletter and keep up with the latest and greatest tips for success

Sergio Torrico
2021-07-23
Excelente para el FRM 2 Escribo esta revisión en español para los hispanohablantes, soy de Bolivia, y utilicé AnalystPrep para dudas y consultas sobre mi preparación para el FRM nivel 2 (lo tomé una sola vez y aprobé muy bien), siempre tuve un soporte claro, directo y rápido, el material sale rápido cuando hay cambios en el temario de GARP, y los ejercicios y exámenes son muy útiles para practicar.
diana
2021-07-17
So helpful. I have been using the videos to prepare for the CFA Level II exam. The videos signpost the reading contents, explain the concepts and provide additional context for specific concepts. The fun light-hearted analogies are also a welcome break to some very dry content. I usually watch the videos before going into more in-depth reading and they are a good way to avoid being overwhelmed by the sheer volume of content when you look at the readings.
Kriti Dhawan
2021-07-16
A great curriculum provider. James sir explains the concept so well that rather than memorising it, you tend to intuitively understand and absorb them. Thank you ! Grateful I saw this at the right time for my CFA prep.
nikhil kumar
2021-06-28
Very well explained and gives a great insight about topics in a very short time. Glad to have found Professor Forjan's lectures.
Marwan
2021-06-22
Great support throughout the course by the team, did not feel neglected
Benjamin anonymous
2021-05-10
I loved using AnalystPrep for FRM. QBank is huge, videos are great. Would recommend to a friend
Daniel Glyn
2021-03-24
I have finished my FRM1 thanks to AnalystPrep. And now using AnalystPrep for my FRM2 preparation. Professor Forjan is brilliant. He gives such good explanations and analogies. And more than anything makes learning fun. A big thank you to Analystprep and Professor Forjan. 5 stars all the way!
michael walshe
2021-03-18
Professor James' videos are excellent for understanding the underlying theories behind financial engineering / financial analysis. The AnalystPrep videos were better than any of the others that I searched through on YouTube for providing a clear explanation of some concepts, such as Portfolio theory, CAPM, and Arbitrage Pricing theory. Watching these cleared up many of the unclarities I had in my head. Highly recommended.