One-sample Student t-test with normal-approximation p-value.
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]
- A/B sanity check — test whether a metric differs from a target baseline.
- Instrument validation — check if measurements deviate from a reference value.
- Quick significance screening — get a t statistic directly from a pipeline.
Download ttest.exe from the Releases page, then:
Get-Content data.csv | .\ttest.exe
# or
.\ttest.exe -f data.csvThe executable is a native Windows binary — no Python, no installer, no DLLs.
go test ./...
go build -o ttest.exe .{
"t": 20.1246,
"df": 4,
"p_value": 0
}
A single numeric column. Use -mu for the hypothesised mean (default 0).
main_test.go covers the core algorithm with deterministic cases. Run go test ./....
MIT © S M Nazmuz Sakib (2026). Questions: [email protected].
