GBKER(1)
π GBKER β the gbker manual page, but make it cute π
okay bestie, sit down, hydrate, because we're about to talk about gbker β a User Command that produces kernel density estimation. yes it's a mouthful. yes it slays. let's go π«Ά
β¨ NAME β¨
gbker β produce kernel density estimation
πΈ SYNOPSIS πΈ
gbker [options]
π¦ DESCRIPTION π¦
so basically, gbker computes the kernel density estimation on an equispaced grid. the data? read from standard input, obviously. π
the kernel bandwidth β if you don't hand it over with the -H option β gets set automatically using simple heuristics. no cap, it just figures it out.
normally the whole support is displayed. but if you wanna be picky (respect), the -w option restricts the computation to a specific range of values. and the method used to compute the density? that's the -M option's whole job. heads up though: the boundaries of the grid are slightly different in the different cases. π
π OPTIONS π
-nβ number of equispaced points/bins where the density is computed (default64)-wβ set the grid boundaries with min,max (default whole support)-Hβ set the kernel bandwidth-Sβ scale the automatic kernel bandwidth-Kβ choose the kernel to use (default0)0β Epanenchnikov1β Rectangular2β Gaussian3β Laplacian
-Mβ choose the method for density computation (default0)0β use FFT (#grid points rounded to nearest power of 2)1β use discrete convolution (compact kernels only; bins>2)2β explicit summation (boundaries excluded)
-Fβ specify the input fields separators (default" \t")
π EXAMPLES π
gbker -n 128 -K 2 < file
use a Gaussian kernel to compute the density on 128 equispaced points with the FFT approach. all the data in file are used, multiple columns are pooled. iconic behaviour fr fr β¨
gbker -K 3 -M 2 < file
use a Laplacian kernel to compute the density on 64 points. the method used is the explicit summation. lowkey elegant π
π AUTHOR π
Written by Giulio Bottazzi
π REPORTING BUGS π
Report bugs to <gbutils@googlegroups.com>
Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>
bestie if you find a bug, tell them, don't just suffer in silence π
π 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.
β οΈ real talk: that warranty disclaimer is not a vibe, it's a warning. no warranty, periodt.
and that's the whole page, bestie π«Ά this was gbker 6.2, dated June 2021, living its best life as a User Commands manual page. go forth and estimate those densities πβ¨π
π¦ 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