Skip to content

A javascript library of (mostly bayesian) AB testing functions used by by the WMF fundraising team

License

Notifications You must be signed in to change notification settings

ewulczyn/bayesian-ab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wmf_ab

wmf_ab is a javascript library for A/B-testing

wmf_ab currently contain these tests:

  • comparing donation rates of a set of banners (rate_comparison)

Usage

var wmf_ab = require("wmf_ab");
// collect impression and donation counts
var rate_data= {
    'A' : {'num_donations': 500, 'num_impressions': 1000},
    'B' : {'num_donations': 488, 'num_impressions': 1000},
    'C' : {'num_donations': 480, 'num_impressions': 1000}
}
results = wmf_ab.rate_comparison(rate_data)
console.log(results['statistics'])

Building from source

To download the package and install the development dependencies run npm install git://github.com/ewulczyn/wmf_ab.git

License

wmf_ab is distributed under the MIT License.

About

A javascript library of (mostly bayesian) AB testing functions used by by the WMF fundraising team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published