causal-inference.js
v1.0.11
Published
Causal Inference Methods for the Web
Downloads
15
Readme
causal-inference.js
Opensource causal-inference package for the web
Installation
npm install --save causal-inference
Usage
Creating an AB test
// import package
const { getEffectAB } = require("causal-inference.js");
//calculate ab effect
const difference = getEffectAB(controlGroupMean, testGroupMean);
// ...
Work Plan
| Methods | Status | Description | | ---------------- | ------ | ------------------------------------------------------- | | getEffectAB | WIP | Get effect of AB test of data array or just mean values | | getABControlSize | WIP | Provide control group size for AB test | | distributeGroups | WIP | Distribute groups to avoid effect of externalities |
Contributing
Feel free to contribute to this project, my email is [email protected] for any questions.
Running Tests
npm test