Skip to content

This repository contains code and analysis for an A/B testing project evaluating the impact of ads on user conversions. By comparing conversion rates between users shown ads and those shown PSAs, the project uses statistical testing to assess ad effectiveness.

Notifications You must be signed in to change notification settings

ajbudhi/AB-Testing-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AB Testing Project

πŸ“˜ Overview

This project aims to analyze the results of an A/B test designed to measure the impact of displaying ads on user conversion behavior.

πŸ” Objective

To determine whether exposing users to ads (ad group) leads to a higher conversion rate compared to showing public service announcements (psa group).

πŸ“Š Dataset Summary

  • Users: 588,101
  • Groups:
    • ad - 96% of users
    • PSA (control) - 4% of users
  • Features:
    • converted - whether the user converted

βœ… Results

  • Conversion Rate:
    • ad: 2.55%
    • psa: 1.79%
  • Z-Test: Statistically significant difference (p < 0.00001)
  • Interpretation: Ads were found to be more effective than PSA since it had higher conversion rate.

⚠️ Limitations

Through our Exploratory Data Analysis, we found that the dataset was severely imbalanced, with the majority of the data belongs to the Ad group compared to the PSA group. Ideally, we would want a balanced, 50/50 dataset. This imbalance could render the result to be less reliable, especially if there is hidden confounding.

πŸ“ Further Analysis

  • Investigate the reason for group imbalance
  • Consider stratified re-sampling or bootstrapping to validate findings
  • Analyze other features in the dataset that may affect the conversion rate, such as by Day of Most Ads or Hour of Most Ads

πŸ“ Files

  • marketing_AB.csv: Raw dataset
  • AB_testing.ipynb: Jupyter Notebook of the project, containing Exploratory Data Analysis, Statistical Testing, and interpretation
  • README.md: Project overview and documentation

About

This repository contains code and analysis for an A/B testing project evaluating the impact of ads on user conversions. By comparing conversion rates between users shown ads and those shown PSAs, the project uses statistical testing to assess ad effectiveness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published