{
  "_id": "6a0f5c7bacfb0bcc41c59715",
  "Package": "sampleSelection",
  "Version": "1.2-15",
  "Date": "2026-01-19",
  "Title": "Sample Selection Models",
  "Authors@R": "c(\nperson( given = \"Arne\", family = \"Henningsen\", role = c( \"aut\", \"cre\" ),\nemail = \"arne.henningsen@gmail.com\" ),\nperson( given = \"Ott\", family = \"Toomet\", role = \"aut\" ),\nperson( given = \"Sebastian\", family = \"Petersen\", role = \"ctb\" ) )",
  "Author": "Arne Henningsen [aut, cre], Ott Toomet [aut], Sebastian\nPetersen [ctb]",
  "Maintainer": "Arne Henningsen <arne.henningsen@gmail.com>",
  "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/",
  "Config/pak/sysreqs": "cmake libicu-dev",
  "Repository": "https://r-forge.r-universe.dev",
  "Date/Publication": "2026-01-19 20:11:31 UTC",
  "RemoteUrl": "https://github.com/r-forge/sampleselection",
  "RemoteRef": "HEAD",
  "RemoteSha": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
  "RemoteSubdir": "pkg/sampleSelection",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 17:04:18 UTC",
    "User": "root"
  },
  "MD5sum": "3c5d7d41089ddafc150cdd4b4f68f5ea",
  "_user": "r-forge",
  "_type": "src",
  "_file": "sampleSelection_1.2-15.tar.gz",
  "_fileid": "d52a68035ea9cebc4bc3f96875df7ee1acce08a522e8073e36b86eaa519543ea",
  "_filesize": 3496761,
  "_sha256": "d52a68035ea9cebc4bc3f96875df7ee1acce08a522e8073e36b86eaa519543ea",
  "_created": "2026-05-21T17:04:18.000Z",
  "_published": "2026-05-21T19:26:51.688Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77251629107,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7142313336"
    },
    {
      "job": 77251629026,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142310409"
    },
    {
      "job": 77251629124,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7142280577"
    },
    {
      "job": 77251629227,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142285588"
    },
    {
      "job": 77251628908,
      "time": 333,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142235305"
    },
    {
      "job": 77251628344,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145214110"
    },
    {
      "job": 77251629260,
      "time": 167,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7142298759"
    },
    {
      "job": 77251629399,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7142293524"
    },
    {
      "job": 77251629118,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142301719"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-forge/sampleselection",
  "_commit": {
    "id": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
    "author": "arne (Arne Henningsen) <arne.henningsen@gmail.com>",
    "committer": "arne (Arne Henningsen) <arne.henningsen@gmail.com>",
    "message": "DESCRIPTION: increased the patch level (version number is 1.2-15 now) after uploading the package to CRAN; this avoids potential confusion with having two different versions (released version on CRAN and development version on R-Forge) with the same version number\n\ngit-svn-id: svn://svn.r-forge.r-project.org/svnroot/sampleselection@2056 d36ae590-6c38-44c5-9ba5-7217e93607d8\n",
    "time": 1768853491
  },
  "_maintainer": {
    "name": "Arne Henningsen",
    "email": "arne.henningsen@gmail.com",
    "login": "arne-henningsen",
    "twitter": "@ArneHenningsen",
    "description": "",
    "uuid": 19424748
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "maxLik",
      "version": ">= 0.7-3",
      "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": "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
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "arne-henningsen",
      "count": 885,
      "uuid": 19424748
    },
    {
      "user": "lmsstudios",
      "count": 847,
      "uuid": 97995137
    },
    {
      "user": "otoomet",
      "count": 264,
      "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",
    "description": "git-svn mirrors from R-Forge"
  },
  "_downloads": {
    "count": 8998,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sampleSelection"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/sampleselection",
  "_searchresults": 421,
  "_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/sampleSelection.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_exports": [
    "binaryChoice",
    "heckit",
    "heckit2fit",
    "heckit5fit",
    "heckitTfit",
    "heckitVcov",
    "invMillsRatio",
    "linearPredictors",
    "probit",
    "selection",
    "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",
        "print.coef.selection"
      ]
    },
    {
      "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",
    "microbenchmark",
    "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": [],
      "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": [],
      "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": [],
      "created": "2015-02-01 06:47:28",
      "modified": "2019-07-15 15:03:53",
      "commits": 16
    }
  ],
  "_score": 8.532670594104541,
  "_indexed": true,
  "_nocasepkg": "sampleselection",
  "_universes": [
    "r-forge",
    "arne-henningsen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-15",
      "date": "2026-05-21T17:06:53.000Z",
      "distro": "noble",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "25298d73963266fe4a658a8454f14b6e4084f91ff08603265407279d44d8b7d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2-15",
      "date": "2026-05-21T17:06:46.000Z",
      "distro": "noble",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "a86aec0c9de3f1fc0d5a7d27fda281f5c53edea140f4ee4f6f2c5d2fbdd733d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-15",
      "date": "2026-05-21T17:05:56.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "6d0de78ccfe8404cdb9443d9961a173fa94e4ad2bb0d1dd3137a8942a6216fbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2-15",
      "date": "2026-05-21T17:06:03.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "bca50656707e389663ab36189a13db6af8e38719e858e66e6846de6cc24cbe62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-15",
      "date": "2026-05-21T19:26:26.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "11eaf0ca95bcfde9b14384b385f6dea5bed156ebe40d6fc6ed60b1f9e899d1ed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-05-21T17:06:02.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "e6eb1d8f181285b8fd599e282d6a985f6979747e7c17a5112cb1bbb2dd8819f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-05-21T17:05:47.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "02b93b1330416979e5cba8f431f790968688d70e62f0c85a1f2134f1f5b00564",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-05-21T17:06:10.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "2b45ba08f068175b7fba66bdd17b8375f59dd5c6d4fd27a7bbabd739a14c4136",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26240644691"
    }
  ]
}