This package offers Maximum-Likelihood based estimation of Tobit models with a Random Effects specification in panel data. The log-likelihood is evaluated via (non-adaptive) Gauss-Hermite quadrature, with a configurable number of quadrature points. In Tobit models the dependent variable's outcomes are not observed if the associated latent variable is beyond a certain threshold. This is related to https://sourceforge.net/p/gretl/feature-requests/117/ Please be aware of that fact that, if the distributional assumptions of the RE Tobit model are violated, then Gaussian quadrature becomes rather unstable with respect to implementation details. Therefore, in some cases the results you could be getting with this package could be soemwhat different from what you'd get with other software. The convergence of the estimation algorithm is not as fast as it could theoretically be, since we employ analytical first derivatives but the Hessian is computed numerically. We would welcome collaborators for maintaining and developing this package. retobit ------- The only public function, with the following arguments: - y (series) dependent variable with missings for non-observed values - X (list) explanatory variables - lb (scalar) left bound of observability (default 0) - rb (scalar) right bound of observability (default unset/NA) - q (integer) number of quadrature points in the estimation (default 24) - verbosity (integer) how much to print out (default 1) Returns a bundle with the following elements: - coeff (matrix) coefficient column vector: slopes, then sigma_eps, then sigma_alpha - stderr (matrix) corresponding std errors - vcv (matrix) full variance-covariance matrix - censstats (matrix) 2x3 matrix: 1st row: left bound, 0, right bound 2nd row: num of obs in the respective cases - NT (scalar) panel information, total obs N*T - N (scalar) ditto, number of groups - r (scalar) ditto, fraction of valid obs overall - m (scalar) ditto, lowest numobs in a group - M (scalar) ditto, highest numobs in a group - lnl (scalar) maximized log-likelihood - ll0 (scalar) log-likelihood of the pooled model - quadpoints (scalar) number of quadrature points - yname (string) name of the dependent variable - parnames (strings array) names associated with coeffs Changelog: 0.1 (February 2020), initial functional release 0.2 (July 2020): - some internal code reorganisation for efficiency and a noticeable but still limited speedup; - changed the location of the menu attachment to panel models (users of v0.1 may have to remove the old attachment manually via the function package registry) - add the numbers NT, N, r, m, M directly to the return bundle (the old containing matrix panelstats is still available in the bundle as well) 0.9 (August 2020): - switch to analytical derivatives, slight reorganisation of printed output 0.91 (February 2021): - just bump up gretl version requirement to handle --opg option to the "tobit" command used for initialisation. No other changes.