DOKK / manpages / debian 12 / gbutils / gbhisto.1.en
GBHISTO(1) User Commands GBHISTO(1)

gbhisto - Produce histogram from data

gbhisto [options]

Compute histogram counting the occurrences of each value (discrete data) or binning the values on a regular grid (continuous data). Data are read from standard input. For discrete data, values and their occurrences are printed; For binned data, the bin reference point and the relative statistics are printed. The type of variable and the statistics can be set with option -M. The binning grid can be linear, logarithmic or geometric. The bin reference point is the algebraic midpoint for linear binning and the geometric midpoint for log or geometric binning. The reference point can be moved using option -S. Set it to 0 for the lower bound or to 1 for the upper bound.

number of equispaced bins where the histogram is computed (default 10)
min,max set manually the binning window
set the type of output (default 0)
0
occurrences number (continuous binned variable)
1
relative frequency (continuous binned variable)
2
empirical density (continuous binned variable)
3
occurrences number (discrete variable)
4
relative frequency (discrete variable)
5
CDF (left cumulated probability; continuous binned variable)
6
inverse CDF (1-CDF; continuous binned variable)
set the type of binning (default 0)
0
linear
1
logarithmic
2
geometric
set the bin reference point (default 0.5)
set the ratio for geometrical binning (default 1.618)
print the histogram for each imput column
specify the input fields separators (default " \t")
verbose mode

Written by Giulio Bottazzi

Report bugs to <gbutils@googlegroups.com>

Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>

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.

June 2021 gbhisto 6.2