{
  "_id": "6ac61c98f511ae58c09a6483",
  "Package": "sampleSelection",
  "Version": "1.2-17",
  "Date": "2026-10-03",
  "Title": "Sample Selection Models",
  "Authors@R": "c(\nperson( given = \"Arne\", family = \"Henningsen\", role = c( \"aut\", \"cre\" ),\nemail = \"arne.henningsen@gmail.com\",\ncomment = c( ORCID = \"0000-0002-6720-0264\" ) ),\nperson( given = \"Ott\", family = \"Toomet\", role = \"aut\" ),\nperson( given = \"Sebastian\", family = \"Petersen\", role = \"ctb\" ) )",
  "Description": "Two-step and maximum likelihood estimation of Heckman-type\nsample selection models: standard sample selection models\n(Tobit-2), endogenous switching regression models (Tobit-5),\nsample selection models with binary dependent outcome variable,\ninterval regression with sample selection (only ML estimation),\nand endogenous treatment effects models. These methods are\ndescribed in the three vignettes that are included in this\npackage and in econometric textbooks such as Greene (2011,\nEconometric Analysis, 7th edition, Pearson).",
  "License": "GPL (>= 2)",
  "URL": "https://r-forge.r-project.org/projects/sampleselection/",
  "Repository": "https://r-forge.r-universe.dev",
  "Date/Publication": "2026-10-06 05:48:51 UTC",
  "RemoteUrl": "https://github.com/r-forge/sampleselection",
  "RemoteRef": "HEAD",
  "RemoteSha": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
  "RemoteSubdir": "pkg/sampleSelection",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 08:56:43 UTC",
    "User": "root"
  },
  "Author": "Arne Henningsen [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6720-0264>),\nOtt Toomet [aut],\nSebastian Petersen [ctb]",
  "Maintainer": "Arne Henningsen <arne.henningsen@gmail.com>",
  "_user": "r-forge",
  "_type": "src",
  "_file": "sampleSelection_1.2-17.tar.gz",
  "_fileid": "https://r2.ropensci.org/58661081c869dbb33b2ef9301c726d814302f2340b3e59a84f06f01e1dbf47c0",
  "_filesize": 3496350,
  "_sha256": "58661081c869dbb33b2ef9301c726d814302f2340b3e59a84f06f01e1dbf47c0",
  "_expires": "2027-01-15T10:19:01.000Z",
  "_created": "2026-10-07T08:56:43.000Z",
  "_published": "2026-10-07T10:19:04.419Z",
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112712799713,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11472132073"
    },
    {
      "job": 112712799656,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471198831"
    },
    {
      "job": 112712799634,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11474602838"
    },
    {
      "job": 112712799696,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11475645110"
    },
    {
      "job": 112707188102,
      "time": 307,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471186263"
    },
    {
      "job": 112712799788,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11471207795"
    },
    {
      "job": 112712799760,
      "time": 151,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471565739"
    },
    {
      "job": 112712799780,
      "time": 151,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11471206255"
    },
    {
      "job": 112712799854,
      "time": 157,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471865738"
    }
  ],
  "_upstream": "https://github.com/r-forge/sampleselection",
  "_commit": {
    "id": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
    "author": "arne (Arne Henningsen) <arne.henningsen@gmail.com>",
    "committer": "arne (Arne Henningsen) <arne.henningsen@gmail.com>",
    "message": "NEWS: corrected the date of version 1.2-16\n\ngit-svn-id: svn://svn.r-forge.r-project.org/svnroot/sampleselection@2098 d36ae590-6c38-44c5-9ba5-7217e93607d8\n",
    "time": 1791265731
  },
  "_maintainer": {
    "name": "Arne Henningsen",
    "email": "arne.henningsen@gmail.com",
    "login": "arne-henningsen",
    "twitter": "@ArneHenningsen",
    "description": "",
    "uuid": 19424748,
    "orcid": "0000-0002-6720-0264"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "miscTools",
      "version": ">= 0.6-3",
      "role": "Imports"
    },
    {
      "package": "systemfit",
      "version": ">= 1.0-0",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "version": ">= 1.1-1",
      "role": "Imports"
    },
    {
      "package": "VGAM",
      "version": ">= 1.1-1",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 0.9-9994",
      "role": "Imports"
    },
    {
      "package": "maxLik",
      "version": ">= 0.7-3",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "Ecdat",
      "role": "Suggests"
    }
  ],
  "_owner": "r-forge",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2026-03",
      "n": 7
    },
    {
      "week": "2026-04",
      "n": 6
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 37
    },
    {
      "week": "2026-41",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "arne-henningsen",
      "count": 926,
      "uuid": 19424748
    },
    {
      "user": "lmsstudios",
      "count": 847,
      "uuid": 97995137
    },
    {
      "user": "otoomet",
      "count": 265,
      "uuid": 13666380
    },
    {
      "user": "sebastianpet",
      "count": 55,
      "uuid": 41799793
    },
    {
      "user": "geraldine28",
      "count": 4,
      "uuid": 75378350
    },
    {
      "user": "olehjktu",
      "count": 1,
      "uuid": 36629139
    }
  ],
  "_userbio": {
    "uuid": 75573726,
    "type": "organization",
    "name": " R-Forge",
    "followers": 27,
    "description": "git-svn mirrors from R-Forge"
  },
  "_downloads": {
    "count": 5971,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sampleSelection"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/sampleselection",
  "_searchresults": 450,
  "_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/sampleSelection.html"
  ],
  "_homeurl": "https://github.com/r-forge/sampleselection",
  "_realowner": "r-forge",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5-3",
      "date": "2008-02-27"
    },
    {
      "version": "0.5-5",
      "date": "2008-06-05"
    },
    {
      "version": "0.6-0",
      "date": "2008-07-14"
    },
    {
      "version": "0.6-1",
      "date": "2008-07-18"
    },
    {
      "version": "0.6-2",
      "date": "2008-09-16"
    },
    {
      "version": "0.6-4",
      "date": "2009-01-26"
    },
    {
      "version": "0.6-6",
      "date": "2009-07-18"
    },
    {
      "version": "0.6-8",
      "date": "2009-10-16"
    },
    {
      "version": "0.6-10",
      "date": "2010-08-12"
    },
    {
      "version": "0.6-12",
      "date": "2011-11-13"
    },
    {
      "version": "0.7-0",
      "date": "2012-03-05"
    },
    {
      "version": "0.7-2",
      "date": "2012-08-14"
    },
    {
      "version": "1.0-2",
      "date": "2014-06-24"
    },
    {
      "version": "1.0-4",
      "date": "2015-11-03"
    },
    {
      "version": "1.2-0",
      "date": "2017-12-07"
    },
    {
      "version": "1.2-2",
      "date": "2019-02-19"
    },
    {
      "version": "1.2-6",
      "date": "2019-05-03"
    },
    {
      "version": "1.2-10",
      "date": "2020-11-04"
    },
    {
      "version": "1.2-12",
      "date": "2020-12-15"
    },
    {
      "version": "1.2-14",
      "date": "2026-01-20"
    },
    {
      "version": "1.2-16",
      "date": "2026-10-04"
    }
  ],
  "_exports": [
    "binaryChoice",
    "heckit",
    "heckit2fit",
    "heckit5fit",
    "heckitTfit",
    "heckitVcov",
    "invMillsRatio",
    "linearPredictors",
    "nObs",
    "probit",
    "selection",
    "stdEr",
    "tobit2Bfit",
    "tobit2fit",
    "tobit5fit",
    "treatReg"
  ],
  "_datasets": [
    {
      "name": "Mroz87",
      "title": "U.S. Women's Labor Force Participation",
      "object": "Mroz87",
      "file": "Mroz87.txt.gz",
      "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": "nlswork",
      "title": "National Longitudinal Survey of Young Working Women",
      "object": "nlswork",
      "file": "nlswork.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "idcode",
        "year",
        "birth_yr",
        "age",
        "race",
        "msp",
        "nev_mar",
        "grade",
        "collgrad",
        "not_smsa",
        "c_city",
        "south",
        "ind_code",
        "occ_code",
        "union",
        "wks_ue",
        "ttl_exp",
        "tenure",
        "hours",
        "wks_work",
        "ln_wage"
      ],
      "rows": 28534,
      "table": true,
      "tojson": true
    },
    {
      "name": "RandHIE",
      "title": "RAND Health Insurance Experiment",
      "object": "RandHIE",
      "file": "RandHIE.rda",
      "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
    },
    {
      "name": "Smoke",
      "title": "Survey Responses on Smoking Behaviour",
      "object": "Smoke",
      "file": "Smoke.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "educ",
        "age",
        "cigpric",
        "income",
        "restaurn",
        "smoker",
        "cigs_intervals",
        "cigs"
      ],
      "rows": 807,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.selection",
      "title": "Extract Coefficients from Selection Models",
      "topics": [
        "coef.selection",
        "coef.summary.selection",
        "nObs",
        "print.coef.selection",
        "stdEr"
      ]
    },
    {
      "page": "fitted.selection",
      "title": "Fitted Values of Selection Models",
      "topics": [
        "fitted.selection"
      ]
    },
    {
      "page": "heckitVcov",
      "title": "Heckit Variance Covariance Matrix",
      "topics": [
        "heckitVcov"
      ]
    },
    {
      "page": "invMillsRatio",
      "title": "Inverse Mill's Ratio of probit models",
      "topics": [
        "invMillsRatio"
      ]
    },
    {
      "page": "linearPredictors",
      "title": "Calculates linear predictors for different models",
      "topics": [
        "linearPredictors",
        "linearPredictors.probit"
      ]
    },
    {
      "page": "model.frame.binaryChoice",
      "title": "Data of Binary Choice Models",
      "topics": [
        "model.frame.binaryChoice"
      ]
    },
    {
      "page": "model.frame.selection",
      "title": "Data of Selection Models",
      "topics": [
        "model.frame.selection"
      ]
    },
    {
      "page": "model.matrix.binaryChoice",
      "title": "Design Matrix of Binary Choice Models",
      "topics": [
        "model.matrix.binaryChoice"
      ]
    },
    {
      "page": "model.matrix.selection",
      "title": "Design Matrix of Selection Models",
      "topics": [
        "model.matrix.selection"
      ]
    },
    {
      "page": "Mroz87",
      "title": "U.S. Women's Labor Force Participation",
      "topics": [
        "Mroz87"
      ]
    },
    {
      "page": "nlswork",
      "title": "National Longitudinal Survey of Young Working Women",
      "topics": [
        "nlswork"
      ]
    },
    {
      "page": "predict.probit",
      "title": "Predict method for fitted probit models",
      "topics": [
        "predict.probit"
      ]
    },
    {
      "page": "predict.selection",
      "title": "Predict method for fitted sample selection models",
      "topics": [
        "predict.selection"
      ]
    },
    {
      "page": "binaryChoice",
      "title": "Binary choice models.",
      "topics": [
        "binaryChoice",
        "probit"
      ]
    },
    {
      "page": "probit-methods",
      "title": "probit-methods",
      "topics": [
        "fitted.probit",
        "logLik.probit",
        "nObs.probit",
        "nobs.probit",
        "print.probit",
        "probit-methods"
      ]
    },
    {
      "page": "RandHIE",
      "title": "RAND Health Insurance Experiment",
      "topics": [
        "RandHIE"
      ]
    },
    {
      "page": "residuals.probit",
      "title": "Residuals of probit models",
      "topics": [
        "residuals.probit"
      ]
    },
    {
      "page": "residuals.selection",
      "title": "Residuals of Selection Models",
      "topics": [
        "residuals.selection"
      ]
    },
    {
      "page": "selection",
      "title": "Heckman-style selection and treatment effect models",
      "topics": [
        "heckit",
        "selection",
        "treatReg"
      ]
    },
    {
      "page": "selection-methods",
      "title": "selection-methods",
      "topics": [
        "logLik.selection",
        "nObs.selection",
        "nobs.selection",
        "print.selection",
        "selection-methods"
      ]
    },
    {
      "page": "Smoke",
      "title": "Survey Responses on Smoking Behaviour",
      "topics": [
        "Smoke"
      ]
    },
    {
      "page": "summary.probit",
      "title": "Summarizing Probit Estimations",
      "topics": [
        "print.summary.probit",
        "summary.probit"
      ]
    },
    {
      "page": "summary.selection",
      "title": "Summarizing Selection Estimations",
      "topics": [
        "print.summary.selection",
        "summary.selection"
      ]
    },
    {
      "page": "vcov.selection",
      "title": "Extract Variance Covariance Matrix",
      "topics": [
        "vcov.selection"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "maxLik",
    "mgcv",
    "minqa",
    "miscTools",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "systemfit",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "intReg.Rnw",
      "filename": "intReg.pdf",
      "title": "Interval Regression with Sample Selection",
      "engine": "utils::Sweave",
      "headings": [
        "Model Specification",
        "Log-Likelihood Function",
        "Restricting coefficients  and 2",
        "Gradients of the CDF of the bivariate standard normal distribution",
        "Gradients of the Log-Likelihood Function",
        "Example with a Generated Dataset",
        "Generate Dataset",
        "Example with the `Smoke' dataset"
      ],
      "created": "2017-10-22 13:32:24",
      "modified": "2017-12-07 11:53:40",
      "commits": 4
    },
    {
      "source": "selection.Rnw",
      "filename": "selection.pdf",
      "title": "Sample Selection Models",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Heckman's solution",
        "Implementation",
        "Usage",
        "Two replication exercises",
        "Robustness issues",
        "Conclusions"
      ],
      "created": "2011-11-12 22:56:14",
      "modified": "2026-01-19 13:50:42",
      "commits": 7
    },
    {
      "source": "treatReg.Rnw",
      "filename": "treatReg.pdf",
      "title": "Using treatReg",
      "engine": "utils::Sweave",
      "headings": [
        "The Problem",
        "Treatment Effects with Spherical Disturbances",
        "treatReg",
        "Conclusion"
      ],
      "created": "2015-02-01 06:47:28",
      "modified": "2019-07-15 15:03:53",
      "commits": 16
    }
  ],
  "_score": 8.781442103068487,
  "_indexed": true,
  "_nocasepkg": "sampleselection",
  "_universes": [
    "r-forge",
    "arne-henningsen"
  ],
  "_previous": "1.2-15",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-17",
      "date": "2026-10-07T09:09:27.000Z",
      "distro": "resolute",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/62d5f939c587c893dae1a56a81313ba402a0b85f4ba5ac90dd28dbe04b41edd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2-17",
      "date": "2026-10-07T09:09:24.000Z",
      "distro": "resolute",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/9098190ca3a05153abfe09cf031fe1a415de086b12a1eb422fcc4b0aa2387819",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-17",
      "date": "2026-10-07T10:14:07.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/3947e9f3bda08bb97f119dc6123cd53b2ec2a915edc5e865c23ab50dde9eb170",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2-17",
      "date": "2026-10-07T10:17:11.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/d4d66bd8a7382ae456f29ee6c0ec70df2df272c8c951657c40c54157a7eee172",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-17",
      "date": "2026-10-07T09:09:42.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/ff395f1d2b571da6a9aa0ebb45abba3f0302b030a17323878f80f0a68ad41499",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-10-07T08:58:31.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/a9bc0cd395960b6d0ae750e1664ffeca30c1c7cd22b2ad512a316375977c7140",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-10-07T08:58:28.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/e481761273c91a6d04cf1626b674afadb4a1b4da61dba04ddaa2ca884332a39e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-10-07T08:58:35.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/92338b9fee6c4e5a33d2d9489d25c95ec04b06babe8e600c2be5dd7a9ad045fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/37594852825"
    }
  ]
}