Giter Site home page Giter Site logo

yingtongaamandawu / ab-testing-marketing-data-python Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.18 MB

This is a Python based analysis on A/B testing for marketing effectiveness

Jupyter Notebook 100.00%
ab-testing jupyter-notebook marketing-analytics python

ab-testing-marketing-data-python's Introduction

AB_testing_marketing_effectiveness_Python

Quick summary: This is a Python based analysis on A/B testing for marketing effectiveness

Data source: https://www.kaggle.com/datasets/faviovaz/marketing-ab-testing (access in July 2023; which can be downloaded in the repository --> see "marketing_AB.csv")

Background:

Marketing companies want to run successful campaigns, but the market is complex and several options can work. So normally they tun A/B tests, that is a randomized experimentation process wherein two or more versions of a variable (web page, page element, banner, etc.) are shown to different segments of people at the same time to determine which version leaves the maximum impact and drive business metrics.

The companies are interested in answering two questions:

Would the campaign be successful? If the campaign was successful, how much of that success could be attributed to the ads? With the second question in mind, we normally do an A/B test. The majority of the people will be exposed to ads (the experimental group). And a small portion of people (the control group) would instead see a Public Service Announcement (PSA) (or nothing) in the exact size and place the ad would normally be.

The idea of the dataset is to analyze the groups, find if the ads were successful, how much the company can make from the ads, and if the difference between the groups is statistically significant.

Data dictionary: Index: Row index user id: User ID (unique) test group: If "ad" the person saw the advertisement, if "psa" they only saw the public service announcement converted: If a person bought the product then True, else is False total ads: Amount of ads seen by person most ads day: Day that the person saw the biggest amount of ads most ads hour: Hour of day that the person saw the biggest amount of ads

Installation: Required: Python3, Jupyter Notebook Required Python packages: numpy, pandas, scipy.stats, statsmodels.stats.api, matplotlib, matplotlib.pyplot, seaborn, math, statsmodels.stats.proportion, IPython.core.interactiveshell (this is optional)

image

ab-testing-marketing-data-python's People

Contributors

yingtongaamandawu avatar

Stargazers

Pulgoso avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.