What is A/B Testing: A Guide to A/B Testing

Jayendra More
Bootcamp
Published in
5 min readAug 12, 2023

--

A Product Manager or any other person who wants to make data-driven decisions will come across this term many times in his experimental lifetime. A/B testing makes life easier and decision-making much more efficient. Irrespective of who you are you need to know what A/B testing is.

A/B testing involves comparing two versions to see which one performs better. Product managers need to learn how to do A/B tests well and be aware of the common mistakes in A/B testing.

The Process of A/B Testing

The Process of A/B Testing

Variations of A/B Testing

  1. A/B/C Testing
AB testing

A/B/C testing for a program over a week involves comparing three different versions of the program to see which performs the best. This is done by dividing users into three groups: A, B, and C. Each group experiences a different version of the program. By analyzing user responses and outcomes, you can identify which version yields the most favourable results, helping you make informed decisions about the program’s effectiveness and potential improvements.

2. Bandit selection

Bandit Selection

A/B/C testing with bandit selection is an advanced method that uses real-time data to decide how to distribute users to different program variants. This approach is also known as “multi-armed bandit” testing.

Here’s how it works:

  1. Initial Allocation
    At the initial stage of the test, a certain percentage of users are assigned to all versions (A, B, and C) of the program.
  2. Real-time Learning
    As users engage with the program, the system constantly collects data on how each variant is performing. This usually includes metrics like click-through rates(CTR), conversions, or engagement.
  3. Adaptive Allocation
    Unlike regular A/B/C testing, with bandit selection, the system changes user allocation in response to real-time performance. It learns which variant is working the best and assigns more users to that one.
  4. Balancing Exploration and Exploitation: The term “bandit” in this approach represents a balance between trying out different variants (exploration) to understand how well they work and focusing on the best variant (exploitation) to achieve the best results.
  5. Optimization
    With time, the system focuses on the variant that generates the best results. It can adjust itself based on user behaviour or external changes, making it a smarter way to improve program performance.

In short, A/B/C testing with bandit selection changes user allocation to different variants based on real-time performance. This smart approach enhances programs or features more effectively.

Importance of A/B testing

A/B testing holds huge importance for several reasons:

  1. Data-Driven Decision Making
    A/B testing provides strong data to make decisions, reducing dependence on assumptions and intuition.
  2. Optimizing Performance
    It allows for constant improvements by identifying which changes lead to better results, enhancing user experiences, and achieving business goals.
  3. Reducing Risk
    Trying out changes in a smaller group reduces the chance of problems before making them available to more people or a larger set of audience.
  4. Personalization
    A/B testing customizes products for certain user groups, enhancing their satisfaction and engagement.
  5. Innovation
    A/B testing inspires trying new ideas and finding innovative solutions.
  6. Validating Hypotheses
    It confirms or rejects guesses about what users like, how they act, and how they react.
  7. Continuous Improvement
    A/B testing promotes a habit of getting better gradually, leading to big improvements over time.
  8. Cost-Efficiency
    It prevents investing resources in changes that are not proven yet, making sure work is guided towards plans that produce real outcomes.
  9. Real-World Insights
    A/B testing shows how users use products in real life, giving us deep insights into users’ mindsets.
  10. Competitive Edge
    Companies or Products that regularly do A/B testing can be more competitive by adapting quickly to what users want, as they have more data to support their cause.

Basically, A/B testing helps improve things based on data, encourages innovation, reduces risks, and supports business growth.

Shortcomings of A/B Testing

A/B testing has its own shortcomings. Let’s see what are the pitfalls of A/B testing.

  1. Selection Bias
    The groups in A/B testing should be random, if not, the outcomes might be unfair and not show what all users experience.
  2. Insufficient Sample Size
    Using too small of a sample size can lead to unreliable results that don’t accurately represent user behaviour.
  3. Testing Multiple Variations
    Introducing a lot of variations (A, B, C, etc.) can lead to uncertain results or make it difficult to identify which change caused a particular result.
  4. Short Test Durations
    Running tests for a short duration may not catch variations that occur over time or under different scenarios.
  5. Ignoring Segmentation
    Not dividing users by their characteristics or actions can result in insights that don’t apply to certain groups.
  6. Sensitivity to External Factors
    Changes in outside influences like seasons or promotions can misrepresent the test outcomes.
  7. Simpson’s Paradox
    Combining data from different groups can lead to wrong results if trends in smaller groups don’t apply when mixed together.
  8. Interpreting Noise as Signal
    Sometimes, small changes in data can be misunderstood as important patterns.
  9. Stopping Early
    Stopping tests when you get the result you want might prevent you from understanding the long-term effects.
  10. Overlooking Secondary Effects
    Changes that help one thing might hurt something else.

To prevent these mistakes, plan tests well, use randomness, pick a good sample size, run tests long enough, and analyze results carefully.

I would love to hear your thoughts on this topic in the comments. If you enjoyed this article, please Follow me here on Medium for more stories on similar topics and other Product Management-related subjects.

About Me Jayendra More
Link to About Me Blog Here

If you are hungry for insightful and thought-provoking content? Look no further! Subscribe to my Medium Blog and get regular updates on the latest articles and musings.

I am always open to having a healthy conversation over a cup of coffee.

Let’s connect on LinkedIn! We can also connect on Twitter — I’m always up for a chat. Whether you have questions, need help, or just want to say hi, feel free to reach out!

--

--

Jayendra More
Bootcamp

Product Lead @ PlayerzPot. Have helped the company to grow the user base from 0 to 15 mil. Connect with me on Twitter, https://twitter.com/more_jayendra