Analyst Dojo
Lesson 8 of 13 11–14% of the exam

Chi-square and F-tests of variance

To test one variance against a value, use the chi-square statistic (n − 1)s² ÷ σ₀² with n − 1 degrees of freedom. To compare two variances, use F = s₁² ÷ s₂², usually putting the larger variance on top, with n₁ − 1 and n₂ − 1 degrees of freedom. Both distributions are non-negative and skewed right.

6 min cram, 30 min full read. Based on the 2027 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 7. Sitting in November 2026? The 2026 version of this lesson is still available.

Tailor this to you: take the self-assessment

Watch the lesson 15 min

The video follows this page: the same examples, then the checkpoint questions.

Before this: t-tests of a mean, a difference in means and paired differences

On the exam

  • Explain hypothesis testing and its components, including statistical significance, Type I and Type II errors, and the power of a test; construct appropriate hypothesis tests; and interpret the results

Construct tests of a single variance and of the equality of two variances, and determine their significance. Expect to compute a statistic from standard deviations and compare it with a critical value given in the stem.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

Why test a variance?

In finance the variance is the risk. A fund may promise to keep volatility below a stated level, or you may suspect that one strategy is riskier than another. Both questions are tests about variances, and both distributions involved are built from squared numbers.

Which variance test?
What is being tested?squared numbers, so the distributions start at zero and lean right
  • One variance against a value Memorize
    • Chi-square test Memorize χ² = (n − 1)s² ÷ σ₀²; n − 1 degrees of freedom
  • Two variances against each other Memorize
    • F-test Memorize F = larger s² ÷ smaller s²; n₁ − 1 and n₂ − 1 degrees of freedom

How do you test one variance?

Memorize

The chi-square distribution is non-negative and skewed right, and its shape depends on the degrees of freedom (df). Its critical values are tabulated, and the lower and upper tails are not mirror images. The test of a single variance compares the sample variance with a hypothesized value. The sample-size rules for choosing t or Z do not apply to chi-square and F tests.

Chi-square test of a single variance Memorize
χ2=(n−1) s2σ02,df=n−1\chi^2 = \frac{(n-1)\,s^2}{\sigma_0^2},\quad df = n - 1
Rearrange itChi-square statistic for one variance: solve for any one
The question asks for
A sample of 20 monthly returns has a standard deviation of 3.50%. For H₀: σ² ≤ 7.84 (σ₀ = 2.80%), the chi-square statistic is closest to:

(20 − 1) × 12.25 ÷ 7.84 = 29.6875

Chi-square statistic, χ²29.6875

On your calculator
  1. (20−1)×3.5x²÷2.8x²=

x² square

  1. 20ENTER1−3.5ENTER××2.8ENTER×÷

ENTER enter (on the HP, puts the number on the stack)

How do you compare two variances?

Memorize

The F-distribution is also non-negative and skewed right, with two degrees-of-freedom values: one for the numerator and one for the denominator. The shape of the F-distribution depends on both degrees of freedom. The test of the difference in variances divides one sample variance by the other.

F-test of the equality of two variances Memorize
F=s12s22(s12≥s22),df=(n1−1, n2−1)F = \frac{s_1^2}{s_2^2}\quad(s_1^2 \ge s_2^2),\quad df = (n_1 - 1,\ n_2 - 1)

Putting the larger variance on top is the usual convention: F is then at least 1, and a two-tailed test needs only the upper critical value at α ÷ 2. If the question fixes the order instead (for example, after ÷ before), a two-tailed test needs both a lower and an upper critical value, and you reject if F falls outside them.

Rearrange itF-statistic for two variances: solve for any one
The question asks for
Two funds have return standard deviations of 5.50% and 4.00%. The F-statistic for equality of variances, with the larger variance on top, is closest to:

30.25 ÷ 16 = 1.8906

F-statistic1.8906

On your calculator
  1. 5.5x²÷4x²=

x² square

  1. 5.5ENTER×4ENTER×÷

ENTER enter (on the HP, puts the number on the stack)

InteractiveIs the fund riskier than promised?

Try this 0 of 2

  • Keep s = 3.5% and σ₀ = 2.8% (upper tail, 5%). Add months until you reject H₀.
  • Switch to the two-tailed alternative and read the critical values.

Chi-square test of one variance: n 20, s 3.5%, σ₀ 2.8%. Statistic 29.69 with 19 degrees of freedom against 30.144: fail to reject H₀. Variance tests use squared numbers, so the curve starts at zero and leans right.

01020304050χ², df 19Reject H₀30.144χ² = 29.69
  • Reject H₀ (α 5%)
DecisionFail to reject H₀
χ² statistic29.69
Critical value30.144
p-value0.0559
Sample
The test
Alternative
Significance level α
Show working

H₀: σ² ≤ 7.84 against Hₐ: σ² > 7.84 (σ₀ = 2.8%, so σ₀² = 7.84).

χ² = (n − 1)s² ÷ σ₀² = 19 × 12.25 ÷ 7.84 = 29.69, df = n − 1 = 19.

Upper 5% critical value, df 19: 30.144.

