GBSTAT(1)
π GBSTAT β basic descriptive statistics of data, but make it cute
okay bestie, so gbstat is a User Command (one of those lil utility girlies) and she is here to give you the stats on your data. the manual page is called GBSTAT(1), iykyk. let's get into it π
β¨ SYNOPSIS β¨
gbstat [options]
that's it. that's the whole vibe. no filenames, no drama β she reads from stdin and she pops off. π«Ά
πΈ DESCRIPTION πΈ
so basically this is your sample statistics queen. she computes, for you:
- mean
- standard deviation
- skewness
- kurtosis
- average deviation
- minimum
- maximum
- median (π but ONLY if you pass option
-m, she's not doing charity work) - number of valid observations
and if you want to be picky about it, option -O lets you select specific statistics β like, you can have just the ones you want. main character energy fr.
with option -t, the statistics get printed for each column of data separately. and a header line gets added showing the meaning of the different columns, so you know which number is which. no cap, that's genuinely useful.
oh and the mode is computed using the Half-Sample method. iconic. noted. β
π OPTIONS π
-mβ add the sample median to the estimated statistics. yes bestie, the median is opt-in. she's exclusive.-tβ print statistics for each column of input. one column at a time, she's thorough π-sβ short:mean std skew kurt adev min max (median) num. a lil snack-sized output, no fluff.-Oβ select output:mean,std,var,skew,kurt,adev,min,max,median,num,mode. you pick, she delivers. (yesvaris in this list, love that for her.)-oβ set the output format. default is'%12.6e'. fancy formatting rights!-Fβ specify the input fields separators. default is" \t". so space and tab, obviously.-hβ this help. hi. hello. she's helping. π
π EXAMPLES π
the first one, where you ask for exactly what you want:
gbstat -O median,kurt < file
compute the median and the kurtosis of all the data in 'file'
look at that. median AND kurtosis. she ate. π₯
and the second one, the per-column serve:
gbstat -ts < file
compute statistics for each columns separately. Since option -s is provided, the header is omitted.
wait β -t gives you per-column stats, and -s keeps it short, which means the header is omitted. so no header for you in this combo, bestie. that's just how it goes. π
π AUTHOR π
Written by Giulio Bottazzi. the legend herself. okay not herself, but you get it. π
π¦ REPORTING BUGS π¦
found a bug? π do NOT suffer in silence, report it to:
<gbutils@googlegroups.com>
and the Package home page lives here:
<http://cafim.sssup.it/~giulio/software/gbutils/index.html>
go say hi. she's waiting. π
π 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.
bestie listen. that warranty clause is not a joke. she is giving you these numbers with zero promises and you need to respect that. no warranty. none. zero. fr fr. π
and that's the whole page! this lil manual is from gbstat 6.3, dated July 2021 β so yeah she's been serving these statistics for a minute. slay, periodt. β¨πβ¨
π¦ 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