LearnThatStack Ace your next interview
Machine Learning & Data Science
Statistics & Experimentation.
Change topic Change
Practice · Questions

All questions

Showing of 45
Beginner 14
01

What is a p-value, and what does it not tell you?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

02

What is a hypothesis test, and what steps do you walk through?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

03

What is the difference between a Type I and a Type II error?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

04

How do you interpret a 95% confidence interval, and what does it not mean?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

05

What is the difference between correlation and causation, with a real example?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

06

What is the central limit theorem, and why does it matter in practice?

Beginner ·

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:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

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.

Rewriting in plainer words…

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 ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

07

How would you explain a p-value and hypothesis testing to a non-technical manager?

Part of Pro
08

What are joint, marginal, and conditional probabilities, and how do they relate?

Part of Pro
09

What is a probability distribution, and how do discrete and continuous ones differ?

Part of Pro
10

What is the normal distribution, and what does the 68-95-99.7 rule say?

Part of Pro
11

What is a binomial distribution, and when does it apply to real data?

Part of Pro
12

How would you measure the correlation between two variables?

Part of Pro
13

What are the common types of sampling, and when do you use each?

Part of Pro
14

In what situations do you run an A/B test, and what conditions does it need?

Part of Pro
Intermediate 27
15

How would you design an A/B test for a new homepage recommendation algorithm?

Part of Pro
16

How do you determine the sample size needed for an A/B test?

Part of Pro
17

What is selection bias, and how do you avoid it when sampling?

Part of Pro
18

What criteria do you use to choose A/B test metrics, and avoid vanity metrics?

Part of Pro
19

How do you randomize assignment in an A/B test, and what is bucketing?

Part of Pro
20

How would you check that users were actually assigned to buckets at random?

Part of Pro
21

How long should you run an A/B test before calling it?

Part of Pro
22

What goes wrong when you check results daily and stop at p < 0.05?

Part of Pro
23

You tested ten variants and one wins at p < 0.05 - do you ship it?

Part of Pro
24

Your A/B test came back flat - what are the likely explanations?

Part of Pro
25

Your test won, but the lift faded after launch - what happened?

Part of Pro
26

Click-through rate rose while impressions fell - how do you make the call?

Part of Pro
27

Treatment conversion jumped 40% but the overall metric moved 2% - why?

Part of Pro
28

When would you not run an A/B test, and what would you do instead?

Part of Pro
29

What is statistical power, and what does 80% power actually mean?

Part of Pro
30

How do the significance level and the confidence level relate to each other?

Part of Pro
31

What is the difference between a one-tailed and a two-tailed test?

Part of Pro
32

You changed a checkout button from green to orange - how do you frame the test?

Part of Pro
33

A coin lands heads once in ten flips - state the null and p-value

Part of Pro
34

How would you build a confidence interval from a series of coin tosses?

Part of Pro
35

What is the difference between a confidence interval and a prediction interval?

Part of Pro
36

What conditions have to hold for the central limit theorem to apply?

Part of Pro
37

How does stratified sampling differ from simple random sampling, and when is it better?

Part of Pro
38

How does a Poisson distribution differ from a binomial, and when do you use it?

Part of Pro
39

What is Simpson's paradox, and how can a trend reverse when subgroups combine?

Part of Pro
40

How would you measure the causal impact of a product change?

Part of Pro
41

What is a directed acyclic graph, and how is it used in causal inference?

Part of Pro
Expert 4
42

How do you design an experiment to limit interference between control and treatment?

Part of Pro
43

Users influence each other, so independence breaks - how does that change your analysis?

Part of Pro
44

One metric rises and another drops, both significant - do you ship?

Part of Pro
45

How do you experiment against metrics that take two months to mature?

Part of Pro

No matches

Try a different filter or search term.

Know someone prepping for Statistics & Experimentation? Send them this set.
Pro · $10/mo

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.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

Serverless on AWS

Serverless Architecture on AWS

Flutter Mobile

Flutter Cross-Platform Mobile Development

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

AI Engineer

LLMs, RAG, Agents, Evals

AI-Powered Developer

Claude Code, Copilot, Agentic Workflows

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git