Skip to the page

Statistics and experiments · core

p-values and confidence intervals

A p-value says how surprising the data is if the change did nothing. A confidence interval gives the range of effects that fit the data. Neither is the chance that the change works, and significant does not mean important.

The notes

What you must know

  • p-value: if the change truly did nothing, a difference this big or bigger would appear by chance about p of the time (3% for p = 0.03). It is not the chance that the change works and it is not '97% sure'.
  • 95% confidence interval: the method gives an interval that contains the true effect in 95% of repeated experiments. Read it as the range of effects that fit the data.
  • Example: up 0.8 percentage points with a 95% interval of 0.1 to 1.5 points. The true lift could be as small as 0.1 or as large as 1.5. The low end may not pay for the change.
  • Compare the interval with the smallest lift worth having. Significant is not the same as important: with lakhs of users, tiny effects become significant.
  • p = 0.20 means the data cannot be told apart from noise with this sample. It does not mean there is no effect. Look at the interval and at whether the test reached its planned size.
  • Central limit theorem: averages over many independent users are close to normal even when single users are not. This is why z- and t-tests work for conversion and revenue, with care for very skewed revenue.
  • Absolute versus relative: 10% to 10.8% is +0.8 percentage points, or +8% relative. Always say which.

The red pen

Common traps: mistake → fix

  • Mistake: p = 0.03 means a 97% chance the change works

    Fix: it is about the data under no effect, not about the change.

  • Mistake: Not significant means no effect

    Fix: it means the test could not tell; check the interval and the sample size.

  • Mistake: A significant result is a big result

    Fix: size and importance come from the interval.

Easy to hard

Questions interviewers ask, easy to hard

  1. Explain a p-value of 0.03 to a product manager.
  2. What does a 95% confidence interval of 0.1 to 1.5 points tell you?
  3. A result is significant but tiny. Do you ship?
  4. What does the central limit theorem have to do with A/B tests?
  5. p is 0.20. What do you say?

Practise

Practise with these questions

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview