Analyst Dojo
Lesson 1 of 5 6–9% of the exam

You are reading the 2026 curriculum (exams up to November 2026). Sitting in February 2027 or later? Go to the 2027 Quantitative Methods guide.

How a hypothesis test works: null, critical value, p-value

State a null hypothesis (the claim to test, with an equals sign) and an alternative. Compute a test statistic: how many standard errors the sample result is from the null. If it lands beyond the critical value for your significance level, or its p-value is below that level, reject the null.

8 min cram, 36 min full read. Based on the 2026 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 8. This is the 2026 version of the lesson. Sitting in February 2027 or later? Read the updated 2027 version.

Tailor this to you: take the self-assessment

Before this: The central limit theorem and the standard error of the mean

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 hypothesis tests and determine their statistical significance, the associated Type I and Type II errors, and power of the test given a significance level

Explain the parts of a hypothesis test and determine statistical significance at a given level. Expect hypotheses to write from a claim, one- versus two-tailed critical values, and p-value interpretation.

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.

What is a hypothesis test?

A hypothesis is a statement about a population that we can check against data, such as “this strategy earns a positive excess return”. Hypothesis testing is the procedure that uses a sample to decide whether such a statement is plausible or whether the sample is too far from it to be chance. It answers one question: is the result real, or just sampling noise?

What are the six steps?

Memorize

Every test follows the same path, whatever statistic it uses.

  1. State the hypotheses.
  2. Identify the test statistic and its distribution.
  3. Choose the significance level.
  4. State the decision rule.
  5. Collect the data and compute the statistic.
  6. Decide, then make the economic or investment decision.
The six steps of a hypothesis test
Hypothesis testfrom a claim to a decision
  • 1. State the hypotheses Memorize H₀ (with the equals sign) and Hₐ
  • 2. Identify the test statistic Memorize and its distribution
  • 3. Choose the significance level Memorize α, usually 5%
  • 4. State the decision rule Memorize critical value(s)
  • 5. Compute the statistic Memorize from the sample
  • 6. Decide Memorize reject or fail to reject, then the economic decision

What are the null and the alternative?

The null hypothesis (H₀) is the statement we try to reject. It is assumed true until the sample gives convincing evidence otherwise, and it always contains the equals sign (=, ≤ or ≥). The alternative hypothesis (Hₐ) is what we accept if we reject the null. Together they cover every possible value of the parameter.

The practical rule: what you hope to show goes in Hₐ. If an analyst suspects a fund beats 6%, the claim “above 6%” is the alternative, and the null is “at most 6%”.

Exam tip Write Hₐ first, straight from the claim. Then H₀ is whatever is left over, with the equals sign.

One-tailed or two-tailed?

The wording of Hₐ sets the number of tails. A two-tailed test asks whether the parameter is different from the hypothesized value in either direction, so the rejection region is split between both tails. A one-tailed test asks about one direction only and puts all of the rejection region in that tail.

Which form of hypotheses?
The claim you want to showit goes in Hₐ; the equals sign stays in H₀
  • Two-tailed test Memorize the claim is "different from"
    • H₀: μ = μ₀ versus Hₐ: μ ≠ μ₀ Memorize α split across both tails; z at 5%: ±1.96
  • One-tailed test, right Memorize the claim is "greater than"
    • H₀: μ ≤ μ₀ versus Hₐ: μ > μ₀ Memorize all of α in the right tail; z at 5%: +1.645
  • One-tailed test, left Memorize the claim is "less than"
    • H₀: μ ≥ μ₀ versus Hₐ: μ < μ₀ Memorize all of α in the left tail; z at 5%: −1.645

The one-tailed critical value is smaller in absolute terms than the two-tailed value at the same significance level, which makes a one-tailed test easier to pass in the direction you predicted. That is why the direction must come from the claim, not from the data.

How do you build the test statistic and the decision rule?

Memorize

The test statistic measures how far the sample result is from the hypothesized value, counted in standard errors.

Test statistic Memorize
Test statistic=Sample statistic−Hypothesized valueStandard error of the sample statistic\text{Test statistic} = \frac{\text{Sample statistic} - \text{Hypothesized value}}{\text{Standard error of the sample statistic}}

For a mean with an unknown population variance, the statistic follows a t-distribution with n − 1 degrees of freedom.

