โ† Back to Blog
๐Ÿ“… 2026-11-17 ๐Ÿ“‚ Tags: FRM / Variance and Standard Deviation / Statistics ๐Ÿ‘ 0 views

Variance and Standard Deviation in Practice: 3 Typical Examples Explained Step by Step

Why Variance and Standard Deviation Are Core FRM Topics

In risk management, volatility is the most fundamental measure of uncertainty in asset prices, and variance and standard deviation are the core mathematical tools for quantifying volatility. Whether you are calculating portfolio risk, VaR, or running Monte Carlo simulations, you cannot avoid these two concepts. In the FRM Level I exam, variance and standard deviation calculations appear almost every year, often as multi-step comprehensive problems.

This article walks you through the logic of variance and standard deviation calculations using 3 typical examples, and includes specific BA II Plus keystroke procedures to help you truly master this high-frequency exam topic.


1. Review of Core Concepts

Population Variance vs. Sample Variance

Type Formula Use Case
Population variance $\sigma^2 = \frac{1}{N}\sum_{i=1}^{N}(X_i - \mu)^2$ When you have the complete population data
Sample variance $S^2 = \frac{1}{N-1}\sum_{i=1}^{N}(X_i - \bar{X})^2$ When you draw a sample from the population

Key distinction: Population variance uses $N$ as the denominator, while sample variance uses $N-1$ (Bessel correction). In the FRM exam, historical return data is typically treated as a sample, so $N-1$ is the default.

The standard deviation is the square root of the variance: $\sigma = \sqrt{\sigma^2}$ and $S = \sqrt{S^2}$.

Relationship Between Volatility and Standard Deviation

In finance, volatility typically refers to the annualized standard deviation. If the monthly standard deviation is $\sigma_m$, then the annualized volatility is:

$$\sigma_{annual} = \sigma_m \times \sqrt{12}$$


2. Three Typical Examples Explained in Detail

Example 1: Basic Sample Variance Calculation

Problem: The annual returns of a stock over the past 5 years were: 12%, 8%, -3%, 15%, 7%. Calculate the sample variance and sample standard deviation of this data set.

Solution Steps:

Step 1: Calculate the sample mean

$$\bar{X} = \frac{12 + 8 + (-3) + 15 + 7}{5} = \frac{39}{5} = 7.8\%$$

Step 2: Calculate the squared deviation of each observation from the mean

Year $X_i$ $X_i - \bar{X}$ $(X_i - \bar{X})^2$
1 12% 4.2% 17.64
2 8% 0.2% 0.04
3 -3% -10.8% 116.64
4 15% 7.2% 51.84
5 7% -0.8% 0.64

Step 3: Sum the squared deviations

$$\sum(X_i - \bar{X})^2 = 17.64 + 0.04 + 116.64 + 51.84 + 0.64 = 186.80$$

Step 4: Divide by $N-1$ to get the sample variance

$$S^2 = \frac{186.80}{5-1} = \frac{186.80}{4} = 46.70$$

Step 5: Take the square root to get the sample standard deviation

$$S = \sqrt{46.70} \approx 6.83\%$$

โœ… BA II Plus keystrokes:

Step 1: Clear statistical cache
2nd โ†’ CLN (screen shows 0.000000000)

Step 2: Enter data
Enter sequentially: 12 โ†’ STO 1
                    8  โ†’ STO 1
                   -3  โ†’ STO 1
                    15 โ†’ STO 1
                    7  โ†’ STO 1

Step 3: Read results
2nd โ†’ STO (switch to statistics mode)
โ†’ Press 1 to view xฬ„ (mean = 7.8)
โ†’ Press 3 to view s (sample standard deviation = 6.8338)
โ†’ Press 4 to view sยฒ (sample variance = 46.70)

๐Ÿ’ก Tip: In the statistics mode of the BA II Plus, after 2nd โ†’ STO, pressing 3 gives the sample standard deviation (s), and pressing 4 gives the sample variance (sยฒ). This is the most commonly used keystroke combination in the FRM exam.


Example 2: Population Variance vs. Sample Variance Comparison

Problem: An index fund had quarterly returns of 5%, -2%, 8%, and 3% over the past 4 quarters. Calculate both the population variance and the sample variance, and explain the reason for the difference.

Solution:

Mean: $\bar{X} = \frac{5 + (-2) + 8 + 3}{4} = 3.5\%$

Sum of squared deviations: $(5-3.5)^2 + (-2-3.5)^2 + (8-3.5)^2 + (3-3.5)^2 = 2.25 + 30.25 + 20.25 + 0.25 = 53.00$

Reason for the difference: The sample variance uses $N-1$ as the denominator to provide an unbiased estimate of the population variance. When the sample size is small, using $N$ as the denominator systematically underestimates the population variance, so the Bessel correction is needed.

โœ… BA II Plus keystrokes:

Step 1: 2nd โ†’ CLN to clear cache

Step 2: Enter sequentially
5 โ†’ STO 1
-2 โ†’ STO 1
8 โ†’ STO 1
3 โ†’ STO 1

Step 3: 2nd โ†’ STO to enter statistics mode
โ†’ Press 3: s = 4.2036 (sample standard deviation)
โ†’ Press 4: sยฒ = 17.6667 (sample variance)

Step 4: Calculate population variance
17.6667 ร— (3 รท 4) = 13.25
(i.e., sยฒ ร— (N-1)/N)

Example 3: Annualized Volatility Calculation (High-Frequency FRM Question Type)

Problem: The monthly standard deviation of a stock's returns over the past 12 months is 4.5%. Calculate the annualized volatility of the stock, and estimate its monthly VaR at the 95% confidence level (assume the mean is zero and the Z-value is 1.645).

Solution:

Step 1: Annualized volatility

$$\sigma_{annual} = 4.5\% \times \sqrt{12} = 4.5\% \times 3.4641 \approx 15.59\%$$

Step 2: Monthly VaR

$$VaR_{95\%} = Z_{95\%} \times \sigma_m = 1.645 \times 4.5\% = 7.40\%$$

This means that at the 95% confidence level, the maximum expected one-month loss for this stock is 7.40% of the market value of the position.

โœ… BA II Plus keystrokes:

Step 1: Annualized volatility
4.5 โ†’ ร— โ†’ 12 โ†’ โˆš โ†’ ร— = 15.5885%

Step 2: Monthly VaR
1.645 ร— 4.5 = 7.4025%

๐Ÿ’ก RBA Calculator recommendation: If you prefer to practice on your phone, we recommend the RBA Calculator (TI BA II Plus iOS app). Its interface fully simulates the real BA II Plus calculator and supports all functions including statistics mode, TVM, and cash flows. It is especially useful for repeatedly practicing variance and standard deviation calculations during commutes or spare moments, helping you build muscle memory for the exam.


3. Common Mistakes to Avoid

โŒ Mistake 1: Confusing Population Variance with Sample Variance

This is the most common point loss in the FRM exam. Historical data = sample, so you must use $N-1$. Only when the question explicitly states "the following is the complete data set" or mentions "population" should you use $N$.

โŒ Mistake 2: Forgetting the Annualization Conversion

When the question gives monthly or weekly standard deviation and asks for annualized volatility, you must multiply by $\sqrt{k}$ (where $k$ is the number of periods in a year). For monthly data, multiply by $\sqrt{12}$; for weekly, $\sqrt{52}$; for daily, $\sqrt{252}$.

โŒ Mistake 3: Not Clearing the Cache After BA II Plus Operations

When solving two consecutive problems, if you forget to press 2nd โ†’ CLN to clear the previous statistical data, the newly entered data will be mixed with the old data, leading to completely incorrect results.

โŒ Mistake 4: Confusing Standard Deviation with Variance

The standard deviation is the square root of the variance, and its units are the same as the original data (e.g., percentage), while the variance has units of percentage squared. In portfolio risk calculations, standard deviations can be added directly (when the correlation coefficient is 1), but variances cannot.


4. FAQ

Q1: Which is tested more in the FRM exam, variance or standard deviation?

Both are tested, but standard deviation (i.e., volatility) appears more frequently in risk management contexts. It is recommended to master both, especially being able to quickly read $s$ and $sยฒ$ on the BA II Plus.

Q2: Why does the sample variance use $N-1$ instead of $N$?

The variance calculated using $N$ is a biased estimate of the population variance (systematically underestimating it). After dividing by $N-1$, the sample variance becomes an unbiased estimator of the population variance. This is crucial in FRM risk estimation because we need to use limited historical data to infer future risk levels.

Q3: If the question says "assume returns are normally distributed," what is the impact on variance calculation?

The normality assumption does not change the method of calculating variance, but it affects the derivation of subsequent risk measures. For example, under the normality assumption, the 95% confidence level VaR can be calculated directly as $1.645 \times \sigma$; if the distribution has fat tails, other methods are needed.

Q4: How do you calculate the standard deviation of a portfolio?

For a portfolio consisting of two assets, the standard deviation formula is:

$$\sigma_p = \sqrt{w_1^2\sigma_1^2 + w_2^2\sigma_2^2 + 2w_1w_2\rho_{12}\sigma_1\sigma_2}$$

where $\rho_{12}$ is the correlation coefficient between the two assets. Note that the portfolio variance (not the standard deviation) includes the covariance term $2w_1w_2\rho_{12}\sigma_1\sigma_2$, which is the mathematical expression of how diversification reduces risk.


5. Study Tips

Although variance and standard deviation are simple concepts, they are often tested in combination with other topics in the FRM exam. Here are some suggestions for your practice:

  1. Do 2-3 statistical calculation problems with the BA II Plus every day to build muscle memory for the keystrokes
  2. Manually verify the BA II Plus results on scratch paper to ensure you understand the logic of each step
  3. Pay attention to annualization conversions โ€” this is the "trap" the FRM exam loves to set
  4. Practice anytime on your phone with the RBA Calculator to reinforce your skills during spare moments

Mastering variance and standard deviation means mastering the "measuring stick" of quantitative risk. Good luck with your exam preparation!

๐Ÿ“ฑ Need to practice?

RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.

Free Download on App Store

Don't want to download?Try the web calculators โ†’