{
  "_id": "6a362f3f3efcd9bda43f4434",
  "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-06-20 06:08:04 UTC",
    "User": "root"
  },
  "MD5sum": "0cb228155ea98d2b1b2292ef6e7b1b47",
  "_user": "r-forge",
  "_type": "src",
  "_file": "sampleSelection_1.2-15.tar.gz",
  "_fileid": "5502c600050aaad79ccdd0ae511a8f27342d11453aada6a96c027c32601dbe18",
  "_filesize": 3502476,
  "_sha256": "5502c600050aaad79ccdd0ae511a8f27342d11453aada6a96c027c32601dbe18",
  "_created": "2026-06-20T06:08:04.000Z",
  "_published": "2026-06-20T06:12:15.311Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82460609245,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7762696342"
    },
    {
      "job": 82460609246,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762696197"
    },
    {
      "job": 82460609258,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7762690487"
    },
    {
      "job": 82460609244,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762690769"
    },
    {
      "job": 82460268720,
      "time": 349,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762673048"
    },
    {
      "job": 82460609243,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762689857"
    },
    {
      "job": 82460609248,
      "time": 172,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7762692535"
    },
    {
      "job": 82460609252,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7762690819"
    },
    {
      "job": 82460609259,
      "time": 163,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762691464"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778",
  "_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",
    "followers": 27,
    "description": "git-svn mirrors from R-Forge"
  },
  "_downloads": {
    "count": 7950,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sampleSelection"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/sampleselection",
  "_searchresults": 457,
  "_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": [
        "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.514525838165646,
  "_indexed": true,
  "_nocasepkg": "sampleselection",
  "_universes": [
    "r-forge",
    "arne-henningsen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-15",
      "date": "2026-06-20T06:10:35.000Z",
      "distro": "noble",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "c51e002d78d129d3d85b8f3c56937018063cdb27e533adb502fca3f92e9eb5a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2-15",
      "date": "2026-06-20T06:10:35.000Z",
      "distro": "noble",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "954baafc9eb39974ad38e2babc5f1f3c6cd3b26b0f7eeb5098e5a30e7e8b2547",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-15",
      "date": "2026-06-20T06:10:09.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "c96072df657f3551b0c369e71796316fc08c7105b66f17f5badc8fcc9df72dec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2-15",
      "date": "2026-06-20T06:10:00.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "83169d1b4f74f22c1ef2ba6b8bd8d91df2d2724ad6c5ee79cf944996d4a20063",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-15",
      "date": "2026-06-20T06:11:00.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "07054f23587df2821250d3ed1b7e2b4952ad17027649e3edd2aeaa042b491310",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-06-20T06:09:53.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "613f92e4c927ffd7cc74f47baf4de0de4a83e2d7d121a343cc152c4e0074be9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-06-20T06:09:33.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "4e1e06d2841c088eb60cd50b52e050ecf7edcf13c73c47d38911abc7a13799ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2-15",
      "date": "2026-06-20T06:09:37.000Z",
      "commit": "b54bd53621f4cb86ed1b7e4e0998961ed75e78e3",
      "fileid": "030ee7f436037c9a4b3c71bcb1e37833a86f8821627821738c027342203db48b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/27862313778"
    }
  ]
}