Test statistic for a single mean Memorize
t=Xˉ−μ0s / n,df=n−1t = \frac{\bar{X} - \mu_0}{s \,/\, \sqrt{n}},\quad df = n - 1

The level of significance (α) is the probability of rejecting a true null that you are willing to accept, usually 5%. It fixes the critical values : the cut-off points that separate the rejection region from the rest. The confidence level is its complement.

Confidence level Use it
Confidence level=1−α\text{Confidence level} = 1 - \alpha

Reject H₀ if the statistic falls beyond a critical value. Otherwise fail to reject it.

Two equivalent ways to decide
Reject H₀ when
  • Critical-value rule Memorize the test statistic is beyond the critical value
  • p-value rule Memorize the p-value is less than α
Rearrange itt-statistic for a mean: solve for any one
The question asks for
A sample of 36 monthly excess returns has a mean of 0.45% and a standard deviation of 1.20%. For H₀: μ = 0.00%, the t-statistic is closest to:

(0.45% − 0.00%) ÷ (1.20% ÷ √36) = 2.25

Test statistic, t2.25

On your calculator
  1. (0.45−0)÷(1.2÷36√x)=

√x square root

  1. 0.45ENTER0−1.2ENTER36g√x÷÷

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

InteractiveDoes the statistic land in the rejection region?

Try this 0 of 3

  • Keep t = 2.25 on the right tail and pick a significance level at which you fail to reject H₀.
  • Switch to two tails at 5% and drag t onto the edge of the rejection region.
  • Keep t = 2.25 and switch to a left-tail test. Read the p-value.

t distribution with 35 degrees of freedom, right tail test at α 5%: critical value 1.690. Test statistic 2.25, p-value 0.0154: reject h₀. Reject when the statistic falls in the tail; the p-value is the tail beyond your statistic.

−4−2024tReject H₀1.690t = 2.25

Drag the Test statistic t, tap the chart, or focus the handle and use the arrow keys.

  • Rejection region (α 5%)
  • p-value 0.0154
DecisionReject H₀
Critical value1.690
p-value0.0154
The test
Rejection region
Significance level α
Your sample
Show working

Worked example: 36 monthly excess returns average 0.45% with s = 1.2%. t = 0.45 ÷ (1.2 ÷ √36) = 0.45 ÷ 0.2 = 2.25, with 36 − 1 = 35 degrees of freedom.

Hypotheses for this tail: H₀: μ ≤ 0 against Hₐ: μ > 0.

Decision rule at α = 5%, df 35: reject if t > 1.690.

t = 2.25: inside the rejection region, so reject H₀.

p-value = the area to the right of 2.25 = 0.0154. Below α = 5%, the same decision.

The p-value is the smallest α at which you would reject H₀. It is not the probability that H₀ is true.

The worked example's t-statistic
  1. 0.45÷(1.2÷36√x)=2.25

√x square root

  1. 0.45ENTER1.2ENTER36g√x÷÷2.25

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

Display: 2.25

Reject when the statistic falls in the tail; the p-value is the tail beyond your statistic.

Slide the statistic into the shaded tail and watch the decision flip. Then switch from one-tailed to two-tailed and see the critical value move out.

What does the p-value add?

The p-value is the smallest significance level at which the null can be rejected. For a right-tailed test it is the area in the tail beyond your statistic. Using it replaces the critical value: reject if the p-value is less than α.

In the example, t = 2.25 with 35 degrees of freedom has a one-tailed p-value of 0.015. So H₀ is rejected at 5% and at 2.5%, but not at 1%. A software package reports the p-value; the exam usually gives it or gives critical values, not both.

A result that clears the bar is statistically significant : it is unlikely to be chance alone at the chosen level. That says nothing yet about whether it matters in money terms.

Go deeper Statistical versus economic significance

An edge of 0.05% a month can be statistically significant in a long enough sample, yet vanish once trading costs, taxes and the risk of the strategy are counted. Always finish step 6 by asking whether the effect is large enough to act on after costs, and whether it would survive in a different period.

Go deeper Confidence intervals and two-tailed tests agree

A two-tailed test at 5% rejects H₀: μ = μ₀ exactly when μ₀ lies outside the 95% confidence interval for μ. The two tools make the same decision from different angles: the interval shows the range of plausible values, the test gives a yes or no.

Go deeper z or t?

Use a t-distribution when the population variance is unknown, which is almost always. The t critical values are larger for small samples, so the test is more cautious, and they approach the z values as n grows. With σ known, or in a large sample where the exam says so, use z.

Memorize this

Memorizez critical values

Significance level αOne-tailedTwo-tailed
10%1.281.645
5%1.6451.96
1%2.332.575

Memory hook Two-tailed at α is one-tailed at α ÷ 2. So the two-tailed 5% value (1.96) is the one-tailed 2.5% value, and 1.645 appears twice: one-tailed 5% and two-tailed 10%.

Know it cold One-tailed values are smaller than two-tailed values at the same α. Smaller α pushes the critical value farther out.

MemorizeDecision rules and wording

ItemRule
Reject H0H_0 whenstatistic beyond the critical value, or p-value less than α\alpha
Equals signalways in H0H_0 (==, ≤\le or ≥\ge)
Claim to provegoes in HaH_a
Confidence level1−α1 - \alpha
p-valuesmallest α\alpha at which H0H_0 is rejected
Wording"reject" or "fail to reject", never "accept"

Memory hook The null is innocent until proven guilty: the evidence either convicts it or fails to convict it. It is never declared proven innocent.

Know it cold A p-value is not the probability that H0H_0 is true.

The six steps of a hypothesis test
Hypothesis testfrom a claim to a decision
  • 1. State the hypotheses Memorize H₀ (with the equals sign) and Hₐ
  • 2. Identify the test statistic Memorize and its distribution
  • 3. Choose the significance level Memorize α, usually 5%
  • 4. State the decision rule Memorize critical value(s)
  • 5. Compute the statistic Memorize from the sample
  • 6. Decide Memorize reject or fail to reject, then the economic decision
Which form of hypotheses?
The claim you want to showit goes in Hₐ; the equals sign stays in H₀
  • Two-tailed test Memorize the claim is "different from"
    • H₀: μ = μ₀ versus Hₐ: μ ≠ μ₀ Memorize α split across both tails; z at 5%: ±1.96
  • One-tailed test, right Memorize the claim is "greater than"
    • H₀: μ ≤ μ₀ versus Hₐ: μ > μ₀ Memorize all of α in the right tail; z at 5%: +1.645
  • One-tailed test, left Memorize the claim is "less than"
    • H₀: μ ≥ μ₀ versus Hₐ: μ < μ₀ Memorize all of α in the left tail; z at 5%: −1.645
Two equivalent ways to decide
Reject H₀ when
  • Critical-value rule Memorize the test statistic is beyond the critical value
  • p-value rule Memorize the p-value is less than α
Test statistic Memorize
Test statistic=Sample statistic−Hypothesized valueStandard error of the sample statistic\text{Test statistic} = \dfrac{\text{Sample statistic} - \text{Hypothesized value}}{\text{Standard error of the sample statistic}}
Quick example

A sample mean of 7.2% against a hypothesized 6%, with a standard error of 0.8%: (7.2 − 6) ÷ 0.8 = 1.50 standard errors above the null.

On your calculator
  1. (7.2−6)÷0.8= 1.5
  1. 7.2ENTER6−0.8÷ 1.5

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

Test statistic for a single mean Memorize
t=Xˉ−μ0s / n,df=n−1t = \dfrac{\bar{X} - \mu_0}{s \,/\, \sqrt{n}},\quad df = n - 1
Quick example

16 returns average 1.5% with s = 3%. For H₀: μ = 0.5%, t = (1.5 − 0.5) ÷ (3 ÷ √16) = 1 ÷ 0.75 = 1.33, with 15 degrees of freedom.

On your calculator
  1. (1.5−0.5)÷(3÷16√x)= 1.3333

√x square root

  1. 1.5ENTER0.5−3ENTER16g√x÷÷ 1.3333

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

Confidence level Use it
Confidence level=1−α\text{Confidence level} = 1 - \alpha
Quick example

A 1% significance level is a 99% confidence level.

