4 ms·
Thanks for the feedback! Confidence.js comes from how we operate on A/B tests at sendwithus - we think of them as variants associated with results. While the c
by jessicaraygun 13y ago
Thanks for the feedback!
Confidence.js comes from how we operate on A/B tests at sendwithus - we think of them as variants associated with results. While the code could definitely boil down to a few simple math functions, we find objects to be a good way to organize our data models.
- hiisi 13y agoAlso, "getRequiredSampleSize" is called twice for each variant - in the "getResult"'s loop and then inside "hasEnoughData". Same thing for "getVariant". Would you welcome a pull request? Your project is great, I'd totally use at work. Also, it was to learn the math behind that. Thanks!
- jessicaraygun 13y agoGlad you like it, happy to have you contribute :)