29.69 is not in the rejection region → fail to reject H₀ (p = 0.0559).

Square both standard deviations: the test is about variances.

Chi-square statistic
  1. 19×3.5x²÷2.8x²=29.6875

x² square

  1. 19ENTER3.5ENTER××2.8ENTER×÷29.6875

ENTER enter (on the HP, puts the number on the stack)

Display: 29.6875

Variance tests use squared numbers, so the distributions start at zero and lean right.

Move the statistic into the tail on each tab. On the F tab, switch between one-tailed and two-tailed and watch the critical value move from 1.783 to 1.994.

Exam tip Standard deviations come in the stem; both tests need variances. Square first, then plug in.

Exam tip In a spreadsheet: CHISQ.INV.RT(0.05, 19) gives the upper 5% chi-square value 30.144; F.INV.RT(0.025, 25, 40) gives 1.994; F.INV(0.025, 25, 40) gives the lower value 0.472.

Go deeper Two-tailed chi-square tests

For H0H_0: σ² = σ₀² against HAH_A: σ² ≠ σ₀², there are two rejection regions, and because the chi-square curve is lopsided you need two different critical values: a lower one with α ÷ 2 in the left tail and an upper one with α ÷ 2 in the right tail. For a one-sided HAH_A you need only one of them: the upper value for “greater than”, the lower value for “less than”.

Go deeper The normality assumption

Both tests assume the underlying populations are normal, and they are far more sensitive to departures from normality than the t-test for a mean. If returns show heavy tails, the result can mislead, and a non-parametric approach or a larger sample is safer.

Go deeper The F-statistic returns in regression

The F-statistic reappears in the analysis of variance for a regression, where it compares the variance explained by the model with the variance left unexplained. The mechanics are the same: a ratio of variances, with its own pair of degrees of freedom.

Memorize this

MemorizeVariance tests

Chi-squareF
Testsone variancetwo variances
Statistic(n−1)s2σ02\dfrac{(n-1)s^2}{\sigma_0^2}s12s22\dfrac{s_1^2}{s_2^2} (larger on top)
Degrees of freedomn−1n-1n1−1n_1-1 and n2−1n_2-1
Shapenon-negative, skewed rightnon-negative, skewed right
Two-tailed critical valueslower and upperupper only at α/2\alpha/2 if the larger variance is on top; lower and upper if the order is fixed

Memory hook Variances are squares, so both distributions start at zero and have a long right tail. Putting the larger variance on top means the F-statistic is never below 1, so you only need the upper critical value.

Know it cold Square the standard deviations first. Use n−1n-1, not nn. Both tests assume normal populations.

Which variance test?
What is being tested?squared numbers, so the distributions start at zero and lean right
  • One variance against a value Memorize
    • Chi-square test Memorize χ² = (n − 1)s² ÷ σ₀²; n − 1 degrees of freedom
  • Two variances against each other Memorize
    • F-test Memorize F = larger s² ÷ smaller s²; n₁ − 1 and n₂ − 1 degrees of freedom
Chi-square test of a single variance Memorize
χ2=(n−1) s2σ02,df=n−1\chi^2 = \dfrac{(n-1)\,s^2}{\sigma_0^2},\quad df = n - 1
Quick example

16 monthly returns with s = 3.0%, tested against σ₀ = 2.0%. χ² = 15 × 9 ÷ 4 = 33.75, with 15 degrees of freedom.

On your calculator
  1. 15×3x²÷2x²= 33.75

x² square

  1. 15ENTER3ENTER××2ENTER×÷ 33.75

ENTER enter (on the HP, puts the number on the stack)

F-test of the equality of two variances Memorize
F=s12s22(s12≥s22),df=(n1−1, n2−1)F = \dfrac{s_1^2}{s_2^2}\quad(s_1^2 \ge s_2^2),\quad df = (n_1 - 1,\ n_2 - 1)
Quick example

Standard deviations of 8% and 5%. F = 64 ÷ 25 = 2.56, larger variance on top.

On your calculator
  1. 8x²÷5x²= 2.56

x² square

  1. 8ENTER×5ENTER×÷ 2.56

ENTER enter (on the HP, puts the number on the stack)

How it is asked

  1. Compute chi-square

    28 returns, s = 4.2%. Test H₀: σ = 3.0%. Statistic?

    27 × 4.2² ÷ 3.0² = 52.92. Traps: 54.88 (n instead of n − 1), 37.80 (standard deviations not variances).

  2. Compute F

    Standard deviations 9.0% and 7.0%. F?

    9.0² ÷ 7.0² = 1.65. Traps: 1.29 (standard deviations), 0.60 (smaller on top).

  3. One-tailed or two-tailed critical value

    F = 1.89, df (25, 40). Hₐ: σ₁² greater than σ₂² (5%) or σ₁² not equal to σ₂² (5%)?

    One-tailed critical 1.783: reject. Two-tailed (upper 2.5%) 1.994: fail to reject.

  4. Pick the distribution

    Which distribution tests whether a single variance equals a hypothesized value?

    Chi-square. Traps: t (that is for means), F (that is for two variances).

  5. Fixed-order two-tailed F

    F = after ÷ before = 0.722, two-tailed 5% critical values 0.697 and 1.435.

    0.722 lies between them: fail to reject. Rejecting because F is below 1 is the trap.

Exam traps

  • Using n instead of n − 1 in the chi-square statistic or the degrees of freedom.
  • Plugging in standard deviations instead of variances. Square them first.
  • Putting the smaller variance on top by habit. By convention the larger goes on top, so F is at least 1; if a question fixes the order, use both a lower and an upper critical value.
  • Using the one-tailed F critical value for a test of 'equal variances'. A two-tailed test at 5% uses the upper 2.5% value.

Checkpoint

5 exam-style questions. About 90 seconds each.

  1. 1A sample of 25 returns has a standard deviation of 3.2%. To test H₀: σ = 2.5%, the chi-square statistic is closest to:

  2. 2Two samples have standard deviations of 7.2% and 5.4%. The F-statistic for equality of variances is closest to:

  3. 3A test of whether a single population variance equals a hypothesized value uses the:

  4. 4A value fund (31 months, s = 6%) and a growth fund (41 months, s = 4.5%) give F = 1.78 with 30 and 40 degrees of freedom. The upper 5% critical value is 1.744 and the upper 2.5% critical value is 1.943. For the one-sided alternative that the value fund is more volatile, tested at the 5% level, the analyst should conclude that:

  5. 5An analyst compares the variance of weekly returns over 100 weeks after a rule change (12.5) with the 100 weeks before it (18.0), using F = after ÷ before. The two-tailed 5% critical values are 0.673 and 1.486. The analyst should most appropriately:

Key takeaways

  • One variance: χ² = (n − 1)s² ÷ σ₀², df n − 1.
  • Two variances: F = larger s² ÷ smaller s², df (n₁ − 1, n₂ − 1).
  • Both tests use variances, not standard deviations, and assume normal populations.
  • The wording of Hₐ decides whether the critical value is one-tailed or two-tailed.
  • If the order of the two variances is fixed, a two-tailed F-test needs a lower and an upper critical value.
Chi-square test of a single variance Memorize
χ2=(n−1) s2σ02,df=n−1\chi^2 = \dfrac{(n-1)\,s^2}{\sigma_0^2},\quad df = n - 1
Quick example

16 monthly returns with s = 3.0%, tested against σ₀ = 2.0%. χ² = 15 × 9 ÷ 4 = 33.75, with 15 degrees of freedom.

On your calculator
  1. 15×3x²÷2x²= 33.75

x² square

  1. 15ENTER3ENTER××2ENTER×÷ 33.75

ENTER enter (on the HP, puts the number on the stack)

F-test of the equality of two variances Memorize
F=s12s22(s12≥s22),df=(n1−1, n2−1)F = \dfrac{s_1^2}{s_2^2}\quad(s_1^2 \ge s_2^2),\quad df = (n_1 - 1,\ n_2 - 1)
Quick example

Standard deviations of 8% and 5%. F = 64 ÷ 25 = 2.56, larger variance on top.

On your calculator
  1. 8x²÷5x²= 2.56

x² square

  1. 8ENTER×5ENTER×÷ 2.56

ENTER enter (on the HP, puts the number on the stack)

All Quantitative Methods formulas, every lesson

Practice exam-style questions on Estimation and Hypothesis Testing

Questions about this lesson?

Where this comes back

Questions candidates ask

When do you use a chi-square test in CFA Level 1?

Use it to test a hypothesis about a single population variance, such as whether a fund's volatility is higher than promised. The statistic is (n − 1)s² ÷ σ₀², with n − 1 degrees of freedom. The chi-square distribution returns later in this module for the test of independence.

How do you calculate an F-statistic for two variances?

Square both sample standard deviations to get variances, then divide the larger by the smaller: F = s₁² ÷ s₂². The degrees of freedom are n₁ − 1 for the numerator and n₂ − 1 for the denominator. For standard deviations of 8% and 5%, F = 64 ÷ 25 = 2.56.

Why is the larger variance in the numerator of the F-test?

It is a convention that keeps F at 1 or above, so a two-tailed test of equal variances at 5% needs only the upper 2.5% critical value. If a question fixes the order instead, F can fall below 1, so use both a lower and an upper critical value.

Spotted an error? Tell us and we will fix it.

  1. The central limit theorem and the standard error of the mean
  2. Confidence intervals for a mean return
  3. Value at risk from the normal distribution
  4. Sampling methods and sampling error
  5. How a hypothesis test works: four steps from claim to decision
  6. Type I and Type II errors and the power of a test
  7. t-tests of a mean, a difference in means and paired differences
  8. Chi-square and F-tests of variance
  9. Is a correlation significant? The t-test of correlation
  10. P-values, p-hacking and critical values from software
  11. Parametric vs non-parametric tests
  12. Spearman rank correlation: the non-parametric test
  13. Chi-square test of independence with a contingency table

Ask Sensei Listen instead

Questions on Chi-square and F-tests of variance

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans