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

๐Ÿ’– GBNLPROBIT ๐Ÿ’–

okay bestie, gather round, because today we're doing non linear probit regression and honestly? it's giving main character energy โœจ


๐ŸŒธ NAME ๐ŸŒธ

gbnlprobit โ€” non linear probit regression. that's it, that's the whole vibe. ๐ŸŽ€


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

gbnlprobit [options] <function definition>

no cap, that's literally the whole thing. you pass it options and a function definition and it works. ๐Ÿ’…


โญ DESCRIPTION โญ

so. we're doing non linear probit estimation, and what that means is we minimize the negative log-likelihood:

sum_{i in N_0} log(1-F(g(X_i))) + sum_{i in N_1} log(F(g(X_i)))

where N_0 and N_1 are the sets of 0 and 1 observations, g is a generic function of the independent variables, and F is the normal CDF. slay. ๐Ÿ”ฅ

and ALSO, plot twist, it's also possible to minimize the score function:

w_0 sum_{i in N_0} theta(F(g(X_i))-t) +

       w_1 sum_{i in N_1} theta(t-F(g(X_i)))

where theta is the Heaviside function and t a threshold level. Weights w_0 and w_1 scale the contribution of the two subpopulations. ๐Ÿซถ

okay now the data tea โ˜• โ€” the first column of data contains 0/1 entries. Successive columns are independent variables. The model is specified by a function g(x1,x2...) where x1,.. stands for the first, second .. N-th column independent variables. iykyk. ๐Ÿ’œ


๐ŸŒˆ options: ๐ŸŒˆ

  • -O โ€” type of output (default 0) ๐Ÿ“
    • 0 โ€” parameters
    • 1 โ€” parameters and errors
    • 2 โ€” <variables> and probabilities
    • 3 โ€” parameters and variance matrix
    • 4 โ€” marginal effects
  • -V โ€” variance matrix estimation (default 0) ๐Ÿงฎ
    • 0 โ€” <gradF gradF^t>
    • 1 โ€” < J^{-1} >
    • 2 โ€” < H^{-1} >
    • 3 โ€” < H^{-1} J H^{-1} >
  • -z โ€” take zscore (not of 0/1 dummies) โœจ
  • -F โ€” input fields separators (default " \t") ๐Ÿ“
  • -v โ€” verbosity level (default 0) ๐Ÿ—ฃ๏ธ
    • 0 โ€” just results
    • 1 โ€” comment headers
    • 2 โ€” summary statistics
    • 3 โ€” covariance matrix
    • 4 โ€” minimization steps (default 10)
    • 5 โ€” model definition
  • -g โ€” set number of point for global optimal threshold identification ๐ŸŽฏ
  • -h โ€” this help ๐Ÿ™ˆ
  • -t โ€” set threshold value (default 0) ๐ŸŒธ
    • 0 โ€” ignore threshold
    • (0,1) โ€” user provided threshold
    • 1 โ€” compute optimal only global
    • 2 โ€” compute optimal
  • -M โ€” estimation method ๐Ÿงš
    • 0 โ€” maximum likelihood
    • 1 โ€” min. score (w0=w1=1)
    • 2 โ€” min. score (w0=1/N0, w1=1/N1)
  • -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
  • -B โ€” score optimization options (default 0.1,100,1e-6) โ€” fields are step,iter,msize. Empty fields for default ๐Ÿ’œ
    • step โ€” initial step size of the searching algorithm
    • iter โ€” maximum number of iterations
    • msize โ€” max size, stopping criteria simplex dim. <max size optimization method is simplex

๐ŸŽ€ AUTHOR ๐ŸŽ€

Written by Giulio Bottazzi ๐Ÿ’–


๐Ÿ’€ REPORTING BUGS ๐Ÿ’€

found a bug? not me gatekeeping, go tell them fr fr:

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. โš ๏ธ


and that's the whole page bestie!! this is gbnlprobit version 6.2, from June 2021, and honestly it ate. go forth and probit. periodt. ๐Ÿ’…โœจ๐Ÿซถ

๐Ÿ“ฆ where this page comes from