1.0.0 • Published 11 years ago
ab-test-confidence v1.0.0
The statistical functions behind the A/B reporting.
Usage
Given an the user numbers and conversion rates for a couple of variants ...
var a = {
	visitors: 1531,
	conversions: 576
}
var b = {
	visitors: 1627,
	conversions: 627
}We can calculate our confidence in the stats for this :-
confidence.conversionRate(1531, 576)   // 0.37622 - i.e. 37% conversion rate
confidence.zScore(a, b)   // z-score of -0.5292Run make test for the full set of functions.
1.0.0
11 years ago