Skip to content
SakibpediaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bayes

Go Windows exe License: MIT

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]

Detailed use cases

  1. Conversion rates — combine prior belief with observed signups.
  2. Small-sample inference — avoid division-by-zero on sparse success data.
  3. Sequential updates — feed yesterday's posterior into today's prior.

Download and run (Windows)

Download bayes.exe from the Releases page, then:

Get-Content data.csv | .\bayes.exe
# or
.\bayes.exe -f data.csv

The executable is a native Windows binary — no Python, no installer, no DLLs.

Build from source

go test ./...
go build -o bayes.exe .

Example output

{
  "posterior_alpha": 12,
  "posterior_beta": 91,
  "posterior_mean": 0.1165
}

Input format

Flags: -successes, -trials, -alpha, -beta. No input file needed.

Visual preview

bayes preview

Testing

main_test.go covers the core algorithm with deterministic cases. Run go test ./....

License and contact

MIT © S M Nazmuz Sakib (2026). Questions: [email protected].

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages