MLCrack

    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:

    1. It is NOT P(H0istrue∣data)P(H0 is true | data) — that's the posterior in Bayesian framework
    2. A small p-value doesn't mean a large effect — statistical vs practical significance differ
    3. p = 0.05 is an arbitrary threshold
    4. Multiple testing inflates false positives (need Bonferroni or FDR correction)
    5. 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.