Skip to question

Computational Finance Q&A · Volume 1 · Question 05 of 30

What Is the Difference Between a Stochastic Process and a Random Variable?

Learn the difference between a random variable, a time-indexed stochastic process and an individual simulated sample path.

Part of Computational Finance Q&A — Volume 1, a companion to the 14-lecture Computational Finance course. Lecture 2: Stocks, Options and Stochastics.

Why this question matters

A stock price observed at one moment is uncertain before it is realized. Following the price through time requires a richer mathematical object: a collection of random variables indexed by time.

The idea explained

This episode distinguishes a stochastic process from a single random variable. If we fix a time, we are looking at a random outcome at that instant; if we fix one realization of the randomness, we obtain a sample path across many times. Brownian motion is used to visualize both perspectives.

A practical perspective

A single simulated stock trajectory tells one possible market story. Running the simulation a hundred times produces an ensemble of paths, from which we can study variability at each date. These are different views of the same stochastic model.

What you will learn

Watch the video for the complete discussion and consult the original slides for the technical details.

Slides and related lessons

Q&A slides on GitHub ↗ Relevant slides: pp. 17–18 of the 84-page Q&A deck

Related Computational Finance course material: Lecture 2: Stocks, Options and Stochastics.

Browse all 30 questions, explore the full Computational Finance materials ↗, or find more on Computations in Finance ↗.