Package: ssmodels 2.0.1

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. This package extends and complements existing R packages such as 'sampleSelection' (Toomet and Henningsen, 2008) and 'ssmrob' (Zhelonkin et al., 2016), providing additional robust and flexible sample selection models.
Authors:
ssmodels_2.0.1.tar.gz
ssmodels_2.0.1.zip(r-4.7-any)ssmodels_2.0.1.zip(r-4.6-any)ssmodels_2.0.1.zip(r-4.5-any)
ssmodels_2.0.1.tgz(r-4.6-any)ssmodels_2.0.1.tgz(r-4.5-any)
ssmodels_2.0.1.tar.gz(r-4.7-any)ssmodels_2.0.1.tar.gz(r-4.6-any)
ssmodels_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ssmodels/json (API)
| # Install 'ssmodels' in R: |
| install.packages('ssmodels', repos = c('https://fsbmat-ufv.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/fsbmat-ufv/ssmodels/issues
Pkgdown/docs site:https://fsbmat-ufv.github.io
Last updated from:9943f4b19d. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 188 | ||
| source / vignettes | OK | 283 | ||
| linux-release | NOTE | 189 | ||
| macos-release | NOTE | 177 | ||
| macos-oldrel | NOTE | 160 | ||
| windows-devel | NOTE | 99 | ||
| windows-release | NOTE | 99 | ||
| windows-oldrel | NOTE | 97 | ||
| wasm-release | OK | 149 |
Exports:extract_model_componentsHCinitialHeckmanBSHeckmanCLHeckmanGeHeckmanSKHeckmantSIMRpostprocess_thetastep2twostep
Dependencies:digestlatticeMASSMatrixMatrixModelsmiscToolsmnormtnumDerivpracmaquantregrbibutilsRdpacksnSparseMsurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Two-Step Method for Parameter Estimation of the Classical Heckman Model | HCinitial |
| Heckman-BS Model Fit Function | HeckmanBS |
| Classic Heckman Model Fit Function | HeckmanCL |
| Generalized Heckman Model Estimation | HeckmanGe |
| Skew-Normal Sample Selection Model Fit Function | HeckmanSK |
| Heckman-t Model Fit Function | HeckmantS |
| Inverse Mills Ratio (IMR) Calculation | IMR |
| Medical Expenditure Panel Survey | MEPS2001 |
| U.S. Women's Labor Force Participation | Mroz87 |
| US National Health and Nutrition Examination Study | nhanes |
| Panel Study of Income Dynamics | PSID2 |
| RAND Health Insurance Experiment | RandHIE |
| ssmodels: Sample Selection Models in R | ssmodels-package ssmodels |
| Heckman's Two-Step Method | step2 |
| Summary of Birnbaum-Saunders Heckman Model | summary.HeckmanBS |
| Summary of Classic Heckman Model | summary.HeckmanCL |
| Summary of Generalized Heckman Model | summary.HeckmanGe |
| Summary of Skew-Normal Heckman Model | summary.HeckmanSK |
| Summary of Heckman-t Model | summary.HeckmantS |
| Two-Step Estimation of the Classic Heckman Model | twostep |