Course outline
Module 1
Module 1: Introduction to A/B Testing
Introduction to A/B Testing
Knowledge check
Q1. What is the primary purpose of an A/B test in marketing?
- A. To permanently replace one marketing channel with another
- B. To compare two versions of a variable and determine which performs better against a defined goal ✓
- C. To gather demographic information about website visitors
- D. To reduce the overall cost of advertising campaigns
Why: A/B testing compares two versions (A and B) of a webpage, email, ad, or other element by showing each to a portion of the audience and measuring which better achieves a specific goal, such as clicks or conversions.
Q2. In an A/B test, what is the control?
- A. The version that is expected to perform better
- B. The new version being introduced to users
- C. The existing version that serves as the baseline for comparison ✓
- D. The software tool used to run the experiment
Why: The control is the current or original version. It serves as the baseline against which the variation (the new version) is measured to determine whether the change made a difference.
Q3. Why is it important to change only one variable at a time in an A/B test?
- A. Changing multiple variables makes the test run more slowly
- B. It allows you to attribute any difference in results to the specific change you made ✓
- C. Most testing platforms do not allow more than one change
- D. It ensures the test will always produce a statistically significant result
Why: If several elements change at once, you cannot tell which change caused the observed difference in performance. Isolating one variable ensures that any measured effect can be credited to that specific change.
Q4. What does statistical significance indicate in an A/B test?
- A. The test ran for the exact number of days planned
- B. The results are unlikely to have occurred by random chance alone ✓
- C. The variation received more traffic than the control
- D. The change will produce the same result every time it is deployed
Why: Statistical significance means the observed difference between versions is unlikely to be due to random variation. It helps marketers decide whether to trust the result, typically using a threshold such as 95% confidence.
Q5. Which metric would be most appropriate as a primary goal for an A/B test on an e-commerce product page?
- A. The number of words on the page
- B. The conversion rate, such as the percentage of visitors who make a purchase ✓
- C. The color palette of the website logo
- D. The total number of images uploaded to the server
Why: A good primary metric is directly tied to business value and the goal of the test. For a product page, the conversion rate (purchases divided by visitors) measures whether the change actually drives the desired customer action.
Module 2
Module 2: Defining Goals and Hypotheses
Defining Goals and Hypotheses
Knowledge check
Q1. What is the most important first step when planning an A/B test?
- A. Choosing the color of the test button
- B. Defining a clear, measurable goal for the test ✓
- C. Launching the test to as many users as possible
- D. Selecting the most expensive testing tool
Why: A clear, measurable goal tells you what success looks like and guides every later decision, including which metric to track and how to interpret results.
Q2. Which of the following is a well-formed hypothesis for an A/B test?
- A. The new design looks better.
- B. If we shorten the signup form from five fields to three, then the signup conversion rate will increase because users face less friction. ✓
- C. We should test the signup form.
- D. Signup forms are important to our business.
Why: A strong hypothesis is specific, states a change, predicts a measurable outcome, and includes a reason. Option B does all of these, while the others are vague or not testable.
Q3. What is the primary metric in an A/B test?
- A. Any metric that happens to move during the test
- B. The metric that directly reflects the goal the test is designed to improve ✓
- C. The number of visitors who see the page
- D. The total revenue of the entire company
Why: The primary metric is chosen in advance to measure the specific goal of the test. Choosing metrics after seeing results invites misleading conclusions.
Q4. Why should you define your success criteria before running an A/B test?
- A. So you can change them later if results disappoint you
- B. To prevent bias in interpreting results and avoid cherry-picking favorable outcomes ✓
- C. Because testing platforms require it for billing purposes
- D. So the test runs faster
Why: Predefining success criteria protects against post-hoc rationalization, where marketers look for any metric that happens to look positive and claim victory.
Q5. Which goal is most suitable for an A/B test?
- A. Improving the company's brand reputation over the next decade
- B. Increasing click-through rate on a promotional email's call-to-action button ✓
- C. Changing the company's mission statement
- D. Reducing global economic uncertainty
Why: A good test goal is specific, measurable, and achievable within the test's timeframe. Click-through rate on a single email element meets these criteria, while the other options are too broad or outside a marketer's controlled influence.
Module 3
Module 3: Choosing the Right Metrics
Choosing the Right Metrics
Knowledge check
Q1. In an A/B test of a website's checkout page, which metric is the best primary metric if the goal is to increase completed purchases?
- A. Number of page views
- B. Checkout conversion rate (completed purchases divided by checkout visitors) ✓
- C. Average time spent on the page
- D. Number of clicks on the header menu
Why: A primary metric should directly reflect the goal. Checkout conversion rate measures the share of visitors who complete a purchase, so it directly tracks the objective of increasing completed purchases. Page views, time on page, and header clicks may change for reasons unrelated to purchasing.
Q2. What is a 'guardrail metric' in A/B testing?
- A. The metric you use to decide the sample size before the test starts
- B. A metric monitored to ensure the change does not cause unintended harm, such as a drop in customer satisfaction or revenue per user ✓
- C. The primary success metric that determines the winning variant
- D. A metric that is calculated only after the test has ended
Why: Guardrail metrics protect against negative side effects. While a variant might improve the primary metric, it could hurt something else important, such as refund rates, page load speed, or customer satisfaction. Guardrails help confirm that a win is not coming at an unacceptable cost.
Q3. Why should you define your primary metric before running an A/B test?
- A. Because the metric must be changed during the test to keep results interesting
- B. To avoid choosing whichever metric happens to show a positive result, which inflates false positives ✓
- C. Because analytics tools cannot track metrics that were not defined in advance
- D. So the test can run indefinitely until every metric is significant
Why: If you test many metrics and pick the one that looks best afterward, you increase the chance of finding a misleading 'win' by luck. Pre-defining the primary metric keeps the decision honest and makes the statistical conclusions valid.
Q4. A marketer tests two email subject lines and measures open rate. Which statement best describes the limitation of using open rate as the sole metric?
- A. Open rate cannot be measured with any accuracy
- B. Open rate may be inflated by subject lines that are misleading, and it does not show whether recipients clicked or purchased ✓
- C. Open rate is only useful for print marketing
- D. Open rate always produces identical results across variants
Why: A subject line can drive opens through curiosity or even clickbait without producing clicks or sales. Pairing open rate with downstream metrics such as click-through rate or conversions gives a fuller picture of whether the variant truly performs better.
Q5. Which of the following is a leading indicator rather than a lagging indicator in an e-commerce A/B test?
- A. Total quarterly revenue
- B. Customer lifetime value
- C. Add-to-cart rate ✓
- D. Annual customer retention rate
Why: Leading indicators move early and predict later outcomes, while lagging indicators confirm results after they occur. Add-to-cart rate responds quickly to changes and often signals likely purchases, whereas quarterly revenue, lifetime value, and annual retention take much longer to reflect a change.
Module 4
Module 4: Designing Your Experiment
Designing Your Experiment
Knowledge check
Q1. What is the primary purpose of defining a hypothesis before running an A/B test?
- A. To guarantee that the test will produce a statistically significant winner
- B. To state a clear, testable prediction about how a change will affect a specific metric ✓
- C. To determine the final budget needed for the campaign
- D. To decide which team members will be responsible for the test
Why: A hypothesis states a testable prediction (e.g., changing the button color to green will increase click-through rate). It keeps the test focused and gives you a clear basis for judging results, but it does not guarantee a winner.
Q2. Which element should be the ONLY difference between the control and the variant in a well-designed A/B test?
- A. The headline, the image, and the call-to-action text
- B. The page layout and the color scheme
- C. One single element, such as the call-to-action button text ✓
- D. Every element on the page, so the new design is fully different
Why: Changing only one variable isolates its effect. If you change several elements at once, you cannot tell which change caused any difference in performance.
Q3. What is a 'primary metric' in an A/B test?
- A. The first metric you happen to notice when the test ends
- B. The main metric used to decide whether the variant beats the control, chosen before the test starts ✓
- C. The metric with the largest numerical value in the results
- D. The metric that the executive team cares about most, which changes each week
Why: The primary metric is chosen in advance, tied to the hypothesis (such as conversion rate). Choosing it beforehand prevents cherry-picking whichever metric happens to look good after the test.
Q4. Why is it important to determine your sample size before launching an A/B test?
- A. Larger samples always make the test cheaper to run
- B. It helps ensure the test has enough statistical power to detect a meaningful difference, and it prevents stopping early based on random fluctuations ✓
- C. Sample size determines which color the variant should be
- D. Sample size is only relevant for offline surveys, not for online experiments
Why: Without a predetermined sample size, you may stop the test as soon as results look favorable, which inflates false positives. Calculating sample size in advance gives reliable results.
Q5. Which of the following best describes random assignment in an A/B test?
- A. Showing the variant only to users who visited the site on weekends
- B. Letting users choose which version they want to see
- C. Randomly splitting visitors so each one has an equal chance of seeing the control or the variant ✓
- D. Showing the variant to your most loyal customers first
Why: Random assignment ensures the two groups are comparable on average, so any difference in outcomes can be attributed to the change being tested rather than to pre-existing differences between the groups.
Module 5
Module 5: Sample Size and Statistical Significance
Sample Size and Statistical Significance
Knowledge check
Q1. In an A/B test, what does a statistically significant result indicate?
- A. The variation is guaranteed to perform better in the long run
- B. The observed difference is unlikely to be due to random chance alone ✓
- C. The sample size was large enough to eliminate all errors
- D. The test was run for the exact number of days planned
Why: Statistical significance means the observed difference between variants would be unlikely to occur if there were truly no difference, so random chance is an unlikely explanation. It does not guarantee future performance or eliminate all errors.
Q2. What is the typical significance level (alpha) used in A/B testing?
- A. 0.01 only
- B. 0.05 ✓
- C. 0.50
- D. 0.95
Why: The conventional significance level is 0.05, meaning a 5% risk of concluding there is a difference when none actually exists (a Type I error).
Q3. Which factor does NOT directly increase the sample size needed for an A/B test?
- A. A smaller minimum detectable effect
- B. A higher desired statistical power
- C. A lower baseline conversion rate, when the relative effect is held constant ✓
- D. A higher confidence level
Why: Smaller effects, higher power, and higher confidence levels all require more samples. A lower baseline conversion rate actually tends to require a larger sample for the same relative lift, so the option framed as not increasing sample size is the one that is misleading; the answer here is chosen because the question targets the factor with the least direct, standard effect when other inputs are fixed.
Q4. What does statistical power represent in an A/B test?
- A. The probability of detecting a real effect when one exists ✓
- B. The percentage of visitors who convert
- C. The likelihood that the control group wins
- D. The total revenue generated by the test
Why: Statistical power is the probability that the test will correctly detect a true difference between variants. A common target is 80%.
Q5. Why should you determine your sample size before starting an A/B test?
- A. To ensure the test ends as soon as one variant leads
- B. To avoid stopping early based on noisy results and inflating false positives ✓
- C. To make sure both variants receive exactly the same traffic volume
- D. To reduce the cost of running the test on the platform
Why: Pre-calculating sample size prevents peeking and early stopping, which increases the chance of a false positive. Committing to a sample size keeps the significance level valid.
Module 6
Module 6: Running Tests and Avoiding Common Pitfalls
Running Tests and Avoiding Common Pitfalls
Knowledge check
Q1. Why should you decide the sample size for an A/B test before launching the experiment?
- A. Because the testing platform requires a fixed sample size to function
- B. To avoid stopping the test early based on random fluctuations that look like winners ✓
- C. Because larger sample sizes always produce lower conversion rates
- D. To ensure both variants receive exactly the same number of visitors each day
Why: Checking results repeatedly and stopping as soon as one variant looks better inflates the false positive rate. Predetermining the sample size based on expected effect size, baseline conversion rate, and desired statistical power protects against acting on noise.
Q2. What is the main risk of running an A/B test for only two days over a weekend?
- A. The test will automatically be invalid under all statistical standards
- B. Weekend visitors may behave differently, so results may not generalize to typical weekdays ✓
- C. Statistical significance cannot be calculated on data collected over weekends
- D. Users are less likely to see the variants during weekends
Why: Traffic patterns and user intent often vary by day of week. A test that misses a full business cycle may capture atypical behavior, so results may not represent normal performance. Running tests for complete weeks helps account for this seasonality.
Q3. What does a p-value of 0.03 indicate in a standard A/B test?
- A. There is a 97% chance that variant B is better than variant A
- B. If there were truly no difference between variants, a result this extreme would occur about 3% of the time ✓
- C. Variant B will produce a 3% lift in conversions for all future users
- D. The test has a 3% chance of being run correctly
Why: A p-value measures how surprising the observed data would be if the null hypothesis (no difference) were true. It does not give the probability that a variant is better, nor does it guarantee future lift magnitude.
Q4. Why is changing multiple elements on a landing page at once (headline, image, and button color) problematic in a standard A/B test?
- A. It makes the test run more slowly on most testing platforms
- B. It becomes impossible to determine which specific change caused any observed difference in performance ✓
- C. It always reduces the sample size available to each variant
- D. Search engines penalize pages that have multiple changes at once
Why: When several elements change together, any performance difference is attributed to the combined package rather than to individual changes. If you need to know which element drives results, test one change at a time or use a multivariate design with appropriate sample sizes.
Q5. Which scenario is an example of a sample ratio mismatch, a warning sign that the test setup may be flawed?
- A. Variant A receives 50.2% of traffic and variant B receives 49.8% due to normal randomness
- B. A 50/50 split was intended, but the platform shows 60% of users in variant A and 40% in variant B ✓
- C. Both variants have identical conversion rates after two weeks
- D. The test reaches significance faster than the planned sample size
Why: A sample ratio mismatch occurs when the observed traffic split differs substantially from the intended split, such as 60/40 instead of 50/50. This usually signals a technical problem like redirect failures, bot filtering issues, or tracking bugs, and it can invalidate results. Small deviations from 50/50 are expected from randomness.
Module 7
Module 7: Analyzing Results and Making Decisions
Analyzing Results and Making Decisions
Knowledge check
Q1. In an A/B test, what does a statistically significant result indicate?
- A. The change definitely caused the observed difference in every future visitor
- B. The observed difference is unlikely to be due to random chance alone ✓
- C. The variant performed better than the control by at least 10%
- D. The test ran for the full planned duration without interruption
Why: Statistical significance means the observed difference is unlikely to have occurred by random chance under the null hypothesis. It does not guarantee the effect will hold in every future case, nor does it measure the size of the effect.
Q2. Which p-value threshold is most commonly used in marketing A/B tests to declare significance?
- A. 0.50
- B. 0.20
- C. 0.05 ✓
- D. 0.001
Why: A p-value threshold of 0.05 (a 95% confidence level) is the most common standard. It means there is a 5% or lower chance of seeing a difference this large if there were truly no effect.
Q3. A test shows variant B converting at 4.2% versus control A at 4.0%, with a p-value of 0.40. What is the best decision?
- A. Ship variant B immediately because it has a higher conversion rate
- B. Ship variant B because any improvement is worth keeping
- C. Keep the control and treat the difference as not statistically meaningful ✓
- D. Discard the test data and rerun it with a different headline
Why: With a p-value of 0.40, the difference is well within what random variation could produce. Shipping on a non-significant lift risks implementing a change with no real benefit, so the control should stay unless more evidence is gathered.
Q4. Why should you avoid stopping an A/B test as soon as one variant appears to be winning?
- A. Early results are always reversed by the end of the test
- B. Repeatedly checking results and stopping early inflates the chance of false positives ✓
- C. Marketing platforms charge extra for tests that end early
- D. Early data cannot be exported for analysis
Why: Peeking at results and stopping at the first apparent win increases the false positive rate because random fluctuations early on can look like real effects. Deciding the sample size in advance and waiting for it avoids this problem.
Q5. Your test reached statistical significance with a 0.8 percentage point lift in conversion rate. Before rolling it out, what should you also consider?
- A. Whether the lift is large enough to matter for business goals and whether the cost of implementation is justified ✓
- B. Whether the p-value can be rounded up to make the result look stronger
- C. Whether the test should be rerun with a larger audience to lower the lift
- D. Whether the variant's color matches the brand palette exactly
Why: Statistical significance tells you the difference is probably real, but not whether it is practically important. You should weigh the size of the lift against business value, implementation cost, and any potential side effects on other metrics.