GithubHelp home page GithubHelp logo

googleplex91 / ab-testing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pleonova/ab-testing

0.0 0.0 0.0 567 KB

Jupyter notebook templates for running and evaluating website ABn tests.

Jupyter Notebook 100.00%

ab-testing's Introduction

AB-Testing

Summary

A Jupyter notebook template/tutorial for running and evaluating ABn tests where the KPI of interest is binomial.

Motivation

Reduce the amount of work required to set up and evaluate website experiments.

What is included in this notebook?

  • Step by step guide with instructions for setting up an experiment and explanations for how to interpret results
  • Deconstructed built-in python functions used to calculate test statistics
  • Plug and play format with call-outs to customizable cell blocks to allow the experimenter to quickly load their own data and modify formula default inputs
  • Links to additional resources
  • Explanation for how to evaluate multiple variation tests

How to navigate this notebook?

  • Set Up: Pre Test
    • Sample Size Calculator
    • Alpha Cutoff (Type I Error & Bonferroni Adjustment)
    • Determining Minimum Detectable Effect Size
  • Set Up: Proportional Data
    • General Data Set Up (should be applicable to most data for proportion evaluation)
  • Test Evaluation
    • 2 Sample Testing (z-test)
    • 2+ Sample Testing (chi-square)
    • Marascuilo Procedure (Multi pairwise z-test)

How to use this notebook in order to get the most out of it?

  • Load in a csv file (or query result) that matches the data structure (see section Data Setup: Proportion).
  • Any Cell block that requires the experimenter to modify/input new variables is denoted with the color red and the following heading ***~ Set up Variables ~ *** (the rest of the cell blocks should not require any modifications).
  • The 2 and 2+ Sample Test sections do NOT need to be run sequentially (2+ Sample Testing section will work without first having to run the cell blocks in the 2 Sample Testing).

Feedback

I wanted to share some of the kind words that my colleagues used to describe the notebook.

  • "I used a bunch of your code from the AB testing notebook for proportions in a HP testing notebook. It worked pretty smoothly!"
  • "This is a fantastic notebook. It is thorough and comprehensive. You've left no stone unturned."
  • "Isn't it great how fast I can asnwer all these questions?! (love this notebook)"
  • "Starting to see some positive results... Thanks again for all your help getting the analysis notebooks together"

ab-testing's People

Contributors

pleonova 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.