All questions
Showing of 45What is a p-value, and what does it not tell you?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
A p-value answers one narrow question: if the null hypothesis were true, how often would chance alone produce a result this extreme or more extreme? A small p-value means your data sits far out in the tail of what randomness usually produces.
It does not tell you the probability that the null is true. It does not tell you the probability your result is a fluke, and it says nothing about effect size. A p-value of 0.01 on a 0.05% conversion lift is statistically loud and commercially worthless.
It also does not survive abuse. Report a p-value from a test you stopped the moment it dipped under 0.05, and the number no longer means what the formula says. In practice I pair every p-value with the effect size and a confidence interval. The decision should rest on how big the change is, not on clearing a threshold.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is a hypothesis test, and what steps do you walk through?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Hypothesis testing is a structured way to decide whether an observed difference is bigger than routine noise. You assume nothing is happening, then measure how badly the data contradicts that assumption.
The walk-through I use:
- State the null and the alternative before looking at data. Null: the new checkout converts at the same rate as the old one.
- Pick the significance level and a test that matches the metric and the design.
- Compute the test statistic and its p-value from the collected sample.
- Compare against the threshold, then report the effect size and interval next to the verdict.
Order matters more than the arithmetic. Choosing the metric or the threshold after seeing results turns the procedure into storytelling. The most common production failure is not a wrong formula. It is a null hypothesis that got quietly rewritten once the numbers landed.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is the difference between a Type I and a Type II error?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Type I error means you claimed an effect that is not there. Type II error means you missed an effect that is really there. The significance level sets your Type I rate, and power controls the Type II rate.
Costs differ by context, and that asymmetry should drive your threshold. Shipping a redesign that does nothing burns engineering time and pollutes future baselines. Killing a feature that actually worked costs revenue forever, quietly, because nobody measures the road not taken.
A medical screening test makes it concrete. A false positive sends a healthy person for an expensive biopsy. A false negative sends a sick person home untreated. With a fixed sample you cannot minimize both at once, since tightening one loosens the other. The only honest way to shrink both is to collect more data.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you interpret a 95% confidence interval, and what does it not mean?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
A 95% confidence interval comes from a procedure that captures the true value in 95% of repeated samples. For the interval you actually computed, the true value is either inside it or it is not. The 95% describes the method's long-run hit rate, not your one interval.
What it does not mean: there is no 95% probability that the parameter sits between your bounds. It is not a range containing 95% of users. It is also not a promise that 95% of future results will land inside it.
The practical read is the width. An interval of [-0.1%, +4.3%] on conversion says the change might be nothing, so you need more data before betting on it. A tight interval hugging zero is a genuinely different answer. It says the effect, if any exists, is too small to care about.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is the difference between correlation and causation, with a real example?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Correlation says two variables move together. Causation says changing one actually changes the other. Correlation is symmetric and cheap to compute, while causation is directional and needs either a mechanism or an intervention behind it.
Ice cream sales and drowning deaths rise together every summer. Nobody drowns because a stranger bought a cone. Hot weather drives both, so temperature is a confounder sitting behind the correlation.
A product version bites harder. Customers who use a company's mobile app spend more than web-only customers, so a team concludes the app drives spending. More likely the heaviest customers install the app first. Reverse causation and self-selection are both live explanations. The clean way to settle it is to randomize who gets nudged to install, then compare spend between the two randomized groups.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is the central limit theorem, and why does it matter in practice?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
The central limit theorem says the sampling distribution of a mean approaches a normal shape as the sample grows, whatever shape the underlying data has. Average enough independent draws and the average behaves predictably, even when single values do not.
That is why it matters at work. Revenue per user is wildly skewed, with a long tail of big spenders and a pile of zeros. The mean of ten thousand users still behaves close to normal, so standard error formulas, z-tests, and confidence intervals stay usable on ugly data.
It does not fix everything. The heavier the tail, the larger the sample you need before the approximation is any good. When a handful of users can move the mean by themselves, trimming or capping extreme values works better than trusting the theorem and reporting a falsely tight interval.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How would you explain a p-value and hypothesis testing to a non-technical manager?
What are joint, marginal, and conditional probabilities, and how do they relate?
What is a probability distribution, and how do discrete and continuous ones differ?
What is the normal distribution, and what does the 68-95-99.7 rule say?
What is a binomial distribution, and when does it apply to real data?
How would you measure the correlation between two variables?
What are the common types of sampling, and when do you use each?
In what situations do you run an A/B test, and what conditions does it need?
How would you design an A/B test for a new homepage recommendation algorithm?
How do you determine the sample size needed for an A/B test?
What is selection bias, and how do you avoid it when sampling?
What criteria do you use to choose A/B test metrics, and avoid vanity metrics?
How do you randomize assignment in an A/B test, and what is bucketing?
How would you check that users were actually assigned to buckets at random?
How long should you run an A/B test before calling it?
What goes wrong when you check results daily and stop at p < 0.05?
You tested ten variants and one wins at p < 0.05 - do you ship it?
Your A/B test came back flat - what are the likely explanations?
Your test won, but the lift faded after launch - what happened?
Click-through rate rose while impressions fell - how do you make the call?
Treatment conversion jumped 40% but the overall metric moved 2% - why?
When would you not run an A/B test, and what would you do instead?
What is statistical power, and what does 80% power actually mean?
How do the significance level and the confidence level relate to each other?
What is the difference between a one-tailed and a two-tailed test?
You changed a checkout button from green to orange - how do you frame the test?
A coin lands heads once in ten flips - state the null and p-value
How would you build a confidence interval from a series of coin tosses?
What is the difference between a confidence interval and a prediction interval?
What conditions have to hold for the central limit theorem to apply?
How does stratified sampling differ from simple random sampling, and when is it better?
How does a Poisson distribution differ from a binomial, and when do you use it?
What is Simpson's paradox, and how can a trend reverse when subgroups combine?
How would you measure the causal impact of a product change?
What is a directed acyclic graph, and how is it used in causal inference?
How do you design an experiment to limit interference between control and treatment?
Users influence each other, so independence breaks - how does that change your analysis?
One metric rises and another drops, both significant - do you ship?
How do you experiment against metrics that take two months to mature?
This answer is part of Pro.
The full written answer, with the trade-offs and follow-ups an interviewer will probe.
No matches
Try a different filter or search term.
Statistics & Experimentation cheatsheet
- 30-second mental model01
- Reading a result02
- Sizing and powering a test03
- Assigning traffic04
- Diagnosing a result05
- When you cannot randomize06
- Causal reasoning07
- Distributions, sampling, correlation08
- Common pitfalls09
- + 3 more inside
39 of 45 Statistics & Experimentation answers are in Pro.
Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.
- Full answers + code
- AI explanations, simpler or deeper
- 1,000 AI credits / month
- Cancel anytime
Change topic
Pick a different technology or stack. Your current topic stays put until you choose a new one.
MEAN
MongoDB, Express, Angular, Node.jsMERN
MongoDB, Express, React, Node.jsDjango
Python Full-Stack DevelopmentRuby on Rails
Convention over ConfigurationServerless on AWS
Serverless Architecture on AWSInterviewers also test these - they're common to every stack, whichever one you picked above.
Flutter Mobile
Flutter Cross-Platform Mobile DevelopmentInterviewers also test these - they're common to every stack, whichever one you picked above.
Spring Boot
Enterprise Java Development.NET
Microsoft EcosystemVue
Vue.js, Vite, TypeScript, Tailwind, Node.jsGo Backend
Golang, gRPC, PostgreSQL, Redis, RabbitMQInterviewers also test these - they're common to every stack, whichever one you picked above.
FastAPI
Python, FastAPI, SQLAlchemy, PostgreSQLReact Native
React, TypeScript, Redux, FirebaseiOS Native
Swift, SwiftUI, UIKit, FirebaseAndroid Native
Java, Jetpack Compose, FirebaseDevOps / Platform
Docker, Kubernetes, Terraform, CI/CDInterviewers also test these - they're common to every stack, whichever one you picked above.
AI Engineer
LLMs, RAG, Agents, EvalsAI-Powered Developer
Claude Code, Copilot, Agentic WorkflowsCore SWE Interview Prep
Data structures, algorithms, OS, concurrency, networking, gitInterviewers also test these - they're common to every stack, whichever one you picked above.
Interviewers also test these - they're common to every stack, whichever one you picked above.