# Probability and Statistics Basics

> A random variable is a quantity whose value is determined by probability. Its average is called the expected value, and the spread around the expected value is measured by the standard deviation. In derivatives, price returns are treated as random variables, and the size of their spread (volatility) and how two price moves go together (correlation) are used in valuation and risk calculations.

- URL: https://www.derivatives-compass.org/en/basics/probability-and-statistics/
- Area: Core Concepts › Mathematical Preliminaries
- Last reviewed: 2026-11-27
- 日本語版: https://www.derivatives-compass.org/ja/basics/probability-and-statistics/index.md

[Market risk](https://www.derivatives-compass.org/en/glossary/market-risk/) staff sometimes use methods that estimate the size of a loss from the [standard deviation](https://www.derivatives-compass.org/en/glossary/standard-deviation/). When the correlation between price moves changes, the overall risk changes, so they track that change as well. [Option](https://www.derivatives-compass.org/en/glossary/option/) valuation uses [volatility](https://www.derivatives-compass.org/en/glossary/volatility/) and the assumption that prices follow a [lognormal distribution](https://www.derivatives-compass.org/en/glossary/lognormal-distribution/).

## Key points

- The expected value is the average of the outcomes, and the standard deviation is the spread around it.
- If log returns follow a normal distribution, the price never falls below 0 yen.
- Volatility is the standard deviation of returns, and correlation changes the spread of the combined total.

## Random variables and expected value

A random variable is a quantity whose value is determined by probability. The list of possible values together with their probabilities is called a probability distribution, and the probabilities always add up to 1 (100%)[^stat-rv].

Consider a hypothetical example in which an asset is worth 100 yen today, and tomorrow its price will be 103 yen, 101 yen, or 95 yen with probabilities of 25%, 50%, and 25%. Tomorrow's price is a random variable. The expected value is the average you get by multiplying each possible value by its probability and adding the results, and in this example it is 100 yen[^chiba-ev].

The expected value in this example is 103 × 0.25 + 101 × 0.5 + 95 × 0.25.

| Tomorrow's price (yen) | Probability | Price × probability (yen) |
| ---------------------: | ----------: | ------------------------: |
|                    103 |        0.25 |                     25.75 |
|                    101 |        0.50 |                     50.50 |
|                     95 |        0.25 |                     23.75 |
|                  Total |        1.00 |                    100.00 |

If you draw outcomes from the same probability distribution again and again, the average of the outcomes approaches the expected value[^chiba-ev]. Each individual outcome, however, differs from the expected value. In this example, the price can fall by 5 yen in a day or rise by 3 yen. Two distributions can have the same expected value and still spread their outcomes differently.

## Variance and standard deviation

The standard deviation measures how widely the values of a random variable are spread around the expected value, and in the example above it is 3 yen. To measure the spread, you first take the difference between each possible value and the expected value (the deviation). If you simply average the deviations, the positive and negative ones cancel out and the result is 0. So you square the deviations and average them instead. The result is called the variance, and it serves as a measure of how large the spread is[^stat-var].

| Tomorrow's price (yen) | Probability | Deviation (yen) | Squared deviation | Squared deviation × probability |
| ---------------------: | ----------: | --------------: | ----------------: | ------------------------------: |
|                    103 |        0.25 |               3 |                 9 |                            2.25 |
|                    101 |        0.50 |               1 |                 1 |                            0.50 |
|                     95 |        0.25 |              −5 |                25 |                            6.25 |
|                  Total |        1.00 |                 |                   |                            9.00 |

The variance is 9. Because the variance is an average of squared values, its unit differs from that of the original values (yen squared). The positive square root of the variance is called the standard deviation, and it expresses the spread in the same unit as the original values[^stat-var]. The square root of 9 gives a standard deviation of 3 yen.

> **Deep dive: Formulas for the expected value, variance, and standard deviation**
>
> If a random variable $$X$$ takes the values $$x_1, x_2, \ldots, x_n$$ with probabilities $$p_1, p_2, \ldots, p_n$$, its expected value $$E[X]$$ is given by the following formula[^chiba-ev].
>
> $$
> E[X] = \sum_{i=1}^{n} x_i \, p_i
> $$
>
> Writing the expected value as $$\mu$$, the variance $$V[X]$$ is the expected value of the squared deviation, and the standard deviation $$\sigma$$ is its positive square root[^chiba-var][^stat-var].
>
> $$
> V[X] = \sum_{i=1}^{n} (x_i - \mu)^2 \, p_i
> $$
>
> $$
> \sigma = \sqrt{V[X]}
> $$

## The normal distribution and the probability of falling within a range

The [normal distribution](https://www.derivatives-compass.org/en/glossary/normal-distribution/) is a probability distribution with a symmetric bell shape centered on the mean, which sits at the highest point in the middle. Once you know the mean and the standard deviation, the probability that a value falls within a given range is determined. Whatever the mean and the standard deviation are, the following relationships hold[^stat-normal].

| Range                            | Probability of falling within the range |
| -------------------------------- | --------------------------------------: |
| Mean ± one standard deviation    |                             About 68.3% |
| Mean ± two standard deviations   |                             About 95.4% |
| Mean ± three standard deviations |                             About 99.7% |

Consider a hypothetical example in which the daily return follows a normal distribution with a mean of 0% and a standard deviation of 1%. The probability that the return stays between −1% and +1% is then about 68.3%, and the probability that it stays between −2% and +2% is about 95.4%. The probability that the return falls below −2% is half of the roughly 4.6% outside that range, or about 2.3%, because the distribution is symmetric[^stat-normal].

**Figure 1: Distribution of the daily return (standard deviation 1%)**

This curve is the probability density of a normal distribution with a mean of 0% and a standard deviation of 1%, drawn with the daily return on the horizontal axis. It is a symmetric bell shape centered on 0%, and the curve gets lower the farther it is from the center. The shaded area from −1% to +1% is the probability, and the vertical dashed lines mark −2%, −1%, +1%, and +2%.

## Returns and the lognormal distribution

There are two ways to measure a price change: the simple return and the log return. Consider a hypothetical example in which a price rises from 100 yen to 110 yen and falls to 99 yen the next day.

| Measure       | Day 1 (100 → 110 yen) | Day 2 (110 → 99 yen) | Sum of the two days | Two-day period (100 → 99 yen) |
| ------------- | --------------------: | -------------------: | ------------------: | ----------------------------: |
| Simple return |               +10.00% |              −10.00% |               0.00% |                        −1.00% |
| Log return    |                +9.53% |              −10.54% |              −1.01% |                        −1.01% |

Simple returns (the change in price ÷ the original price) do not add up to the return over the whole period. The log return is the natural logarithm of the later price ÷ the earlier price, and it follows the same idea as the continuously compounded rate covered on the [Compounding and Discounting](https://www.derivatives-compass.org/en/basics/compounding-and-discounting/) page[^hitu-log].

There are two reasons to measure with log returns[^hitu-log]. First, adding the daily values gives the value for the whole period. Second, even if you assume a normal distribution for log returns, the price never turns negative.

If log returns follow a normal distribution, the price follows a lognormal distribution. A lognormal distribution is one in which the logarithm of the value follows a normal distribution, and its values are limited to the range above 0[^nist-lognormal]. The assumption that the price of the [underlying asset](https://www.derivatives-compass.org/en/glossary/underlying-asset/) follows a lognormal distribution is also used in option valuation models[^hitu-log].

Consider a hypothetical example in which the one-year log return on a price that is 100 yen today follows a normal distribution with a mean of 0% and a standard deviation of 20%. The probability that the log return falls between −20% and +20% is about 68.3%, which corresponds to a price range of about 81.87 yen to about 122.14 yen. The distance down is about 18.13 yen and the distance up is about 22.14 yen, so the distribution has a longer tail on the upside.

The median is the value that the price is equally likely to end up above or below, and in this example it is 100 yen[^nist-location]. Because of the longer upside tail, the expected value is about 102.02 yen, higher than the median[^nist-location][^nist-mean].

**Figure 2: Distribution of the price one year from now (standard deviation of log return 20%)**

This is the distribution of the price one year from now, when the price today is 100 yen and the one-year log return follows a normal distribution with a mean of 0% and a standard deviation of 20%. The curve lies only to the right of 0 yen, has its peak a little to the left of 100 yen, and its right tail extends further than its left tail. The vertical dashed lines mark 81.87 yen, 100 yen (the median), and 122.14 yen, and the shaded area from 81.87 yen to 122.14 yen is the probability.

> **Deep dive: Formulas for log returns and the lognormal distribution**
>
> Let $$P_{t-1}$$ be the price at time $$t-1$$ and $$P_t$$ the price at time $$t$$. The simple return $$R_t$$ and the log return $$r_t$$ are given by the following formulas[^hitu-log].
>
> $$
> R_t = \frac{P_t}{P_{t-1}} - 1
> $$
>
> $$
> r_t = \ln\left(\frac{P_t}{P_{t-1}}\right)
> $$
>
> Adding two days of log returns gives $$\ln(P_{t+1}/P_t) + \ln(P_t/P_{t-1}) = \ln(P_{t+1}/P_{t-1})$$, which is the log return over the two days. In the table's example, $$\ln(1.1) + \ln(0.9) = \ln(0.99) \approx -0.0101$$.
>
> Let $$P_0$$ be today's price, and suppose the one-year log return $$r$$ follows a normal distribution with a mean of 0 and a standard deviation of $$\sigma$$. The price in one year, $$P_1 = P_0 \, e^{r}$$, then follows a lognormal distribution. Its median is $$P_0$$, and its expected value is given by the following formula[^nist-mean].
>
> $$
> E[P_1] = P_0 \, e^{\sigma^2 / 2}
> $$
>
> With $$P_0 = 100$$ and $$\sigma = 0.2$$, this is $$100 \times e^{0.02} \approx 102.02$$.

## Volatility and annualization

Volatility expresses the size of price moves as the standard deviation of returns, as an annual figure (%)[^jpx-vol][^jpx-hv]. Here "returns" means log returns.

Consider a hypothetical example in which the returns over the past five business days were +1%, −1%, +3%, −3%, and 0%. The mean is 0%, the average of the squared deviations is (1 + 1 + 9 + 9 + 0) ÷ 5 = 4, and the standard deviation is 2%. This 2% is the estimate of the daily standard deviation.

To convert to an annual figure, multiply the daily standard deviation by the square root of 250 (about 15.81)[^rounding-vol]. Taking 250 business days in a year is an assumption for this example. You multiply by the square root rather than by 250 because, if daily log returns are independent and follow the same distribution every day, the variance over a period grows in proportion to the number of days, and the standard deviation in proportion to its square root[^hitu-var].

| Daily standard deviation | Annual volatility (250 business days) |
| -----------------------: | ------------------------------------: |
|                    0.50% |                                 7.91% |
|                    1.00% |                                15.81% |
|                    2.00% |                                31.62% |

The 2% in the five-day example above is about 31.62% a year. Consider a hypothetical example in which the annual volatility is 20%. That is 20% ÷ about 15.81, or about 1.26%, per day.

Volatility calculated from past prices to anticipate how much a price will move in the future is called [historical volatility](https://www.derivatives-compass.org/en/glossary/historical-volatility/). You compute the percentage change in price for each business day, take the standard deviation, and convert it to an annual figure[^jpx-hv]. Volatility backed out from option market prices is called [implied volatility](https://www.derivatives-compass.org/en/glossary/implied-volatility/)[^jpx-vol].

## Correlation and the spread of a combined total

The [correlation coefficient](https://www.derivatives-compass.org/en/glossary/correlation/) measures how closely two price moves go in the same direction. It takes values from −1 to 1. The stronger the tendency to move in the same direction, the closer it gets to 1, and the stronger the tendency to move in opposite directions, the closer it gets to −1. A value near 0 means there is no correlation[^stat-corr]. The average of the products of the two values' deviations is called the covariance[^chiba-cov], and the correlation coefficient is the covariance divided by the product of the two standard deviations[^stat-corr].

Correlation changes the spread of two price moves combined. Consider a hypothetical example in which two [positions](https://www.derivatives-compass.org/en/glossary/position/) each have a profit-and-loss standard deviation of 1 billion yen, and you combine them. In billions of yen, each variance is 1 squared, or 1, and the variance of the combined profit and loss is 1 + 1 + 2 × correlation coefficient × 1 × 1[^chiba-sum][^stat-corr]. With a correlation coefficient of 0.5, this is 3, and its square root, about 1.732 billion yen, is the standard deviation of the total.

| Correlation coefficient | Variance of the total (billion yen squared) | Standard deviation of the total (billion yen) |
| ----------------------: | ------------------------------------------: | --------------------------------------------: |
|                       1 |                                           4 |                                         2.000 |
|                     0.5 |                                           3 |                                         1.732 |
|                       0 |                                           2 |                                         1.414 |
|                    −0.5 |                                           1 |                                         1.000 |
|                      −1 |                                           0 |                                         0.000 |

Only when the correlation coefficient is 1 does the standard deviation of the total equal the sum of the two standard deviations (2 billion yen). When the correlation coefficient is below 1, it is smaller than the sum. When the correlation coefficient is −1, a gain on one position and a loss on the other cancel out, and the spread disappears.

> **Deep dive: The variance of the sum of two random variables, and the correlation coefficient**
>
> Let $$\mathrm{Cov}(X, Y)$$ be the covariance of the random variables $$X$$ and $$Y$$. The correlation coefficient $$\rho$$ is the covariance divided by the product of the two standard deviations[^stat-corr].
>
> $$
> \rho = \frac{\mathrm{Cov}(X, Y)}{\sigma_X \, \sigma_Y}
> $$
>
> The variance of the sum is the sum of the two variances plus twice the covariance[^chiba-sum].
>
> $$
> V[X + Y] = \sigma_X^2 + \sigma_Y^2 + 2 \rho \, \sigma_X \, \sigma_Y
> $$
>
> With $$\sigma_X = \sigma_Y = 1$$ (in billions of yen), $$V[X + Y] = 2 \times (1 + \rho)$$.

## Assumptions and limits

The calculations so far assume that returns follow a normal distribution and that the daily values are independent. If those assumptions differ from actual price moves, the results change.

Actual stock returns take extreme negative values more often than a normal distribution would suggest[^hitu-tail]. This property is called having [fat tails](https://www.derivatives-compass.org/en/glossary/fat-tail/)[^imes-tail].

If the daily values are autocorrelated, converting by multiplying by the square root of the number of days becomes inaccurate[^hitu-vr]. The size of the error is covered on the [Random Walks and Brownian Motion](https://www.derivatives-compass.org/en/basics/random-walk-and-brownian-motion/) page.

The correlation coefficient measures only the strength of a proportional relationship between two values. A correlation coefficient of 0 does not necessarily mean the two values are unrelated, and a high correlation coefficient can also appear by chance between values that have nothing to do with each other[^stat-corr].

If the estimated correlation coefficient differs from the actual one, the spread of the combined total changes too. For two positions that each have a standard deviation of 1 billion yen, if the correlation coefficient is estimated at 0, the standard deviation of the total is about 1.414 billion yen. If the actual value is 0.5, it is about 1.732 billion yen, which is about 0.318 billion yen larger.

Go deeper: [Introduction to Stochastic Calculus (Ito's Lemma)](https://www.derivatives-compass.org/en/basics/stochastic-calculus/)

[^stat-rv]: [Statistics Bureau of Japan, Ministry of Internal Affairs and Communications, "推測統計"](https://www.stat.go.jp/naruhodo/11_tokusei/suisoku.html) (Inferential statistics; the "Inferential Statistics page"), in "なるほど統計学園" (Naruhodo Statistics Academy), the "（１）確率変数と確率分布" (Random variables and probability distributions) section (in Japanese).

[^chiba-ev]: [Chiba University, "確率変数の期待値について"](https://www.math.s.chiba-u.ac.jp/~yasuda/statB/expect-expl.pdf) (On the expected value of a random variable; version of June 10, 2009; hereafter "the Chiba notes"), section "1 賭けと期待値" (Bets and expected value), pages 1–2 (in Japanese). It explains that the average of the outcomes of a repeated game approaches the expected value (the law of large numbers), and gives the formula for the expected value as equation (1.2).

[^stat-var]: [Statistics Bureau of Japan, "データの散らばりを見る"](https://www.stat.go.jp/naruhodo/10_tokucho/chirabari.html) (Looking at the spread of data), in "なるほど統計学園," the "標準偏差と分散" (Standard deviation and variance) section (in Japanese). It defines the variance as the average of the squared deviations and the standard deviation as its positive square root.

[^chiba-var]: [The Chiba notes](https://www.math.s.chiba-u.ac.jp/~yasuda/statB/expect-expl.pdf), section "3 より一般な期待値の性質" (More general properties of the expected value), page 4: the formula for the variance, which defines it as the expected value of the squared deviation from the expected value.

[^stat-normal]: [The Inferential Statistics page](https://www.stat.go.jp/naruhodo/11_tokusei/suisoku.html), the "正規分布" (Normal distribution) section. It gives the probabilities of falling within the ranges as 0.683, 0.954, and 0.997, and, in the figure below the table, the one-sided probabilities beyond two standard deviations from the mean, 0.0214 and 0.0014.

[^hitu-log]: [Tokuo Iwaisako, "Lecture 2: ランダム・ウォーク仮説のテスト"](https://www.ier.hit-u.ac.jp/~iwaisako/class/Efinance2008/Efinance02_08dist.pdf) (Lecture 2: Testing the random walk hypothesis), Institute of Economic Research, Hitotsubashi University (revised October 2008; hereafter "Iwaisako's lecture notes"), the "基本的な概念の復習" (Review of basic concepts) slides, slides 2–3 (in Japanese).

[^nist-lognormal]: [National Institute of Standards and Technology, "Lognormal Distribution,"](https://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm) section 1.3.6.6.9 of the NIST/SEMATECH e-Handbook, "Probability Density Function" and "Range."

[^nist-location]: [National Institute of Standards and Technology, "Measures of Location,"](https://www.itl.nist.gov/div898/handbook/eda/section3/eda351.htm) section 1.3.5.1 of the NIST/SEMATECH e-Handbook, "median" under "Definition of Location."

[^nist-mean]: ["Lognormal Distribution,"](https://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm) "Common Statistics," Mean (the source's m is the median, and σ is the σ in the text).

[^jpx-vol]: [Osaka Exchange, "理論"](https://www.jpx.co.jp/ose-toshijuku/column/futures_option/option/03.html) (Theory), in "北浜投資塾" (Kitahama Investment School), the "ボラティリティ" (Volatility) and "インプライド・ボラティリティ" (Implied volatility) sections (in Japanese).

[^jpx-hv]: [Japan Exchange Group, "ヒストリカル・ボラティリティ（HV）"](https://www.jpx.co.jp/glossary/ha/382.html) (Historical volatility (HV)), in its glossary (in Japanese).

[^rounding-vol]: The annual figure is the daily standard deviation multiplied by the square root of 250, rounded to two decimal places.

[^hitu-var]: [Iwaisako's lecture notes](https://www.ier.hit-u.ac.jp/~iwaisako/class/Efinance2008/Efinance02_08dist.pdf), the "ランダム・ウォーク１" (Random walk 1) slide, equation (7) on slide 6. It shows that when the disturbance terms are independent and identically distributed, the variance is $$\sigma^2 t$$, proportional to time.

[^chiba-cov]: [The Chiba notes](https://www.math.s.chiba-u.ac.jp/~yasuda/statB/expect-expl.pdf), "定義 2.1 共分散" (Definition 2.1, covariance), page 3, equation (2.7).

[^stat-corr]: [Statistics Bureau of Japan, "複数の変数の関係性を見る"](https://www.stat.go.jp/naruhodo/10_tokucho/hukusu.html) (Looking at relationships between several variables), in "なるほど統計学園," the "相関係数" (Correlation coefficient) section (in Japanese).

[^chiba-sum]: [The Chiba notes](https://www.math.s.chiba-u.ac.jp/~yasuda/statB/expect-expl.pdf), "定理 2.1" (Theorem 2.1) (2), page 4, equation (2.9). The case in which the coefficients a and b are both 1 is the variance of a sum.

[^hitu-tail]: [Iwaisako's lecture notes](https://www.ier.hit-u.ac.jp/~iwaisako/class/Efinance2008/Efinance02_08dist.pdf), the "対数正規分布" (Lognormal distribution) slide, slide 4.

[^imes-tail]: [Yoshitaka Ando, "ヒストリカル法によるバリュー・アット・リスクの計測：市場価格変動の非定常性への実務的対応"](https://www.imes.boj.or.jp/research/papers/japanese/kk23-b2-1.pdf) (Measuring value at risk with the historical method: practical responses to the non-stationarity of market price movements), Kinyu Kenkyu, Institute for Monetary and Economic Studies, Bank of Japan (November 2004), the opening of the main text, page 2 of the PDF (in Japanese). It explains that the actual distribution of market prices has fatter tails than the normal distribution.

[^hitu-vr]: [Iwaisako's lecture notes](https://www.ier.hit-u.ac.jp/~iwaisako/class/Efinance2008/Efinance02_08dist.pdf), the "分散比検定" (Variance ratio test) slide, slide 19 (page 10 of the PDF), equations (1.19) and (1.20). They show that the two-day return variance is twice the one-day variance multiplied by (1 + ρ(1)), where ρ(1) is the first-order autocorrelation coefficient; that is, autocorrelation moves it away from twice the one-day variance.

**Read next**

- [The Black-Scholes Model](https://www.derivatives-compass.org/en/valuation/black-scholes/) — To see how the assumption that prices follow a lognormal distribution is used in the option pricing formula.
- [Implied Volatility](https://www.derivatives-compass.org/en/valuation/implied-volatility/) — To see how volatility is backed out of option market prices.
- [Value at Risk (VaR)](https://www.derivatives-compass.org/en/market-risk/var/) — To see how standard deviation and correlation are used to estimate the size of a position's loss.
- [Random Walks and Brownian Motion](https://www.derivatives-compass.org/en/basics/random-walk-and-brownian-motion/) — To see how returns move over time, from the random walk to Brownian motion.

## Sources

- [推測統計（なるほど統計学園）](https://www.stat.go.jp/naruhodo/11_tokusei/suisoku.html) — 総務省統計局
- [確率変数の期待値について](https://www.math.s.chiba-u.ac.jp/~yasuda/statB/expect-expl.pdf) — 千葉大学
- [データの散らばりを見る（なるほど統計学園）](https://www.stat.go.jp/naruhodo/10_tokucho/chirabari.html) — 総務省統計局
- [Lecture 2: ランダム・ウォーク仮説のテスト（資産価格の実証分析／金融経済論II）](https://www.ier.hit-u.ac.jp/~iwaisako/class/Efinance2008/Efinance02_08dist.pdf) — 一橋大学経済研究所 祝迫得夫
- [Lognormal Distribution（NIST/SEMATECH e-Handbook of Statistical Methods）](https://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm) — National Institute of Standards and Technology
- [Measures of Location（NIST/SEMATECH e-Handbook of Statistical Methods）](https://www.itl.nist.gov/div898/handbook/eda/section3/eda351.htm) — National Institute of Standards and Technology
- [理論（北浜投資塾）](https://www.jpx.co.jp/ose-toshijuku/column/futures_option/option/03.html) — 大阪取引所
- [ヒストリカル・ボラティリティ（HV）（用語集）](https://www.jpx.co.jp/glossary/ha/382.html) — 日本取引所グループ
- [複数の変数の関係性を見る（なるほど統計学園）](https://www.stat.go.jp/naruhodo/10_tokucho/hukusu.html) — 総務省統計局
- [ヒストリカル法によるバリュー・アット・リスクの計測：市場価格変動の非定常性への実務的対応](https://www.imes.boj.or.jp/research/papers/japanese/kk23-b2-1.pdf) — 日本銀行金融研究所
