GBTEST(1)
π GBTEST π
okay bestie, welcome to gbtest β it lives in the User Commands section of the manual (that's section 1, iykyk) and it is literally your girl for computing statistical tests on data. no cap.
β¨ NAME β¨
gbtest β compute statistical tests on data π
π¦ SYNOPSIS π¦
gbtest [options] <tests list>
πΈ DESCRIPTION πΈ
So the whole vibe is: compute statistical tests on data. Every test gets its own unique name, and then any optional params you wanna give it just trail along after, separated by commas. cute, right?
Depending on which test you pick, it wants one, two, or three columns of data. here's the tea:
1 disttests want data in[0,1]from a distribution function.1 sampletests want a single column.- tests on
pairswant two columns of equal length. - tests on
2 sampleswant two columns of data, and honestly they can be different lengths, we don't judge. - tests on
2+and3+samples expect a varying number of columns.
and if you hand over more columns than the test strictly needs? it just runs it again:
- for a 1 sample test β repeated for any column
- for a 2 sample test β repeated for any <em>couple</em> of columns
and in that last case the output comes out in matrix format, with the estimated statistics chilling on the lower triangle and the p-scores (if you asked for them) up on the upper. iconic layout, honestly.
removing nan entries? automatic β¨ and it's done consistently with the nature of the test, because of course it is.
π§ the tests π§
tests typically assume 1, 2, or 3+ samples. here's the full roster, no skips:
D+,D-,D,Vβ1 distβ Kolmogorov-Smirnov tests on cumulated dataW2,A2,U2β1 distβ Cramer-von Mises tests on cumulated dataCHI2-1β1 sampβ Chi-Sqrd, 1 samp. 2nd column: th. prob.WILCOβ1 sampβ Wilcoxon signed-rank test (mode=0)TSβ1 sampβ Student's T (mean=0)TR-TPβ1 sampβ Test of randomness: turning pointsTR-DSβ1 sampβ Test of randomness: difference signTR-RTβ1 sampβ Test of randomness: rank testRβpairsβ Pearson's correlation coefficientRHOβpairsβ Spearman's Rho rank correlationTAUβpairsβ Kendall's Tau correlationCHI2-2βpairsβ Chi-Sqrd, 2 samplesTPβpairsβ Student's T with paired samplesWILCO2βpairsβ Wilcoxon test on paired samplesKSβ2 sampβ Kolmogorov-Smirnov testTβ2 sampβ Student's T with same variancesTHβ2 sampβ Student's T with different variancesFβ2 sampβ F-Test for different variancesWMWβ2 sampβ Wilcoxon-Mann-Whitney UFPβ2 sampβ Fligner-Policello standardized U^LEV-MEANβ2+ sampβ Levene equality of variances using meansLEV-MEDβ2+ sampβ Levene equality of variances using mediansKWβ3+ sampβ Kruscal-Wallis test on 3+ samplesCHI2-Nβ3+ sampβ Multi-columns contingency table analysis
π OPTIONS π
the flags, bestie. all of them. not one skipped π«Ά
-pβ compute associated significance-sβ input data are already sorted in ascending order-Fβ specify the input fields separators (default" \t")-oβ set the output format (default'%12.6e')-vβ verbosity:0none,1headings,2+description (default0)-hβ this help
π EXAMPLES π
fr fr, here's how it looks in the wild:
gbtest FP < file
compute the Fligner-Policello test on the columns of file, considering all possible pairings. every single one. she's thorough π
gbtest KW -p < file
compute the Kruscal-Wallis test and its p-score on the first three columns of data in file. three columns, that's the assignment, periodt β¨
π AUTHOR π
Written by Giulio Bottazzi π
π REPORTING BUGS π
found a bug? don't suffer in silence, report it to:
<gbutils@googlegroups.com>
Package home page: <http://cafim.sssup.it/~giulio/software/gbutils/index.html>
π«Ά COPYRIGHT π«Ά
Copyright Β© 2001-2018 Giulio Bottazzi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation;
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
okay bestie real talk for one sec: that all-caps warranty disclaimer is not a vibe, it's a legal thing and it means what it says. no promises, no guarantees. π
and that's the whole page, you ate it π this was gbtest version 6.3, from March 2022, living its best life in the User Commands section as GBTEST(1). go run some tests, queen πβπ¦
π¦ where this page comes from
- debian bookworm: gbutils 6.3-1 Β· GPL-2.0-or-later
- debian trixie: gbutils 6.3-1+b1 Β· GPL-2.0-or-later
- ubuntu noble: gbutils 6.3-1 Β· GPL-2.0-or-later
- ubuntu questing: gbutils 6.3-1build1
- ubuntu resolute: gbutils 6.3-1build2 Β· GPL-2.0-or-later
- ubuntu stonking: gbutils 6.3-1build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms