Coder Social home page Coder Social logo

alex-chervony / excel-vba-ab-test-pooled Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 8 KB

VBA code and formulae allowing statistical analysis in MS Excel without addons.

License: Apache License 2.0

Visual Basic 100.00%
proportions testing vba proportion hypothesis-testing excel statistics significance-testing

excel-vba-ab-test-pooled's Introduction

VBA code and formulae allowing statistical analysis in MS Excel without add-ons.

AB-Test

  1. If test conditions* are met, do a pooled Z test comparing 2 proportions.
  2. If test conditions are met and significant difference is found, return the proportion difference.
  3. If test conditions are not met, or there is no significant difference, do not return anything.

Usage:

=ABTest_Proportions(n1,y1,n2,y2)

* Test Conditions:

  1. n1*p1 > 5
  2. n1*(1 - p1) > 5
  3. n2 * p2 > 5
  4. n2(1 - p2) > 5

Where:

  1. n1 - sample size of group 1
  2. n2 - sample size of group 2
  3. y1 - count of instances of success in group 1
  4. y2 - count of instances of success in group 2
  5. p1 - proportion of group 1: y1/n1
  6. p2 - proportion of group 2: y2/n2

excel-vba-ab-test-pooled's People

Contributors

alex-chervony avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vb6hobbyst7

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.