{
  "_id": "6a2690ad24555f66ed51ba78",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-08 09:46:30 UTC",
    "User": "root"
  },
  "Author": "Raphael Jauslin [aut, cre]\n(<https://orcid.org/0000-0003-1088-3356>), Esther Eustache\n[aut], Bardia Panahbehagh [aut]\n(<https://orcid.org/0000-0001-9122-7777>), Yves Tillé [aut]\n(<https://orcid.org/0000-0003-0904-5523>)",
  "Maintainer": "Raphael Jauslin <raphael.jauslin@bfs.admin.ch>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-01-31 16:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/StratifiedSampling",
  "RemoteRef": "HEAD",
  "RemoteSha": "5247c1cad608633ae93856402ea097e104a4e629",
  "MD5sum": "50a7845f2cb221879d8280a7acf1cba3",
  "_user": "cran",
  "_type": "src",
  "_file": "StratifiedSampling_0.4.2.tar.gz",
  "_fileid": "de30b087ff54f66994c3d5b715abd0583d3f47ddba31b7fbabcfa1360fb4e942",
  "_filesize": 314146,
  "_sha256": "de30b087ff54f66994c3d5b715abd0583d3f47ddba31b7fbabcfa1360fb4e942",
  "_created": "2026-06-08T09:46:30.000Z",
  "_published": "2026-06-08T09:51:41.302Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80066333455,
      "time": 225,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476832110"
    },
    {
      "job": 80066333500,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476825098"
    },
    {
      "job": 80066333541,
      "time": 198,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476820947"
    },
    {
      "job": 80066333554,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476823898"
    },
    {
      "job": 80065470069,
      "time": 282,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476743294"
    },
    {
      "job": 80066333426,
      "time": 192,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476816011"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/StratifiedSampling",
  "_commit": {
    "id": "5247c1cad608633ae93856402ea097e104a4e629",
    "author": "Raphael Jauslin <raphael.jauslin@bfs.admin.ch>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.2\n",
    "time": 1738340402
  },
  "_maintainer": {
    "name": "Raphael Jauslin",
    "email": "raphael.jauslin@bfs.admin.ch",
    "login": "rjauslinbfs",
    "description": "",
    "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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rjauslinbfs",
      "count": 1,
      "uuid": 228726845
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 177,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/StratifiedSampling"
  },
  "_devurl": "https://github.com/rjauslin/stratifiedsampling",
  "_searchresults": 10,
  "_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": false,
  "_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/cran/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-20 11:10:06",
      "modified": "2025-01-31 16:20:02",
      "commits": 4
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "stratifiedsampling",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://rjauslin.r-universe.dev/StratifiedSampling",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-08T09:49:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5247c1cad608633ae93856402ea097e104a4e629",
      "fileid": "84537e62d4e14b2c3613fbf3432a83c10c67f97d8dbdf8763ba7dd2aa73792c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-08T09:49:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5247c1cad608633ae93856402ea097e104a4e629",
      "fileid": "4722cdf79cfde0ddeae182781eab37305f9a0b50bda4578c388de159e15e09ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-08T09:49:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5247c1cad608633ae93856402ea097e104a4e629",
      "fileid": "95aab573868443a565f663af019d43af02583b568271f97f816a60be6f515964",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-08T09:49:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5247c1cad608633ae93856402ea097e104a4e629",
      "fileid": "ece06c7533cb9a7fd819ff50d4e4721057f19bc38cdcc3209b752e1a4fe9a13b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-06-08T09:49:48.000Z",
      "arch": "emscripten",
      "commit": "5247c1cad608633ae93856402ea097e104a4e629",
      "fileid": "cf33db3c407fc461773e68446783c41f941b6eddac491e2fec2a491d77583d1c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128978147"
    }
  ]
}