Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ab-test-confidence

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-test-confidence

Stats for simple AB testing

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

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

Run make test for the full set of functions.

FAQs

Package last updated on 07 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc