ssmodels: Sample Selection Models

In order to facilitate the adjustment of the sample selection models existing in the literature, we created the 'ssmodels' package. Our package allows the adjustment of the classic Heckman model (Heckman (1976), Heckman (1979) <doi:10.2307/1912352>), and the estimation of the parameters of this model via the maximum likelihood method and two-step method, in addition to the adjustment of the Heckman-t models, introduced in the literature by Marchenko and Genton (2012) <doi:10.1080/01621459.2012.656011> and the Heckman-Skew model introduced in the literature by Ogundimu and Hutton (2016) <doi:10.1111/sjos.12171>. We also implemented functions to adjust the generalized version of the Heckman model, introduced by Bastos, Barreto-Souza, and Genton (2021) <doi:10.5705/ss.202021.0068>, that allows the inclusion of covariables to the dispersion and correlation parameters and a function to adjust the Heckman-BS model introduced by Bastos and Barreto-Souza (2020) <doi:10.1080/02664763.2020.1780570> that uses the Birnbaum-Saunders distribution as a joint distribution of the selection and primary regression variables.

Version: 1.0.1
Depends: R (≥ 3.6.0)
Imports: sn (≥ 2.1.0), numDeriv (≥ 2016.8-1.1), pracma (≥ 2.3.8), miscTools (≥ 0.6-26), Rdpack (≥ 2.4)
Suggests: knitr (≥ 1.24), testthat (≥ 3.0.0), maxLik (≥ 1.3-6), mvtnorm (≥ 1.0-11), sampleSelection (≥ 1.2-6), kableExtra (≥ 1.1.0), kfigr (≥ 1.2), ggplot2 (≥ 3.2.1), gridExtra (≥ 2.3)
Published: 2022-10-04
Author: Fernando de Souza Bastos [aut, cre], Wagner Barreto de Souza [aut]
Maintainer: Fernando de Souza Bastos <fernando.bastos at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: ssmodels results


Reference manual: ssmodels.pdf
Vignettes: ssmodels: A package for fit the sample selection models


Package source: ssmodels_1.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ssmodels_1.0.1.tgz, r-oldrel (arm64): ssmodels_1.0.1.tgz, r-release (x86_64): ssmodels_1.0.1.tgz, r-oldrel (x86_64): ssmodels_1.0.1.tgz


Please use the canonical form to link to this page.