GBNLPOLYIT(1)
π 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 (default0)0β parameters and log-like (ll)1β marginal effects2β marginal elasticities3βn_ln*_la*_l*=estimated4β occupancies classes
-Fβ input fields separators (default" \t") π₯-Vβ standard errors and p-scores of diff. from zero using bootstrap-rβ number of replicas (default20)-vβ verbosity level (default0)0β just results1β comment headers2β summary statistics3β covariance matrix4β minimization steps5β model definition
-Rβ set the rng seed (default0) π²-Mβ set the model to use (default0)0β Polya1β multinomial
-Aβ MLL optimization options (default0.01,0.1,100,1e-6,1e-6,5). fields arestep,tol,iter,eps,msize,algo. Empty fields for default β¨stepβ initial step size of the searching algorithmtolβ line search toleranceiterβ maximum number of iterationsepsβ gradient tolerance : stopping criteria||gradient||<epsalgoβ optimization methods:0Fletcher-Reeves,1Polak-Ribiere,2Broyden-Fletcher-Goldfarb-Shanno,3Steepest descent,4simplex,5Broyden-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 β¨
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 π
β¨π
π¦ 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