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

chisq

Go Windows exe License: MIT

Chi-square goodness-of-fit test against a uniform expected distribution.

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. Fairness checks — test whether dice or random assignment is uniform.
  2. Traffic analysis — see if events are evenly spread across time buckets.
  3. Survey sanity — detect uneven response counts before weighting.

Download and run (Windows)

Download chisq.exe from the Releases page, then:

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

Example output

{
  "statistic": 0.4,
  "df": 4,
  "p_value": 0.98
}

Input format

One count per line, or comma-separated counts. Each entry is a category.

Visual preview

chisq 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