How it is asked

  1. Write the hypotheses from a claim

    An analyst wants to show a fund beats 6%. Which hypotheses?

    Claim in Hₐ: H₀: μ ≤ 6%; Hₐ: μ > 6%. Traps: two-tailed with "=", or the claim placed in the null.

  2. Compute t and compare

    49 observations, mean 1.1, s 2.4, H₀: μ = 0. Statistic?

    1.1 ÷ (2.4 ÷ √49) = 3.21. Traps: 0.46 (forgot √n), 22.46 (divided by n).

  3. Read a p-value

    p-value = 0.03. Conclusion?

    Reject at 5%, not at 1%. Trap: "3% chance H₀ is true".

  4. Negative statistic, two-tailed

    Two-tailed 5% z-test, z = −2.05. Conclusion?

    |−2.05| is greater than 1.96, so reject. Compare the absolute value.

Exam traps

  • Putting the claim you want to prove in the null. The claim goes in the alternative; the null keeps the equals sign.
  • Using a two-tailed critical value for a one-tailed test, or the reverse. Check the sign in Hₐ first.
  • Saying 'accept H₀'. The correct wording is 'fail to reject', because a sample can never prove the null.
  • Reading the p-value as the probability that H₀ is true. It is the probability of a result at least this extreme if H₀ were true.

Checkpoint

4 exam-style questions. About 90 seconds each.

  1. 1An analyst wants to show that a fund's mean return exceeds 6%. The hypotheses are best stated as:

  2. 2A test of 49 daily returns gives a mean of 1.1 basis points and a standard deviation of 2.4 basis points. For H₀: μ = 0, the t-statistic is closest to:

  3. 3A test statistic has a p-value of 0.03. The analyst should most appropriately:

  4. 4In a two-tailed z-test at the 5% level (critical values ±1.96), the test statistic is −2.05. The analyst should:

Key takeaways

  • Six steps: hypotheses, statistic, α, decision rule, compute, decide.
  • Claim goes in Hₐ; the equals sign goes in H₀.
  • Test statistic = (sample statistic − hypothesized value) ÷ standard error.
  • Reject if the statistic is beyond the critical value, or if the p-value is less than α.
  • Statistical significance is not economic significance.
Test statistic Memorize
Test statistic=Sample statistic−Hypothesized valueStandard error of the sample statistic\text{Test statistic} = \dfrac{\text{Sample statistic} - \text{Hypothesized value}}{\text{Standard error of the sample statistic}}
Quick example

A sample mean of 7.2% against a hypothesized 6%, with a standard error of 0.8%: (7.2 − 6) ÷ 0.8 = 1.50 standard errors above the null.

On your calculator
  1. (7.2−6)÷0.8= 1.5
  1. 7.2ENTER6−0.8÷ 1.5

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

Test statistic for a single mean Memorize
t=Xˉ−μ0s / n,df=n−1t = \dfrac{\bar{X} - \mu_0}{s \,/\, \sqrt{n}},\quad df = n - 1
Quick example

16 returns average 1.5% with s = 3%. For H₀: μ = 0.5%, t = (1.5 − 0.5) ÷ (3 ÷ √16) = 1 ÷ 0.75 = 1.33, with 15 degrees of freedom.

On your calculator
  1. (1.5−0.5)÷(3÷16√x)= 1.3333

√x square root

  1. 1.5ENTER0.5−3ENTER16g√x÷÷ 1.3333

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

Confidence level Use it
Confidence level=1−α\text{Confidence level} = 1 - \alpha
Quick example

A 1% significance level is a 99% confidence level.

Questions about this lesson?

Where this comes back

Questions candidates ask

What is a p-value in simple terms?

It is the probability of getting a sample result at least as extreme as yours if the null hypothesis were true. Equivalently, it is the smallest significance level at which you could reject the null. A small p-value means the result would be rare under the null.

How do you know whether to use a one-tailed or two-tailed test?

Look at the claim. If it says 'greater than' or 'less than', put it in the alternative and use a one-tailed test with all of α in that tail. If it says 'different from' or 'changed', use a two-tailed test with α split between both tails.

Why do we 'fail to reject' rather than 'accept' the null hypothesis?

A sample that fails to show a difference has not proved there is none. The evidence may simply be too thin. The test can reject the null with a stated error risk, but it can never establish that the null is true, so we say 'fail to reject'.

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

  1. How a hypothesis test works: null, critical value, p-value
  2. Type I and Type II errors and the power of a test
  3. t-tests of a mean, a difference in means and paired differences
  4. Chi-square and F-tests of variance
  5. Parametric vs nonparametric tests

Ask Sensei Listen instead

Questions on How a hypothesis test works: null, critical value, p-value

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