0Pricing
Digital Marketing Academy · Lesson

Statistical Significance

Sample size and confidence.

Statistical Significance is a free Digital Marketing Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Digital Marketing Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Why Significance Matters

Conversion rates jump around by chance. If variant B beats A by 2% on a small sample, that gap might be pure noise.

Statistical significance tells you how likely the observed difference is real rather than random luck. Without it, you risk shipping changes that do nothing.

Signal Versus Noise

Every measurement has variation. Flip a fair coin ten times and you rarely get exactly five heads.

The same applies to conversions. A short test can show a fake winner simply because one variant got a lucky streak. Significance separates genuine signal from this noise.

Day 1: B looks +14% better
Day 3: gap shrinks to +4%
Day 7: gap settles to +1% (noise)
Early leads often regress to the mean.

The P-Value

The p-value estimates the probability of seeing your result, or a more extreme one, if there were truly no difference between variants.

A small p-value means the result would be unlikely by chance alone. Marketers commonly treat p below 0.05 as the threshold for declaring significance.

p < 0.05  -> statistically significant
p = 0.20  -> likely just noise
Lower p = stronger evidence the
difference is real, not random.

Confidence Level

Most A/B tools report a confidence level instead of a raw p-value. A 95% confidence level corresponds to p below 0.05.

It means: if nothing really changed, you would see a difference this large only about 5% of the time. Higher confidence demands more data.

Statistical Power

Power is the chance your test detects a real effect when one exists. Low power means real winners slip by unnoticed.

The standard target is 80% power. Underpowered tests waste traffic and produce inconclusive results that tempt you to call them too early.

Typical targets
Confidence (significance) = 95%
Power                     = 80%
Minimum detectable effect = your call
These three drive sample size.

Minimum Detectable Effect

The minimum detectable effect, or MDE, is the smallest improvement you want the test to reliably catch.

Detecting a tiny 1% lift needs far more traffic than catching a 10% lift. Set a realistic MDE before launch; it directly determines your required sample size.

Calculating Sample Size

Before running, plug your baseline rate, target MDE, confidence, and power into a sample-size calculator. It tells you how many visitors each variant needs.

Commit to that number. Ending early because B "looks like it's winning" is the most common way teams fool themselves.

Sample-size note
Baseline conversion = 5%
MDE                 = 10% relative (to 5.5%)
Confidence          = 95%
Power               = 80%
Needed ~ 31,000 visitors per variant

The Peeking Problem

Checking results repeatedly and stopping the moment significance appears inflates your false-positive rate dramatically.

Every peek is another chance for random noise to cross the line. Decide your sample size and duration in advance, then wait. Do not stop on the first green result.

Run Full Business Cycles

Behavior differs by weekday, weekend, and payday. A test that runs Monday to Wednesday misses weekend shoppers entirely.

Run for at least one or two full weeks so each variant sees a representative mix of traffic. Sample size and time both gate a valid result.

Bad:  run Tue-Thu only (3 days)
Good: run 2 full weeks
Why: weekday vs weekend buyers
differ; partial cycles bias results.

Significance Is Not Importance

A result can be statistically significant yet too small to matter for the business. With huge traffic, even a 0.1% lift can hit 95% confidence.

Always pair significance with the effect size and its practical value. Ask: is this lift big enough to justify the change?

Watch the Confidence Interval

The confidence interval shows the plausible range of the true effect. A point estimate of +8% with an interval of -1% to +17% is shaky.

Prefer results where the entire interval stays positive. A wide interval that crosses zero means you cannot be sure the change helps at all.

Result A: +8% [+5% to +11%]  -> solid
Result B: +8% [-1% to +17%]  -> shaky
Interval crossing 0 means the
true effect could be negative.

Quick Check

Test your understanding of significance.

Recap: Statistical Significance

Significance separates real effects from random noise. Aim for 95% confidence and 80% power, set an MDE, and calculate sample size before launching.

Avoid peeking, run full business cycles, and judge results by effect size and confidence interval, not significance alone.

Frequently asked questions

Is the “Statistical Significance” lesson free?

Yes — the full text of “Statistical Significance” is free to read here on the web, and the Digital Marketing Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Digital Marketing Academy course, upgrade to CoddyKit PRO.

What will I learn in “Statistical Significance”?

Sample size and confidence. You practise Digital Marketing Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Digital Marketing Academy?

No prior experience is required. Digital Marketing Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Statistical Significance” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Digital Marketing Academy lesson?

Yes. Every Digital Marketing Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. What to Test
  2. Building a Hypothesis
  3. Statistical Significance
  4. Reading Results
← Back to Digital Marketing Academy