Beta-binomial posterior summarization for a binary success count.
Part of StatLab — twenty standalone statistical analysis tools for Windows, each shipped as a native executable with no runtime dependencies. Author: S M Nazmuz Sakib · [email protected]
- Conversion rates — combine prior belief with observed signups.
- Small-sample inference — avoid division-by-zero on sparse success data.
- Sequential updates — feed yesterday's posterior into today's prior.
Download bayes.exe from the Releases page, then:
Get-Content data.csv | .\bayes.exe
# or
.\bayes.exe -f data.csvThe executable is a native Windows binary — no Python, no installer, no DLLs.
go test ./...
go build -o bayes.exe .{
"posterior_alpha": 12,
"posterior_beta": 91,
"posterior_mean": 0.1165
}
Flags: -successes, -trials, -alpha, -beta. No input file needed.
main_test.go covers the core algorithm with deterministic cases. Run go test ./....
MIT © S M Nazmuz Sakib (2026). Questions: [email protected].
