{
  "_id": "6a103127acfb0bcc41c9678f",
  "Package": "StratifiedSampling",
  "Type": "Package",
  "Title": "Different Methods for Stratified Sampling",
  "Version": "0.4.2",
  "Authors@R": "c(\nperson(\"Raphael\", \"Jauslin\", email = \"raphael.jauslin@bfs.admin.ch\",role = c(\"aut\", \"cre\"),comment = c(ORCID = \"0000-0003-1088-3356\")),\nperson(\"Esther\", \"Eustache\", email = \"esther.eustache@unine.ch\",role = c(\"aut\")),\nperson(\"Bardia\", \"Panahbehagh\", email = \"bardia.panahbehagh@unine.ch\",role = c(\"aut\"),comment = c(ORCID = \"0000-0001-9122-7777\")),\nperson(\"Yves\", \"Tillé\",role = c(\"aut\"),comment = c(ORCID = \"0000-0003-0904-5523\"))\n)",
  "Description": "Integrating a stratified structure in the population in a\nsampling design can considerably reduce the variance of the\nHorvitz-Thompson estimator. We propose in this package\ndifferent methods to handle the selection of a balanced sample\nin stratified population. For more details see Raphaël Jauslin,\nEsther Eustache and Yves Tillé (2021)\n<doi:10.1007/s42081-021-00134-y>. The package propose also a\nmethod based on optimal transport and balanced sampling, see\nRaphaël Jauslin and Yves Tillé\n<doi:10.1016/j.jspi.2022.12.003>.",
  "URL": "https://github.com/RJauslin/StratifiedSampling",
  "BugReports": "https://github.com/RJauslin/StratifiedSampling/issues",
  "License": "GPL (>=2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libglpk-dev",
  "Repository": "https://rjauslin.r-universe.dev",
  "Date/Publication": "2025-01-31 12:36:42 UTC",
  "RemoteUrl": "https://github.com/rjauslin/stratifiedsampling",
  "RemoteRef": "HEAD",
  "RemoteSha": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 09:17:49 UTC",
    "User": "root"
  },
  "Author": "Raphael Jauslin [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1088-3356>),\nEsther Eustache [aut],\nBardia Panahbehagh [aut] (ORCID:\n<https://orcid.org/0000-0001-9122-7777>),\nYves Tillé [aut] (ORCID: <https://orcid.org/0000-0003-0904-5523>)",
  "Maintainer": "Raphael Jauslin <raphael.jauslin@bfs.admin.ch>",
  "MD5sum": "c56eb1951a97b99c84fdc08c9e1db581",
  "_user": "rjauslin",
  "_type": "src",
  "_file": "StratifiedSampling_0.4.2.tar.gz",
  "_fileid": "b088f580347755da3bfe216be45472393bae0db5124d72b9a18d0e00fe860596",
  "_filesize": 312464,
  "_sha256": "b088f580347755da3bfe216be45472393bae0db5124d72b9a18d0e00fe860596",
  "_created": "2026-05-12T09:17:49.000Z",
  "_published": "2026-05-22T10:34:15.599Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77362463188,
      "time": 239,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940357300"
    },
    {
      "job": 77362463061,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940370321"
    },
    {
      "job": 77362463561,
      "time": 221,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940353178"
    },
    {
      "job": 77362463425,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940356067"
    },
    {
      "job": 77362463464,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6940386904"
    },
    {
      "job": 77362463280,
      "time": 286,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6940415375"
    },
    {
      "job": 77362463386,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940396395"
    },
    {
      "job": 77362463285,
      "time": 357,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940401998"
    },
    {
      "job": 77362462649,
      "time": 325,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940272667"
    },
    {
      "job": 77362462714,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158447744"
    },
    {
      "job": 77362463247,
      "time": 194,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940343395"
    },
    {
      "job": 77362463535,
      "time": 215,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6940352629"
    },
    {
      "job": 77362463371,
      "time": 238,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940358804"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rjauslin/stratifiedsampling",
  "_commit": {
    "id": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
    "author": "Rjauslin <jauslin.raphael@gmail.com>",
    "committer": "Rjauslin <jauslin.raphael@gmail.com>",
    "message": ".Rbuildignore\n",
    "time": 1738327002
  },
  "_maintainer": {
    "name": "Raphael Jauslin",
    "email": "raphael.jauslin@bfs.admin.ch",
    "login": "rjauslinbfs",
    "uuid": 228726845,
    "orcid": "0000-0003-1088-3356"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "transport",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "sampling",
      "role": "Imports"
    },
    {
      "package": "Rglpk",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BalancedSampling",
      "role": "Suggests"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "StatMatch",
      "role": "Suggests"
    },
    {
      "package": "laeken",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "geojsonio",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "rmapshaper",
      "role": "Suggests"
    }
  ],
  "_owner": "rjauslin",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "rjauslin",
      "count": 21,
      "uuid": 44702502
    }
  ],
  "_userbio": {
    "uuid": 44702502,
    "type": "user",
    "name": "Raphaël Jauslin"
  },
  "_downloads": {
    "count": 244,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/StratifiedSampling"
  },
  "_devurl": "https://github.com/rjauslin/stratifiedsampling",
  "_searchresults": 9,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/StratifiedSampling.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rjauslin/stratifiedsampling",
  "_realowner": "rjauslin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-01-26"
    },
    {
      "version": "0.2.0",
      "date": "2021-05-20"
    },
    {
      "version": "0.3.0",
      "date": "2021-09-24"
    },
    {
      "version": "0.4.0",
      "date": "2022-10-21"
    },
    {
      "version": "0.4.1",
      "date": "2022-10-26"
    },
    {
      "version": "0.4.2",
      "date": "2025-01-31"
    }
  ],
  "_exports": [
    "balseq",
    "balstrat",
    "bsmatch",
    "c_bound",
    "c_bound2",
    "calibRaking",
    "cps",
    "disj",
    "disjMatrix",
    "distUnitk",
    "fbs",
    "ffphase",
    "findB",
    "gencalibRaking",
    "harmonize",
    "inclprob",
    "landingRM",
    "maxentpi2",
    "ncat",
    "osod",
    "otmatch",
    "pikfromq",
    "piktfrompik",
    "qfromw",
    "sfromq",
    "stratifiedcube",
    "sys_deville",
    "sys_devillepi2",
    "vApp",
    "varApp",
    "varEst",
    "vDBS",
    "vEst"
  ],
  "_help": [
    {
      "page": "balseq",
      "title": "Sequential balanced sampling",
      "topics": [
        "balseq"
      ]
    },
    {
      "page": "balstrat",
      "title": "Balanced Stratification",
      "topics": [
        "balstrat"
      ]
    },
    {
      "page": "bsmatch",
      "title": "Statistical matching using optimal transport and balanced sampling",
      "topics": [
        "bsmatch"
      ]
    },
    {
      "page": "c_bound",
      "title": "C bound",
      "topics": [
        "c_bound"
      ]
    },
    {
      "page": "c_bound2",
      "title": "C bound",
      "topics": [
        "c_bound2"
      ]
    },
    {
      "page": "calibRaking",
      "title": "Calibration using raking ratio",
      "topics": [
        "calibRaking"
      ]
    },
    {
      "page": "cps",
      "title": "Conditional Poisson sampling design",
      "topics": [
        "cps"
      ]
    },
    {
      "page": "disj",
      "title": "Disjunctive",
      "topics": [
        "disj"
      ]
    },
    {
      "page": "disjMatrix",
      "title": "Disjunctive for matrix",
      "topics": [
        "disjMatrix"
      ]
    },
    {
      "page": "distUnitk",
      "title": "Squared Euclidean distances of the unit k.",
      "topics": [
        "distUnitk"
      ]
    },
    {
      "page": "fbs",
      "title": "Fast Balanced Sampling",
      "topics": [
        "fbs"
      ]
    },
    {
      "page": "ffphase",
      "title": "Fast flight phase of the cube method",
      "topics": [
        "ffphase"
      ]
    },
    {
      "page": "findB",
      "title": "Find best sub-matrix B in stratifiedcube",
      "topics": [
        "findB"
      ]
    },
    {
      "page": "gencalibRaking",
      "title": "Generalized calibration using raking ratio",
      "topics": [
        "gencalibRaking"
      ]
    },
    {
      "page": "harmonize",
      "title": "Harmonization by calibration",
      "topics": [
        "harmonize"
      ]
    },
    {
      "page": "inclprob",
      "title": "Inclusion Probabilities",
      "topics": [
        "inclprob"
      ]
    },
    {
      "page": "landingRM",
      "title": "Landing by suppression of variables",
      "topics": [
        "landingRM"
      ]
    },
    {
      "page": "maxentpi2",
      "title": "Joint inclusion probabilities of maximum entropy.",
      "topics": [
        "maxentpi2"
      ]
    },
    {
      "page": "ncat",
      "title": "Number of categories",
      "topics": [
        "ncat"
      ]
    },
    {
      "page": "osod",
      "title": "One-step One Decision sampling method",
      "topics": [
        "osod"
      ]
    },
    {
      "page": "otmatch",
      "title": "Statistical Matching using Optimal transport",
      "topics": [
        "otmatch"
      ]
    },
    {
      "page": "pikfromq",
      "title": "pik from q",
      "topics": [
        "pikfromq"
      ]
    },
    {
      "page": "piktfrompik",
      "title": "pikt from pik",
      "topics": [
        "piktfrompik"
      ]
    },
    {
      "page": "qfromw",
      "title": "q from w",
      "topics": [
        "qfromw"
      ]
    },
    {
      "page": "sfromq",
      "title": "s from q",
      "topics": [
        "sfromq"
      ]
    },
    {
      "page": "stratifiedcube",
      "title": "Stratified Sampling",
      "topics": [
        "stratifiedcube"
      ]
    },
    {
      "page": "sys_deville",
      "title": "Deville's systematic",
      "topics": [
        "sys_deville"
      ]
    },
    {
      "page": "sys_devillepi2",
      "title": "Second order inclusion probabilities of Deville's systematic",
      "topics": [
        "sys_devillepi2"
      ]
    },
    {
      "page": "vApp",
      "title": "Approximated variance for balanced sample",
      "topics": [
        "vApp"
      ]
    },
    {
      "page": "varApp",
      "title": "Approximated variance for balanced sampling",
      "topics": [
        "varApp"
      ]
    },
    {
      "page": "varEst",
      "title": "Estimator of the approximated variance for balanced sampling",
      "topics": [
        "varEst"
      ]
    },
    {
      "page": "vDBS",
      "title": "Variance Estimation for Doubly Balanced Sample.",
      "topics": [
        "vDBS"
      ]
    },
    {
      "page": "vEst",
      "title": "Variance Estimation for balanced sample",
      "topics": [
        "vEst"
      ]
    }
  ],
  "_readme": "https://github.com/rjauslin/stratifiedsampling/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "lattice",
    "lpSolve",
    "MASS",
    "Matrix",
    "proxy",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rglpk",
    "sampling",
    "slam",
    "transport"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "ot_matching.Rmd",
      "filename": "ot_matching.html",
      "title": "Statistical Matching using Optimal Transport",
      "author": "Raphaël Jauslin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Contingency table",
        "Sampling schemes",
        "Harmonization",
        "Optimal transport matching",
        "Balanced sampling",
        "Prediction"
      ],
      "created": "2021-05-17 09:16:08",
      "modified": "2025-01-31 10:57:23",
      "commits": 6
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "stratifiedsampling",
  "_universes": [
    "rjauslin",
    "rjauslinbfs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-12T09:21:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "7be8c7722c67264a8880495aafd02e82745cebbb112fcbbb7e3141cbe46223d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-12T09:22:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "087af13c3c60d80a69bf0542acfaa951fde7b6212ce0c989bd42f5ae7d93e336",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-12T09:21:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "9a206305fb9ee26159b8e55f6af121c4739fcf2a2a0226f08dead0ad9a833158",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-12T09:21:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "03dff53465aabb3ff66905361932e25147e4145e254d89b1e6510dfb8ea44dff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-12T09:23:15.000Z",
      "arch": "aarch64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "58ec32c702b77c79db6b4ffefb917bfae822dae2030d39fba70bd5dbc509c930",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-12T09:23:47.000Z",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "8595807b9d97f19b5b1f663d5d47c24e000c64e5550a14041c607c3bc930ab92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-12T09:23:47.000Z",
      "arch": "aarch64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "77bc882956bad01b61d480324d6359c55ce1adc5b06e597df94321f5efd0f390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-12T09:22:42.000Z",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "b05d850d2293d5dbb8294e5fb5b6c4775b8ac35657dbe2c919c7aa07c64aa9cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-12T09:20:07.000Z",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "ed1864c9183c1441175be146bd2dc77e68b93a2f0f8294c9d8d4d6ca2daea81b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-12T09:20:23.000Z",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "4f7f713fa869f11f0fc4fc3c9d025093f3f835493a219af01695ae76bcb35bc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-12T09:20:25.000Z",
      "arch": "x86_64",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "29195eb740dcaf5826bbfd6b331a9518f8395082ba615a96c4906bb5908aec39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-05-22T10:33:27.000Z",
      "arch": "emscripten",
      "commit": "605ff9bb49bee59e4386d5947e6a9a6c2b5bc6ca",
      "fileid": "f2db54c88715122fd82a5be45a371010b6f76d46d5b47379ae5d15d0a77af4f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rjauslin/actions/runs/25724996156"
    }
  ]
}