EXPERIMENTATION & A/B TESTING · INTERVIEW QUESTION
What is a p-value? Common misconceptions?
🟢 beginner · A/B Testing Fundamentals
Hint: It's NOT the probability the null hypothesis is true.
Answer
P-value: probability of observing data as extreme as (or more extreme than) the observed results, assuming the null hypothesis is true.
Interview reasoning
Common misconceptions:
- It is NOT — that's the posterior in Bayesian framework
- A small p-value doesn't mean a large effect — statistical vs practical significance differ
- p = 0.05 is an arbitrary threshold
- Multiple testing inflates false positives (need Bonferroni or FDR correction)
- P-values don't measure effect size or importance.
Always report confidence intervals and effect sizes alongside p-values. Consider Bayesian alternatives for more interpretable results.
A p-value is the probability, under the null model and analysis assumptions, of a result at least as extreme as the observed statistic. It is not the probability the null is true or the effect is valuable. Interpretation also depends on the declared sampling, stopping and multiplicity procedure.
Worked example. A result p=0.03 means that null-model data would produce an equally or more extreme statistic about 3% of the time under this procedure, not a 97% chance of meaningful improvement.
Validation
Report the estimated effect and interval, check randomization/logging and apply the predeclared stopping and comparison rules.
Common pitfalls
Repeated peeking, searched metrics and changed exclusions can invalidate an ordinary nominal p-value. A small p-value can describe a negligible effect at enormous sample size.
Related questions
- What is the difference between statistical significance and practical significance?
- Explain A/B testing and multi-armed bandit approaches for comparing LLM versions or prompts.
- What is CUPED and how does it reduce variance in A/B tests?
- How do you ensure reproducible experiments with LLMs?
- What is experiment tracking (MLflow, W&B) and why is it important for LLM projects?