Finance Train LogoFinance Train
Learning LibraryTemplatesBlog
Data Science Bundle
Finance TrainFinance Train
Learning LibraryTemplatesBlog
Data Science Bundle
Lesson 2 of 20

Discrete Vs. Continuous Random Variable

Discrete Random Variable

A random variable is said to be discrete if the total number of values it can take can be counted. Alternatively, we can say that a discrete random variable can take only a discrete countable value such as 1, 2, 3, 4, etc. For example, in case of the roll of a die, there could be only 6 outcomes. This is an example of a discrete random variable. Similarly, if we have to pick a stock from S&P 500 index, it’s a discrete random variable. Each outcome should also have a positive probability.

Let’s say a variable X can take values 1, 2, 3, 4. The probabilities of each of these outcomes are given below:

xiP(xi)
10.2
20.3
30.4
40.1

We can draw this distribution in the form of a histogram.

pd1
pd1

Note: What would be the probability of the random variable X being equal to 5?

P(5) = 0 because as per our definition the random variable X can only take values, 1, 2, 3 and 4.

Continuous Random Variable

In contrast to discrete random variable, a random variable will be called continuous if it can take an infinite number of values between the possible values for the random variable. Examples include measuring the height of a person, or the amount of rain fall that a city receives. The number of possible outcomes is infinite. In that case, what is the probability that the random variable X will get a certain value x?

P(x) will be 0 because we are talking about the possibility of one outcome from an infinite number of outcomes.

In finance, some variables such as price change of a stock, or the returns earned by an investor are considered to be continuous, even though they are actually discrete, because the number of possible outcomes is large, and the probability of each outcome is very small. For example, the probability of an investor earning a return of exactly 8.25% is almost zero.

The probability distribution of a continuous random variable is called probability density function.

Previous Lesson

What is a Probability Distribution

Next Lesson

Cumulative Distribution Function

Back to ebook

Common Probability Distributions

20 lessons

Lessons

1
What is a Probability Distribution
2
Discrete Vs. Continuous Random Variable
3
Cumulative Distribution Function
4
Discrete Uniform Random Variable
5
Bernoulli and Binomial Distribution
6
Stock Price Movement Using a Binomial Tree
7
Tracking Error and Tracking Risk
8
Continuous Uniform Distribution
9
Normal Distribution
10
Univariate Vs. Multivariate Distribution
11
Confidence Intervals for a Normal Distribution
12
Standard Normal Distribution
13
Calculating Probabilities Using Standard Normal Distribution
14
Shortfall Risk
15
Safety-first Ratio
16
Lognormal Distribution and Stock Prices
17
Discretely Compounded Rate of Return
18
Continuously Compounded Rate of Return
19
Option Pricing Using Monte Carlo Simulation
20
Historical Simulation Vs Monte Carlo Simulation

Quizzes

Common Probablity Distributions
Finance Train

Learn data science and AI skills for finance through practical courses and tutorials.

Learn

  • Learning Library
  • Course Directory
  • Blog

Resources

  • Templates & Downloads
  • Tools
  • Tables
  • Calculators

Company

  • About
  • Contact
  • Privacy
  • Terms

© 2026 Finance Train. All rights reserved.