LuaRocks.org had a security incident in September 2026. Read the incident report.

ab-sample-size-planner

Sample size per variant for an A/B test on a rate, with days needed at your send volume.

$ luarocks install ab-sample-size-planner

Lua library and command line: from a baseline rate, relative lifts you want to detect and the z values you choose, compute the sample size per variant with the two-proportion normal approximation, the total across variants and, with a daily send volume, the days needed. Offline, no dependencies, looks up no z values.

Versions

1.0.0-11 day ago0 downloads

Dependencies

lua >= 5.3

Manifests