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

power

Go Windows exe License: MIT

Sample-size estimation for a two-sample z-test given effect size, alpha and power.

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. Experiment planning — decide how many users to enroll before launch.
  2. Budgeting — trade detectable effect size against required sample size.
  3. Study design teaching — expose the relationship between alpha, power and n.

Download and run (Windows)

Download power.exe from the Releases page, then:

Get-Content data.csv | .\power.exe
# or
.\power.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 power.exe .

Example output

{
  "effect": 0.5,
  "alpha": 0.05,
  "power": 0.8,
  "sample_size_per_group": 63
}

Input format

Flags: -effect (standardized difference), -alpha, -power. No input file needed.

Visual preview

power 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