{
  "_id": "6a1d541c1d7bb097a0a4649c",
  "Package": "ssmodels",
  "Title": "Sample Selection Models",
  "Version": "2.0.1",
  "Language": "en-US",
  "Authors@R": "c(\nperson( given = \"Fernando\", family = \"de Souza Bastos\", role = c( \"aut\", \"cre\" ),\nemail = \"fernando.bastos@ufv.br\" ),\nperson( given = \"Wagner\", family = \"Barreto de Souza\", role = \"aut\" ))",
  "Author": "Fernando de Souza Bastos [aut, cre], Wagner Barreto de Souza\n[aut]",
  "Maintainer": "Fernando de Souza Bastos <fernando.bastos@ufv.br>",
  "Description": "In order to facilitate the adjustment of the sample\nselection models existing in the literature, we created the\n'ssmodels' package. Our package allows the adjustment of the\nclassic Heckman model (Heckman (1976), Heckman (1979)\n<doi:10.2307/1912352>), and the estimation of the parameters of\nthis model via the maximum likelihood method and two-step\nmethod, in addition to the adjustment of the Heckman-t models\nintroduced in the literature by Marchenko and Genton (2012)\n<doi:10.1080/01621459.2012.656011> and the Heckman-Skew model\nintroduced in the literature by Ogundimu and Hutton (2016)\n<doi:10.1111/sjos.12171>. We also implemented functions to\nadjust the generalized version of the Heckman model, introduced\nby Bastos, Barreto-Souza, and Genton (2021)\n<doi:10.5705/ss.202021.0068>, that allows the inclusion of\ncovariables to the dispersion and correlation parameters, and a\nfunction to adjust the Heckman-BS model introduced by Bastos\nand Barreto-Souza (2020) <doi:10.1080/02664763.2020.1780570>\nthat uses the Birnbaum-Saunders distribution as a joint\ndistribution of the selection and primary regression variables.\nThis package extends and complements existing R packages such\nas 'sampleSelection' (Toomet and Henningsen, 2008) and 'ssmrob'\n(Zhelonkin et al., 2016), providing additional robust and\nflexible sample selection models.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "RdMacros": "Rdpack",
  "BugReports": "https://github.com/fsbmat-ufv/ssmodels/issues",
  "Config/testthat/edition": "3",
  "URL": "https://fsbmat-ufv.github.io/ssmodels/",
  "Repository": "https://fsbmat-ufv.r-universe.dev",
  "Date/Publication": "2025-06-02 01:57:57 UTC",
  "RemoteUrl": "https://github.com/fsbmat-ufv/ssmodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 09:38:31 UTC",
    "User": "root"
  },
  "MD5sum": "ecc4df98b11a9768c60796e8d49fb0e9",
  "_user": "fsbmat-ufv",
  "_type": "src",
  "_file": "ssmodels_2.0.1.tar.gz",
  "_fileid": "7e4cf952e47653629fafec53c40718d6b10e20a124e94a96f027b1a2ce2c0a0b",
  "_filesize": 1173951,
  "_sha256": "7e4cf952e47653629fafec53c40718d6b10e20a124e94a96f027b1a2ce2c0a0b",
  "_created": "2026-06-01T09:38:31.000Z",
  "_published": "2026-06-01T09:42:52.116Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78825497416,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328199942"
    },
    {
      "job": 78825497413,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328192539"
    },
    {
      "job": 78825497455,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328204106"
    },
    {
      "job": 78825497417,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328180927"
    },
    {
      "job": 78824683742,
      "time": 293,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328146918"
    },
    {
      "job": 78825497427,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328187579"
    },
    {
      "job": 78825497446,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328184028"
    },
    {
      "job": 78825497453,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328180952"
    },
    {
      "job": 78825497407,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328179542"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fsbmat-ufv/ssmodels",
  "_commit": {
    "id": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
    "author": "fsbmat-ufv <fernando.bastos@ufv.br>",
    "committer": "fsbmat-ufv <fernando.bastos@ufv.br>",
    "message": "Version201\n",
    "time": 1748829477
  },
  "_maintainer": {
    "name": "Fernando de Souza Bastos",
    "email": "fernando.bastos@ufv.br",
    "login": "fsbmat-ufv",
    "description": "Prof. Maths and Statistics",
    "uuid": 53442906
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "sn",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "version": ">= 2016.8-1.1",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "version": ">= 2.3.8",
      "role": "Imports"
    },
    {
      "package": "miscTools",
      "version": ">= 0.6-26",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.4",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.24",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "maxLik",
      "version": ">= 1.3-6",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.0-11",
      "role": "Suggests"
    },
    {
      "package": "sampleSelection",
      "version": ">= 1.2-6",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "kfigr",
      "version": ">= 1.2",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.1",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "version": ">= 2.3",
      "role": "Suggests"
    }
  ],
  "_owner": "fsbmat-ufv",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 30
    },
    {
      "week": "2025-23",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "fsbmat-ufv",
      "count": 51,
      "uuid": 53442906
    },
    {
      "user": "fsbmat",
      "count": 17,
      "uuid": 16432252
    },
    {
      "user": "estmat-ufv",
      "count": 3,
      "uuid": 54518433
    }
  ],
  "_userbio": {
    "uuid": 53442906,
    "type": "user",
    "name": "Fernando de Souza Bastos",
    "description": "Prof. Maths and Statistics"
  },
  "_downloads": {
    "count": 187,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ssmodels"
  },
  "_devurl": "https://github.com/fsbmat-ufv/ssmodels",
  "_pkgdown": "https://fsbmat-ufv.github.io/ssmodels/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ssmodels.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fsbmat-ufv/ssmodels",
  "_realowner": "fsbmat-ufv",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2022-10-04"
    },
    {
      "version": "2.0.0",
      "date": "2025-06-01"
    },
    {
      "version": "2.0.1",
      "date": "2025-06-02"
    },
    {
      "version": "2.0.2",
      "date": "2026-05-30"
    }
  ],
  "_exports": [
    "extract_model_components",
    "HCinitial",
    "HeckmanBS",
    "HeckmanCL",
    "HeckmanGe",
    "HeckmanSK",
    "HeckmantS",
    "IMR",
    "postprocess_theta",
    "step2",
    "twostep"
  ],
  "_datasets": [
    {
      "name": "MEPS2001",
      "title": "Medical Expenditure Panel Survey",
      "object": "MEPS2001",
      "class": [
        "data.frame"
      ],
      "fields": [
        "educ",
        "age",
        "income",
        "female",
        "vgood",
        "good",
        "hospexp",
        "totchr",
        "ffs",
        "dhospexp",
        "age2",
        "agefem",
        "fairpoor",
        "year01",
        "instype",
        "ambexp",
        "lambexp",
        "blhisp",
        "instype_s1",
        "dambexp",
        "lnambx",
        "ins"
      ],
      "rows": 3328,
      "table": true,
      "tojson": true
    },
    {
      "name": "Mroz87",
      "title": "U.S. Women's Labor Force Participation",
      "object": "Mroz87",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lfp",
        "hours",
        "kids5",
        "kids618",
        "age",
        "educ",
        "wage",
        "repwage",
        "hushrs",
        "husage",
        "huseduc",
        "huswage",
        "faminc",
        "mtr",
        "motheduc",
        "fatheduc",
        "unem",
        "city",
        "exper",
        "nwifeinc",
        "wifecoll",
        "huscoll"
      ],
      "rows": 753,
      "table": true,
      "tojson": true
    },
    {
      "name": "nhanes",
      "title": "US National Health and Nutrition Examination Study",
      "object": "nhanes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "age",
        "gender",
        "educ",
        "race",
        "income",
        "Income",
        "bmi",
        "sbp"
      ],
      "rows": 9643,
      "table": true,
      "tojson": true
    },
    {
      "name": "PSID2",
      "title": "Panel Study of Income Dynamics",
      "object": "PSID2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "year",
        "age",
        "educ",
        "children",
        "s",
        "lnw",
        "lnw80",
        "agesr",
        "children_lag1",
        "children_lag2",
        "lnw2",
        "Lnw"
      ],
      "rows": 6948,
      "table": true,
      "tojson": true
    },
    {
      "name": "RandHIE",
      "title": "RAND Health Insurance Experiment",
      "object": "RandHIE",
      "class": [
        "data.frame"
      ],
      "fields": [
        "plan",
        "site",
        "coins",
        "tookphys",
        "year",
        "zper",
        "black",
        "income",
        "xage",
        "female",
        "educdec",
        "time",
        "outpdol",
        "drugdol",
        "suppdol",
        "mentdol",
        "inpdol",
        "meddol",
        "totadm",
        "inpmis",
        "mentvis",
        "mdvis",
        "notmdvis",
        "num",
        "mhi",
        "disea",
        "physlm",
        "ghindx",
        "mdeoff",
        "pioff",
        "child",
        "fchild",
        "lfam",
        "lpi",
        "idp",
        "logc",
        "fmde",
        "hlthg",
        "hlthf",
        "hlthp",
        "xghindx",
        "linc",
        "lnum",
        "lnmeddol",
        "binexp"
      ],
      "rows": 20190,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "HCinitial",
      "title": "Two-Step Method for Parameter Estimation of the Classical Heckman Model",
      "topics": [
        "HCinitial"
      ]
    },
    {
      "page": "HeckmanBS",
      "title": "Heckman-BS Model Fit Function",
      "topics": [
        "HeckmanBS"
      ]
    },
    {
      "page": "HeckmanCL",
      "title": "Classic Heckman Model Fit Function",
      "topics": [
        "HeckmanCL"
      ]
    },
    {
      "page": "HeckmanGe",
      "title": "Generalized Heckman Model Estimation",
      "topics": [
        "HeckmanGe"
      ]
    },
    {
      "page": "HeckmanSK",
      "title": "Skew-Normal Sample Selection Model Fit Function",
      "topics": [
        "HeckmanSK"
      ]
    },
    {
      "page": "HeckmantS",
      "title": "Heckman-t Model Fit Function",
      "topics": [
        "HeckmantS"
      ]
    },
    {
      "page": "IMR",
      "title": "Inverse Mills Ratio (IMR) Calculation",
      "topics": [
        "IMR"
      ]
    },
    {
      "page": "MEPS2001",
      "title": "Medical Expenditure Panel Survey",
      "topics": [
        "MEPS2001"
      ]
    },
    {
      "page": "Mroz87",
      "title": "U.S. Women's Labor Force Participation",
      "topics": [
        "Mroz87"
      ]
    },
    {
      "page": "nhanes",
      "title": "US National Health and Nutrition Examination Study",
      "topics": [
        "nhanes"
      ]
    },
    {
      "page": "PSID2",
      "title": "Panel Study of Income Dynamics",
      "topics": [
        "PSID2"
      ]
    },
    {
      "page": "RandHIE",
      "title": "RAND Health Insurance Experiment",
      "topics": [
        "RandHIE"
      ]
    },
    {
      "page": "ssmodels",
      "title": "ssmodels: Sample Selection Models in R",
      "topics": [
        "ssmodels-package",
        "ssmodels"
      ]
    },
    {
      "page": "step2",
      "title": "Heckman's Two-Step Method",
      "topics": [
        "step2"
      ]
    },
    {
      "page": "summary.HeckmanBS",
      "title": "Summary of Birnbaum-Saunders Heckman Model",
      "topics": [
        "summary.HeckmanBS"
      ]
    },
    {
      "page": "summary.HeckmanCL",
      "title": "Summary of Classic Heckman Model",
      "topics": [
        "summary.HeckmanCL"
      ]
    },
    {
      "page": "summary.HeckmanGe",
      "title": "Summary of Generalized Heckman Model",
      "topics": [
        "summary.HeckmanGe"
      ]
    },
    {
      "page": "summary.HeckmanSK",
      "title": "Summary of Skew-Normal Heckman Model",
      "topics": [
        "summary.HeckmanSK"
      ]
    },
    {
      "page": "summary.HeckmantS",
      "title": "Summary of Heckman-t Model",
      "topics": [
        "summary.HeckmantS"
      ]
    },
    {
      "page": "twostep",
      "title": "Two-Step Estimation of the Classic Heckman Model",
      "topics": [
        "twostep"
      ]
    }
  ],
  "_pkglogo": "https://github.com/fsbmat-ufv/ssmodels/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/fsbmat-ufv/ssmodels/raw/HEAD/README.md",
  "_rundeps": [
    "digest",
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "miscTools",
    "mnormt",
    "numDeriv",
    "pracma",
    "quantreg",
    "rbibutils",
    "Rdpack",
    "sn",
    "SparseM",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "ssmodels: A package for fit the sample selection models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Real Databases",
        "MEPS 2001",
        "Nhanes 2003-2004",
        "References"
      ],
      "created": "2020-12-17 01:47:32",
      "modified": "2025-06-01 01:52:35",
      "commits": 11
    }
  ],
  "_score": 4.414973347970818,
  "_indexed": true,
  "_nocasepkg": "ssmodels",
  "_universes": [
    "fsbmat-ufv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-06-01T09:41:43.000Z",
      "distro": "noble",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "acb7157468c247779ef864591fe72e4dc0fd55a77ff584faeede56714930da1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-06-01T09:41:22.000Z",
      "distro": "noble",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "4486c58b303fe3a28e7e49730c34ea0fb28ba36acd3dc56a420157d0ba1bc716",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-06-01T09:41:49.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "ee91ce45642845c58ff31935eb059e6929fe5f0038338b5296b81a8a061494a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-06-01T09:40:56.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "ac2eceb8c22b5848f3ab907886d9c3d82dee66b87ff590100439abcee8f11188",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-06-01T09:41:36.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "e7533a38c7e61df9e69477a952c35d77564845bd55d8d3a9f565cdd098933f4a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-06-01T09:40:41.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "af58c5e2b94942a80b175979b088d0ad81631477625b89886e305959087cbe90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-06-01T09:40:31.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "be7db01c90ab995e21e9cf937b940cfe09264f5bbbf248a2848065a43b2924c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-06-01T09:40:31.000Z",
      "commit": "112b1298317b5392a61a2c8ec5ef53c635b13d0c",
      "fileid": "070a27e5e0dadc8f1b680068d73eb2625410cfd84a5c368295c256a2f75a0ffe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/26746914855"
    }
  ]
}