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

✨ GBHILL(1) ✨

okay bestie, so this is a section 1 user command, the one and only gbhill β€” Hill Maximum Likelihhod estimation πŸ’… (yes that's the spelling, we don't fix it, we respect it)


NAME πŸŽ€

gbhill β€” Hill Maximum Likelihhod estimation


SYNOPSIS πŸ¦‹

gbhill [options] <function definition>

DESCRIPTION 🌸

So basically Maximum Likelihood estimation of a distribution, but the twist is it's based on extremal (tail) observations πŸ‘‘ β€” like, we're not looking at the whole dataset, we're looking at the ends, the drama, the outliers. The distributions included are: exponential, pareto1, pareto3, gaussian.

You gotta provide the name of the distribution and the initial values of the parameters right there in the command line. No config file, no vibes-based guessing, just tell her directly 🫢


OPTIONS ✨

  • -O β€” type of output (default 0)
    • 0 β€” parameters and min NLL
    • 1 β€” parameters and errors
    • 2 β€” the distribution function
    • 3 β€” the density function
    • 4 β€” transformed observations: uniform in [0.1] under the null
    • 5 β€” log Renyi residuals: iid uniform in [0.1] under the null
    • 6 β€” Renyi residuals: iid exponential with mean 1 under the null
  • -M β€” method used (default 0)
    • 0 β€” unconditional, upper tail
    • 1 β€” threshold, upper tail
    • 2 β€” unconditional, lower tail
    • 3 β€” threshold, lower tail
  • -V β€” variance matrix estimation (default 2)
    • 0 β€” < J^{-1} >
    • 1 β€” < H^{-1} >
    • 2 β€” < H^{-1} J H^{-1} >
  • -v β€” verbosity level (default 0)
    • 0 β€” just results
    • 1 β€” comment headers
    • 2 β€” summary statistics
    • 3+ β€” minimization steps
  • -a β€” print entire set for -O 1,2
  • -u β€” observations or threshold (default 1)
  • -F β€” input fields separators (default " \t")
  • -h β€” this help
  • -A β€” comma separated MLL optimization options step,tol,iter,eps,msize,algo. Use empty fields for default (default 0.01,0.01,100,1e-6,1e-6,5)
    • step β€” initial step size of the searching algorithm
    • tol β€” line search tolerance iter: maximum number of iterations
    • eps β€” gradient tolerance : stopping criteria ||gradient||<eps
    • algo β€” optimization methods: 0 Fletcher-Reeves, 1 Polak-Ribiere, 2 Broyden-Fletcher-Goldfarb-Shanno, 3 Steepest descent, 4 simplex, 5 Broyden-Fletcher-Goldfarb-Shanno2.

EXAMPLES 🌈

gbhill pareto1 1 1 < file.dat

estimate the Pareto type 1 distribution, initial values are gamma=1 and b=1

gbhill -u .2 pareto1 1 1 < file.dat

the same using only top 20% observations


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>


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.

ngl bestie, that WARRANTY line is giving real talk β€” no promises, no cap, check the GNU General Public License for the full tea πŸ™ˆ

and that's the whole thing, fr fr β€” this was gbhill 6.3, dated March 2022, and it lives in the GBHILL(1) section. stan a tail-estimating icon πŸ’–βœ¨πŸŽ€