{
  "_id": "6ab9e79b99f7aa8c6aa3bdc9",
  "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": "2026-09-28 03:24:11 UTC",
  "RemoteUrl": "https://github.com/fsbmat-ufv/ssmodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "9943f4b19d61cab98af7a002f498f55be76cbf13",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-28 04:01:53 UTC",
    "User": "root"
  },
  "_user": "fsbmat-ufv",
  "_type": "src",
  "_file": "ssmodels_2.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/682cd42ee516693075714ce14b9fc148d9e6c3cb9cfc52bc9b1f07f0a97935b1",
  "_filesize": 1177543,
  "_sha256": "682cd42ee516693075714ce14b9fc148d9e6c3cb9cfc52bc9b1f07f0a97935b1",
  "_expires": "2027-01-06T04:05:45.000Z",
  "_created": "2026-09-28T04:01:53.000Z",
  "_published": "2026-09-28T04:05:46.875Z",
  "_jobs": [
    {
      "job": 108781930152,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10950858191"
    },
    {
      "job": 108781930114,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10951226000"
    },
    {
      "job": 108781930209,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10950468464"
    },
    {
      "job": 108781930163,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10951131401"
    },
    {
      "job": 108781039443,
      "time": 283,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10950479891"
    },
    {
      "job": 108781930204,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10950669203"
    },
    {
      "job": 108781930169,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10951016029"
    },
    {
      "job": 108781930124,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10950343990"
    },
    {
      "job": 108781930179,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10951125714"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338",
  "_status": "success",
  "_upstream": "https://github.com/fsbmat-ufv/ssmodels",
  "_commit": {
    "id": "9943f4b19d61cab98af7a002f498f55be76cbf13",
    "author": "Fernando de Souza Bastos <53442906+fsbmat-ufv@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from fsbmat-ufv/docs/professionalize-repository\n\nProfessionalize ssmodels academic repository",
    "time": 1790565851
  },
  "_maintainer": {
    "name": "Fernando de Souza Bastos",
    "email": "fernando.bastos@ufv.br",
    "login": "fsbmat-ufv",
    "description": "Professor of Statistics @ UFV | Statistical Modeling, Sample Selection Models, Computational Statistics & Data Science | R package developer",
    "uuid": 53442906
  },
  "_distro": "resolute",
  "_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": "2026-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "fsbmat-ufv",
      "count": 55,
      "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",
    "followers": 17,
    "description": "Professor of Statistics @ UFV | Statistical Modeling, Sample Selection Models, Computational Statistics & Data Science | R package developer"
  },
  "_downloads": {
    "count": 398,
    "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": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ssmodels.html"
  ],
  "_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.176091259055681,
  "_indexed": true,
  "_nocasepkg": "ssmodels",
  "_universes": [
    "fsbmat-ufv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-09-28T04:04:50.000Z",
      "distro": "resolute",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/4d249c4298c11c700084a31f98410c99f3fd301bfda9eb99508f270e8db07f93",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-09-28T04:04:51.000Z",
      "distro": "resolute",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/d56b2ac0dada0ec387fa35c09a3a3155a6bd5f3a162a1635857ce5b0e38ddebe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-09-28T04:04:12.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/a6060d5ebbe1fbf8a227dfab1496957ba1431eb37ba891c564a1d8ea0753462d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-09-28T04:04:14.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/aa3ec005229a4d13b3cb69399c1752f495b30031fd76a3078817497333537cda",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-09-28T04:04:38.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/b4311a69a745367ab0b5487f2ddd91b711f4b8dab27c4beee8f8b1ae4e9441b3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-09-28T04:03:10.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/cd248d5a134b49a09b129a65f1e6a3397c5f650a8aa3197a0df0eb4608203124",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-09-28T04:03:09.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/2c92d13d853f9a2885e8c83e234cdfd594c3e8cebdd874a07b27410f9d6cb7fe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-09-28T04:03:11.000Z",
      "commit": "9943f4b19d61cab98af7a002f498f55be76cbf13",
      "fileid": "https://r2.ropensci.org/f750319ce1069d954548042c744c1a0681e61ba3ab80a34f1d9b48c97629d376",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fsbmat-ufv/actions/runs/36375704338"
    }
  ]
}