https://github.com/cintia0528/data_science-ab_testing
Conduct a 5-way AB Test on Montana State University Library's website, comparing the original "Interact" button with new versions ("Learn," "Help," "Connect," "Services") to boost user engagement.
https://github.com/cintia0528/data_science-ab_testing
abtesting bonferroni chisquare-test data data-science datacleaning datavisualization hypothesis-testing mde statistics
Last synced: 6 months ago
JSON representation
Conduct a 5-way AB Test on Montana State University Library's website, comparing the original "Interact" button with new versions ("Learn," "Help," "Connect," "Services") to boost user engagement.
- Host: GitHub
- URL: https://github.com/cintia0528/data_science-ab_testing
- Owner: Cintia0528
- Created: 2023-09-25T15:19:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T16:01:52.000Z (about 2 years ago)
- Last Synced: 2025-03-31T05:35:18.493Z (6 months ago)
- Topics: abtesting, bonferroni, chisquare-test, data, data-science, datacleaning, datavisualization, hypothesis-testing, mde, statistics
- Language: Jupyter Notebook
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AB-Testing
## Task
To evaluate which version of the current "Interact" button performs best.## Overview
The Library of Montana State University has a website that students use to find books and articles.Below the library picture, there is a search bar and three big items: “Find”, “Request” and “Interact”. All three of them contain access to important information however, the Website Analytics show that the “Interact” button has, ironically, almost no interactions.
The MSU team wants to run a 5-way AB Test. They would like to us to compare the performance of the original button "Interact", to new versions: "Learn", "Help", "Connect", "Services".
The way to measure how each one of the buttons perform is by click-through-rate or CTR.
## Context
When assessing the effectiveness of the "Shop Now" button on an e-commerce website, the focus is on optimizing click-through rates due to visitors' clear intent to make a purchase.Conversely, evaluating the performance of a button like "Interact" on a library website requires considering that visitors may not always have a specific interest in what it offers. For instance, if a visitor is seeking a book and uses the "Find" function, they may not find the "Interact" button useful or relevant.
In addition to click-through rates, it's crucial to analyze the homepage return rate and drop-off rate on the library's website. This broader evaluation helps gauge whether visitors are finding the information they expect after interacting with a specific button.
## Challenge:
Plan, structure and execute a 5 way AB Test.## Approach
Hypothesis Testing:* Explore the current data and result of UI/UX questionnaires available
* Calculate length of the AB test based on MDE and number of visitors
* Set up the 5 tests, length and the 5 versions (done for us)
* Explore raw data, CTR rates of all 5 versions (explore, clean, note anomalies)
* Form and record hypothesis (H0 & H1, metrics of interest, MDE, alpha and beta scores, test to use)
* Categorical data, 5 versions - Chi-Square test
* Adjust for cumulated alpha error with Bonferroni correction## Colab Files
In the ["MSU Library"](6_MSU_Library_Case_Study.ipynb) file imported the data, each button its own csv. All calculations are included. Drop-off and Homepage return rates were given by the MSU team.### Additional Notes:
The data was highly skewed; (10283 visits on "Interact" vs the others versions recieved visits in the 2000-3000 range).
Therefore, after completing the calculations based on the requested parameters (CTR = visits / clicks). I reran the experiment at the end of the notebook under heading _"Chi-Square Test - CTR 2"_ where I defined CTR as elemnt of interest clicks / all clicks on the website. Ideally, the test should have been rerun, as it was *biased* from the beginning.#### I feel this adjusts for 2 factors:
* Someone might not actually need the "Interact" button - or any other version of it
* Less skewed than visits.# Skills & Tools
1. Data Collection & Cleaning
2. Hypothesis Testing
3. AB Testing
4. Chi-Square Testing
5. Bonferroni Adjustment