{
  "_id": "6a1ef0f1b401979e734133b6",
  "Package": "jointCalib",
  "Type": "Package",
  "Title": "A Joint Calibration of Totals and Quantiles",
  "Version": "0.1.2",
  "Authors@R": "c(person(given = \"Maciej\",\nfamily = \"Beręsewicz\",\nrole = c(\"aut\", \"cre\"),\nemail = \"maciej.beresewicz@ue.poznan.pl\",\ncomment = c(ORCID = \"0000-0002-8281-4301\")))",
  "Description": "A small package containing functions to perform a joint\ncalibration of totals and quantiles. The calibration for totals\nis based on Deville and Särndal (1992)\n<doi:10.1080/01621459.1992.10475217>, the calibration for\nquantiles is based on Harms and Duchesne (2006)\n<https://www150.statcan.gc.ca/n1/en/catalogue/12-001-X20060019255>.\nThe package uses standard calibration via the 'survey',\n'sampling' or 'laeken' packages. In addition, entropy balancing\nvia the 'ebal' package and empirical likelihood based on codes\nfrom Wu (2005)\n<https://www150.statcan.gc.ca/n1/pub/12-001-x/2005002/article/9051-eng.pdf>\ncan be used. See the paper by Beręsewicz and Szymkowiak (2023)\nfor details <arXiv:2308.13281>. The package also includes\nfunctions to reweight the control group to the treatment\nreference distribution and to balance the covariate\ndistribution using the covariate balancing propensity score via\nthe 'CBPS' package for binary treatment observational studies.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RdMacros": "mathjaxr",
  "URL": "https://github.com/ncn-foreigners/jointCalib,\nhttps://ncn-foreigners.github.io/jointCalib/",
  "BugReports": "https://github.com/ncn-foreigners/jointCalib/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make",
  "Repository": "https://ncn-foreigners.r-universe.dev",
  "Date/Publication": "2025-04-03 20:34:31 UTC",
  "RemoteUrl": "https://github.com/ncn-foreigners/jointcalib",
  "RemoteRef": "HEAD",
  "RemoteSha": "0911e86272e67ed088c1da8cbe530283de096837",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 08:20:56 UTC",
    "User": "root"
  },
  "Author": "Maciej Beręsewicz [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8281-4301>)",
  "Maintainer": "Maciej Beręsewicz <maciej.beresewicz@ue.poznan.pl>",
  "MD5sum": "4873f5dd662ba35aaa6faefe5b0ab0b5",
  "_user": "ncn-foreigners",
  "_type": "src",
  "_file": "jointCalib_0.1.2.tar.gz",
  "_fileid": "e6ce818e62c996f18d36294e4e1aff2889d36b0e9b0442847eda501e7bbd354c",
  "_filesize": 968437,
  "_sha256": "e6ce818e62c996f18d36294e4e1aff2889d36b0e9b0442847eda501e7bbd354c",
  "_created": "2026-05-19T08:20:56.000Z",
  "_published": "2026-06-02T15:04:17.843Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79102246820,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078415872"
    },
    {
      "job": 79102246344,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078407927"
    },
    {
      "job": 79102247912,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078385720"
    },
    {
      "job": 79102246096,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078406088"
    },
    {
      "job": 79102245970,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078356008"
    },
    {
      "job": 79102245936,
      "time": 189,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361556612"
    },
    {
      "job": 79102246430,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078393688"
    },
    {
      "job": 79102247814,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078392388"
    },
    {
      "job": 79102246558,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078395885"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ncn-foreigners/jointcalib",
  "_commit": {
    "id": "0911e86272e67ed088c1da8cbe530283de096837",
    "author": "Maciej Beręsewicz <BERENZ@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #10 from ncn-foreigners/dev\n\nDev",
    "time": 1743712471
  },
  "_maintainer": {
    "name": "Maciej Beręsewicz",
    "email": "maciej.beresewicz@ue.poznan.pl",
    "login": "berenz",
    "orcid": "0000-0002-8281-4301",
    "description": "Statistican, Non-probability samples, R programming",
    "uuid": 3464669
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "laeken",
      "role": "Imports"
    },
    {
      "package": "sampling",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "ebal",
      "role": "Imports"
    },
    {
      "package": "CBPS",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "ncn-foreigners",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "calibration",
    "causal-inference",
    "probability-samples",
    "sampling",
    "survey",
    "survey-methodology",
    "weighting"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "berenz",
      "count": 124,
      "uuid": 3464669
    }
  ],
  "_userbio": {
    "uuid": 87754555,
    "type": "organization",
    "name": "Project \"Towards census-like statistics for foreign-born populations\"",
    "description": "NCN OPUS 20 grant no. 2020/39/B/HS4/00941"
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jointCalib"
  },
  "_devurl": "https://github.com/ncn-foreigners/jointcalib",
  "_pkgdown": "https://ncn-foreigners.github.io/jointCalib/",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/jointCalib.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ncn-foreigners/jointcalib",
  "_realowner": "ncn-foreigners",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-09-07"
    }
  ],
  "_exports": [
    "calib_el",
    "control_calib",
    "joint_calib",
    "joint_calib_att",
    "joint_calib_cbps",
    "joint_calib_create_matrix"
  ],
  "_help": [
    {
      "page": "calib_el",
      "title": "An internal function for calibration of weights using empirical likelihood method",
      "topics": [
        "calib_el"
      ]
    },
    {
      "page": "control_calib",
      "title": "control parameters",
      "topics": [
        "control_calib"
      ]
    },
    {
      "page": "joint_calib",
      "title": "Function for the joint calibration of totals and quantiles",
      "topics": [
        "joint_calib"
      ]
    },
    {
      "page": "joint_calib_att",
      "title": "Function to balance the covariate distributions of a control and treatment group using 'joint_calib'",
      "topics": [
        "joint_calib_att"
      ]
    },
    {
      "page": "joint_calib_cbps",
      "title": "Function to balance the covariate distributions using covariate balancing propensity score 'CBPS'",
      "topics": [
        "joint_calib_cbps"
      ]
    },
    {
      "page": "joint_calib_create_matrix",
      "title": "An internal function to create an A matrix for calibration of quantiles",
      "topics": [
        "joint_calib_create_matrix"
      ]
    }
  ],
  "_readme": "https://github.com/ncn-foreigners/jointcalib/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "boot",
    "CBPS",
    "chk",
    "cli",
    "codetools",
    "DBI",
    "ebal",
    "foreach",
    "glmnet",
    "iterators",
    "laeken",
    "lattice",
    "lifecycle",
    "lpSolve",
    "MASS",
    "MatchIt",
    "mathjaxr",
    "Matrix",
    "minqa",
    "mitools",
    "nnet",
    "numDeriv",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppProgress",
    "rlang",
    "sampling",
    "shape",
    "survey",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "d_causal.Rmd",
      "filename": "d_causal.html",
      "title": "Balancing distributions for observational studies",
      "author": "Maciej Beręsewicz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "Distributional entropy balancing",
        "Distributional propensity score method",
        "Packages",
        "ATT with entropy balancing and other methods",
        "Single variable: age",
        "More variables",
        "More variables: all variables",
        "ATT with CBPS and DPS [work in progress]"
      ],
      "created": "2023-10-11 09:57:20",
      "modified": "2023-10-11 09:57:20",
      "commits": 1
    },
    {
      "source": "c_nonprob.Rmd",
      "filename": "c_nonprob.html",
      "title": "Calibration and inverse probability weighting for non-probability samples",
      "author": "Maciej Beręsewicz",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-10-11 09:57:20",
      "modified": "2023-10-11 09:57:20",
      "commits": 1
    },
    {
      "source": "b_survey.Rmd",
      "filename": "b_survey.html",
      "title": "Calibration of quantiles and a joint calibration of totals and quanitles for surveys",
      "author": "Maciej Beręsewicz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Examples",
        "Basic example",
        "Example 1 -- census case",
        "Using jointCalib package",
        "Using survey package"
      ],
      "created": "2023-10-11 09:57:20",
      "modified": "2025-04-03 20:34:31",
      "commits": 2
    },
    {
      "source": "a_theory.Rmd",
      "filename": "a_theory.html",
      "title": "Joint calibration estimators for totals and quantiles",
      "author": "Maciej Beręsewicz and Marcin Szymkowiak",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Calibration estimator for a total",
        "Calibration estimator for a quantile",
        "Joint calibration of totals and quantiles",
        "References"
      ],
      "created": "2023-10-11 09:57:20",
      "modified": "2023-10-11 09:57:20",
      "commits": 1
    }
  ],
  "_score": 5.204119982655925,
  "_indexed": true,
  "_nocasepkg": "jointcalib",
  "_universes": [
    "ncn-foreigners",
    "berenz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-19T08:23:37.000Z",
      "distro": "noble",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "b04ec451d8aaac667920784d1075d19fd15137500b0aeec5b531b6ff6fc77e94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-19T08:23:14.000Z",
      "distro": "noble",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "71030b5acee2a05dbe09c3176a9c5de9364b29c0f6347a7c3e76d827c887592e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-19T08:22:23.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "a04718acb4cb9729d0ac07b502add541a9a26e4d45a2d9e72eac8a743294e8ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-19T08:23:11.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "1a11b35162376f2e850966a597f70c67a880b244fff44238336f27671c875345",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T08:22:22.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "74a05ddbd6f4e7f2fe4aa7c9874325332da884f6bfa874ada273fe267c206654",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T08:22:21.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "397e54780dbc66a76d877b9e58fe1f88f62541f2a45f535d63e054899c2ae1ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T08:22:39.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "d4601da9c535c2c88438436b7ef1d253177307840d363d17edab0c4bc307bdda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T15:02:56.000Z",
      "commit": "0911e86272e67ed088c1da8cbe530283de096837",
      "fileid": "6c53dbc4b37327d4dabdde8d4ebaa0ffcdf51ea02ee8fd1bbe0213c3e1054525",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/26085093406"
    }
  ]
}