GBSTAT(1)

πŸ“¦
version 6.3 Β· 2 versions
  • 6.3 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 6.0 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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. (yes var is 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 Β© 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. βœ¨πŸ’–βœ¨