GBKER2D(1)

✨ GBKER2D ✨ β€” the manual page, bestie edition πŸ’–

okay so this is gbker2d, a User Commands situation, and honestly? it's giving math but make it cute. sit down, grab a lil drink, we're doing density estimation together 🫢


🌸 NAME 🌸

gbker2d β€” Kernel density estimate for bivariate data ✨

like. it does the kernel density thing. for two variables. the bivariate kind πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

gbker2d [options]

that's it. that's the whole vibe. just options, no positional arguments, no drama πŸ™ˆ


πŸ’œ DESCRIPTION πŸ’œ

So bestie, here's the tea β˜• β€” this is 2D kernel density estimation on an equispaced grid. Not a wonky irregular grid, an equispaced one. Very demure, very mindful ✨

Data come in from standard input, and they're read as couples (x,y). Yes literally, pairs. x and y. the iconic duo πŸ‘‘

Now about the bandwidth β€” if you don't hand it over yourself with the -H option, it gets set automatically. no cap. and here's the fun part: you can specify different bandwidths for x and y separately, because they're different queens with different needs πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -n β€” number of points where the density is computed. default is 10. want different values for x and y? use a comma (,) to specify them separately, like the icon you are πŸ’–
  • -H β€” set the kernel bandwidth explicitly. and yes, you guessed it, use comma (,) to specify different values for the x and y components πŸ¦‹
  • -S β€” scale the kernel bandwidth with respect to the euristic 'optimal' value (yes, "euristic", that's what it says, we don't question it). comma (,) again if you want different values for x and y πŸŽ€
  • -K β€” choose the kernel to use, and there are four whole options here, pick your fighter:
    • 0: Epanenchnikov (the default, the main character πŸ‘‘)
    • 1: Rectangular
    • 2: Silverman type 1
    • 3: Silverman type 2
  • -D β€” switch off data de-variation procedure. just... turns it off. bye bestie πŸ‘‹
  • -v β€” verbose mode πŸ—£οΈ she talks now
  • -F β€” specify the input fields separators. default is " \t" (space and tab, the classic combo)
  • -h β€” this help. hi hello, you found it 🌈

πŸ”₯ EXAMPLES πŸ”₯

okay so here's one that's actually kinda slay:

gbker2d -n 10,20 -K 1 < file

what's it doing? compute the kernel on an equispaced grid 10x20 using a rectangular kernel. ten by twenty. rectangle kernel. grid. done. ate πŸ’…βœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Written by Giulio Bottazzi 🫢


😭 REPORTING BUGS 😭

found a bug? not the vibe, but okay, let's handle it. 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. (yes this part is in all caps in the original too, it's very serious, respect it πŸ™)


ok that's the whole page, no notes πŸ’…

and that's a wrap, bestie β€” this was gbker2d version 6.0.beta2, dated October 2018. go compute some densities. mwah πŸ’–βœ¨πŸŽ€