{
  "_id": "6aeda5a72e87f76f20ad4e4f",
  "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-11-06 09:58:21 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/03f255a416d6fde8cb6c4ec1a96fe2e9fae9b22817edfa1eefd59eedc64b3ddb",
  "_filesize": 3500881,
  "_sha256": "03f255a416d6fde8cb6c4ec1a96fe2e9fae9b22817edfa1eefd59eedc64b3ddb",
  "_expires": "2027-02-14T10:02:13.000Z",
  "_created": "2026-11-06T09:58:21.000Z",
  "_published": "2026-11-06T10:02:15.089Z",
  "_upstream": "https://github.com/r-forge/sampleselection",
  "_status": "success",
  "_maintainer": {
    "name": "Arne Henningsen",
    "email": "arne.henningsen@gmail.com",
    "login": "arne-henningsen",
    "twitter": "@ArneHenningsen",
    "description": "",
    "uuid": 19424748,
    "orcid": "0000-0002-6720-0264"
  },
  "_jobs": [
    {
      "job": 127829680220,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13493488143"
    },
    {
      "job": 127829680207,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13492827799"
    },
    {
      "job": 127829680352,
      "time": 153,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13493108187"
    },
    {
      "job": 127829680471,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13494026215"
    },
    {
      "job": 127827544396,
      "time": 308,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13493926311"
    },
    {
      "job": 127829680113,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13493183443"
    },
    {
      "job": 127829680289,
      "time": 108,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13492254898"
    },
    {
      "job": 127829680193,
      "time": 150,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13492609274"
    },
    {
      "job": 127829681381,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13493642773"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 28,
    "description": "git-svn mirrors from https://r-forge.r-project.org/"
  },
  "_downloads": {
    "count": 7238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sampleSelection"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/sampleselection",
  "_searchresults": 422,
  "_rbuild": "4.6.2",
  "_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.837113547845217,
  "_indexed": true,
  "_nocasepkg": "sampleselection",
  "_universes": [
    "r-forge",
    "arne-henningsen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:40.000Z",
      "distro": "resolute",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/9024b0f08ca3c27230aca6c1ec036186d9ebb833d538ff99cafd2e445e956279",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:28.000Z",
      "distro": "resolute",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/7da9164207715c8b7d7df97e089d2cd6160620d84ce0cb46211596f550d82098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:28.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/ddbabb108844acaf9e452e1e0a8259a7eaa5977d3d194060f69972e19bc55ac8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:18.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/0074d4c4b70e3f1d3f67c029120d294b1df0f01a2e64a0faff451567d1150875",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:58.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/ff65399bb503f347778d8e7ae584c4dd03c0e2cb5b9368e4d56a46655f0f572c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-11-06T09:59:35.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/cc3e25fa4d0341d564917a9774b965bb343983e61287dbaee93104d19f2a02ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-11-06T10:00:02.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/be9cfe110142f4cab7b203124ad896e9a5971194e6a6834cc63d770fc65d5166",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2-17",
      "date": "2026-11-06T09:59:36.000Z",
      "commit": "b6b54bd5a274ae1e12bca8400720e645fb35b887",
      "fileid": "https://r2.ropensci.org/0d7aa989f3d4a13b816b2f106a8b01b2bab1392f580acef5ac1131669e5a648b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/42198422433"
    }
  ]
}