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

πŸ’– GBNLPOLYIT β€” bestie edition πŸ’–

okay so first things first: this is a User Command, manual section 1, and its whole government name is gbnlpolyit. Say it with me. slay. πŸŽ€


✨ NAME ✨

gbnlpolyit β€” Non linear polyit regression πŸ¦‹


✨ SYNOPSIS ✨

gbnlpolyit [options] <function definition>

that's it. that's the whole vibe. <function definition> is literally required, don't ghost it. πŸ’…


✨ DESCRIPTION ✨

Non linear polyit estimation. The whole point is minimizing the negative log-likelihood, and there are two flavors depending on which specification you're on. πŸ“

For the Polya specification, minimize:

sum_{h=0}^{L-1} log(A+h) - sum_{l=1}^L sum_{h=0}^{n_l-1}
log(a_l+h)

For the multinomial specification, minimize:

L log(A) - sum_{l=1}^L n_l log(a_l)

where A = sum_{l=1}^L a_l and L is the number of alternatives. (the way L is just. the number of alternatives. iconic.) πŸ‘‘

Now, about your input data file, bestie, listen up: it should contain L rows, one for each alternative, and each row goes n x1 ... XN. The first column is the dependent variable β€” that's the # of observations, no cap β€” and the other columns are the independent variables. 🌸

The model itself is specified by a function a_l=g(x1,x2...) where x1,.. XN stands for the first, second .. N-th column of independent variables. got it? got it. πŸ’œ


✨ OPTIONS ✨

  • -O β€” type of output (default 0)
    • 0 β€” parameters and log-like (ll)
    • 1 β€” marginal effects
    • 2 β€” marginal elasticities
    • 3 β€” n_l n*_l a*_l *=estimated
    • 4 β€” occupancies classes
  • -F β€” input fields separators (default " \t") πŸ”₯
  • -V β€” standard errors and p-scores of diff. from zero using bootstrap
  • -r β€” number of replicas (default 20)
  • -v β€” verbosity level (default 0)
    • 0 β€” just results
    • 1 β€” comment headers
    • 2 β€” summary statistics
    • 3 β€” covariance matrix
    • 4 β€” minimization steps
    • 5 β€” model definition
  • -R β€” set the rng seed (default 0) 🎲
  • -M β€” set the model to use (default 0)
    • 0 β€” Polya
    • 1 β€” multinomial
  • -A β€” MLL optimization options (default 0.01,0.1,100,1e-6,1e-6,5). fields are step,tol,iter,eps,msize,algo. Empty fields for default ✨
    • 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-Shanno-2
note bestie: -A wants its fields in that exact order, and if you leave a field empty it just falls back to the default. empty fields = default, that's the rule. πŸ™ˆ

✨ AUTHOR ✨

Written by Giulio Bottazzi 🫢


✨ REPORTING BUGS ✨

found a bug? not the moment to be shy, tell them: <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. ⚠️


okay and the lil sign-off: this is gbnlpolyit version 6.2, and the page is dated June 2021. that's the whole manual, bestie, go minimize some negative log-likelihood, you're gonna ate πŸ’…βœ¨πŸ’–