Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
ab-test-result
Advanced tools
Returns the improvement rate of your AB-test and answers if it's statistically significant
Returns the improvement rate of your AB-test (challengerImprovement
) and answers if it's statistically significant (isSignificant
).
The result returned also contains a statistics
property with calculated statistical values.
npm install --save ab-test-result
var abTestResult = require('ab-test-result');
var test = {
controlVisits: 490, // required
controlConversions: 10, // required
challengerVisits: 500, // required
challengerConversions: 17 // required
};
var confidence = 0.9; // optional, defaults to 0.95
var result = abTestResult.calcResult(test, confidence);
/*
result = {
controlConversionRate: 0.02040816326530612,
challengerConversionRate: 0.034,
challengerImprovement: 0.666,
isSignificant: true,
statistics: {
controlStandardError: 0.006387435072946544,
challengerStandardError: 0.008104813384649889,
zScore: 1.317131652811523,
pValue: 0.09340000000000004
}
}
*/
FAQs
Returns the improvement rate of your AB-test and answers if it's statistically significant
The npm package ab-test-result receives a total of 10 weekly downloads. As such, ab-test-result popularity was classified as not popular.
We found that ab-test-result demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.