GBKER(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

πŸ’– 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 (default 64)
  • -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 (default 0)
    • 0 β€” Epanenchnikov
    • 1 β€” Rectangular
    • 2 β€” Gaussian
    • 3 β€” Laplacian
  • -M β€” choose the method for density computation (default 0)
    • 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 Β© 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 πŸ’–βœ¨πŸŽ€