The shortest useful definition is:
A stochastic process is a family of random variables organized by an index set.
Understanding the definition requires two further questions: why organize many random variables, and which relationships among them matter? The answer begins with basic probability.
1. Starting with Probability
1.1 Random experiments, events, and probabilities
When a six-sided die is rolled, the outcome can be or . The result is unknown before the roll, so rolling the die is a random experiment.
The set of all possible outcomes is the sample space, conventionally denoted by . For the die, . If the question is whether the roll exceeds 3, the corresponding set is an event.
The probability measures how likely the event is. A fair die gives .
- A random experiment is an operation with an uncertain result.
- An event is a set of outcomes of interest.
- A probability measures the likelihood of an event.
1.2 Random variables
Let denote the number shown by the die, so . Then is a random variable.
More precisely, a random variable is a function that maps outcomes in the sample space to numbers: , .
If one trial produces a 4, the realization can be written as . The random variable , its realized value 4, and the event are three distinct objects.
1.3 Probability distributions and expectations
A probability distribution specifies the probability of each possible value. A fair die satisfies .
For a discrete random variable, the expected value is .
The expected value of a fair die is 3.5. No roll can produce 3.5; the expectation is the value approached by the average of many repeated trials. Stochastic-process theory frequently studies , the mean behavior of the random variable at index .
1.4 Probability and statistics
Probability theory starts from a known random model and derives the outcomes it can produce. Given a fair die, for example, probability theory computes the chance of rolling more than 3.
Statistics starts from observations and infers the underlying model. If a die produces a 6 in 400 of 1,000 rolls, statistical methods can test whether the die is fair.
Stochastic processes are built on probability theory. Applications usually provide only one or a few observed trajectories, so statistical inference is also essential.
2. From Random Variables to Stochastic Processes
2.1 From a random variable to a random vector
One die roll can be described by a random variable . For 1,000 consecutive rolls, define , where is the result of roll .
The tuple is a 1,000-dimensional random vector. A complete experiment might produce , one realization of that vector.
Repeating the full experiment gives a table such as:
| Experiment | |||||
|---|---|---|---|---|---|
| 1 | 3 | 6 | 1 | 1 | |
| 2 | 5 | 2 | 4 | 2 | |
| 3 | 1 | 3 | 6 | 3 |
Reading down one column shows the realizations of a fixed random variable across experiments. Reading across one row shows one realization of the entire random vector. Even if the experiment is performed only once, the probability model represents every possible result.
2.2 From a random vector to a stochastic process
A finite tuple such as is a random vector. If the index extends indefinitely to , or varies continuously as , a finite-dimensional vector is no longer enough.
A stochastic process is written , where is a random variable, is an index, and is the index set.
- gives a discrete-time stochastic process.
- gives a continuous-time stochastic process.
The progression can be viewed as
random variable → random vector → stochastic process
The crucial feature is the joint structure among indexed random variables, not merely their number.
3. Indices, Experiments, and Sample Paths
3.1 An index need not be time
may represent the temperature on day , a stock price at time , a random walk after steps, or a simulation state at iteration .
An index may also represent a generation, sampling order, or another ordered structure. A stochastic process needs a meaningful index structure, but the index need not be physical time.
3.2 A stochastic process is not one curve
A random walk can be written , where equals or with equal probability. Starting from , two experiments might produce:
0 → 1 → 2 → 1 → 0 → -1 → 0 → ...
0 → -1 → 0 → 1 → 2 → 1 → 2 → ...
Each complete sequence is a realization, also called a sample path. The stochastic process describes all possible sample paths and their probabilities; one observed curve is only one realization.
3.3 Fixing an index or an experiment
The full notation for a process is , where is the index and is an outcome in the sample space.
- Fixing and varying gives the random variable .
- Fixing and varying gives the sample path .
Mean functions, autocorrelation functions, Gaussian processes, and time-series analysis all use these two perspectives.
4. From Scalar Processes to Random Fields
4.1 A state can be a vector
need not be a scalar. A two-dimensional random walk can use . A vehicle model might use for position, velocity, and acceleration.
The index defines how states are organized, while defines the state at each index. A process can therefore have a one-dimensional time index and a high-dimensional state.
4.2 The index can also be multidimensional
If is the pixel value at image position , the index is two-dimensional. Random objects with multidimensional index sets are usually called random fields.
A captured image has fixed pixels, but a probabilistic image model represents all possible images before observation. Sensor noise can also produce different pixel values when the same scene is photographed repeatedly.
An RGB image can be written , and a video can be written . These objects share one structure:
| Object | Notation | Index structure |
|---|---|---|
| Random variable | No additional index | |
| Stochastic process | One-dimensional | |
| Two-dimensional random field | Two-dimensional | |
| Higher-dimensional random field | Multidimensional |
An index set organizes a family of random variables that share a joint probability structure.
5. What Stochastic Processes Study
Stochastic processes focus on relationships across indices, not just the distribution of each individual . A temperature model, for example, may ask:
- whether a hot day makes another hot day more likely;
- how strongly and are correlated;
- whether adds information once is known;
- whether the distribution of depends only on ;
- whether correlation weakens as observations become farther apart;
- whether the mean changes over time.
A stochastic process does not require to be independent or identically distributed. Die rolls may be independent, while stock prices and temperatures usually have strong temporal dependence.
The central objects of study are the joint distributions and dependence structure of the indexed random variables.
6. Core Concepts
The basic form of a stochastic process is . Each is a random variable, and is the index set. An observed sequence is one sample path; the full process also describes every other possible path and its probability.
The progression continues as
random variable → random vector → stochastic process → random field
Knowing each marginal distribution does not determine how different indices vary together. Joint distributions, expectations, variances, covariances, autocorrelations, and more general dependencies provide the missing structure.