{
  "_id": "6a58856eff0138dec5d748b1",
  "Package": "clarify",
  "Type": "Package",
  "Title": "Simulation-Based Inference for Regression Models",
  "Version": "0.2.2",
  "Authors@R": "c(\nperson(\"Noah\", \"Greifer\", role = c(\"aut\", \"cre\"),\nemail = \"ngreifer@iq.harvard.edu\",\ncomment = c(ORCID=\"0000-0003-3067-7154\")),\nperson(\"Steven\", \"Worthington\", role = c(\"aut\"),\nemail = \"sworthington@iq.harvard.edu\",\ncomment = c(ORCID=\"0000-0001-9550-5797\")),\nperson(\"Stefano\", \"Iacus\", role = c(\"aut\"),\nemail = \"siacus@iq.harvard.edu\",\ncomment = c(ORCID=\"0000-0002-4884-0047\")),\nperson(\"Gary\", \"King\", role = c(\"aut\"),\nemail = \"king@harvard.edu\",\ncomment = c(ORCID=\"0000-0002-5327-7631\"))\n)",
  "Description": "Performs simulation-based inference as an alternative to\nthe delta method for obtaining valid confidence intervals and\np-values for regression post-estimation quantities, such as\naverage marginal effects and predictions at representative\nvalues. This framework for simulation-based inference is\nespecially useful when the resulting quantity is not normally\ndistributed and the delta method approximation fails. The\nmethodology is described in Greifer, et al. (2025)\n<doi:10.32614/RJ-2024-015>. 'clarify' is meant to replace some\nof the functionality of the archived package 'Zelig'; see the\nvignette \"Translating Zelig to clarify\" for replicating this\nfunctionality.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/iqss/clarify, https://iqss.github.io/clarify/",
  "BugReports": "https://github.com/iqss/clarify/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://iqss.r-universe.dev",
  "Date/Publication": "2025-09-19 16:57:28 UTC",
  "RemoteUrl": "https://github.com/iqss/clarify",
  "RemoteRef": "HEAD",
  "RemoteSha": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 07:12:39 UTC",
    "User": "root"
  },
  "Author": "Noah Greifer [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3067-7154>),\nSteven Worthington [aut] (ORCID:\n<https://orcid.org/0000-0001-9550-5797>),\nStefano Iacus [aut] (ORCID: <https://orcid.org/0000-0002-4884-0047>),\nGary King [aut] (ORCID: <https://orcid.org/0000-0002-5327-7631>)",
  "Maintainer": "Noah Greifer <ngreifer@iq.harvard.edu>",
  "_user": "iqss",
  "_type": "src",
  "_file": "clarify_0.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/0a05f9acff3d36921d0837b6140f15ab49adef8421eb88d48ee9c09930f5fbf9",
  "_filesize": 2455678,
  "_sha256": "0a05f9acff3d36921d0837b6140f15ab49adef8421eb88d48ee9c09930f5fbf9",
  "_expires": "2026-10-24T07:16:59.000Z",
  "_created": "2026-07-16T07:12:39.000Z",
  "_published": "2026-07-16T07:17:02.075Z",
  "_jobs": [
    {
      "job": 87558774388,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367839959"
    },
    {
      "job": 87558774361,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367830916"
    },
    {
      "job": 87558774353,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367805987"
    },
    {
      "job": 87558774365,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367804142"
    },
    {
      "job": 87557807058,
      "time": 335,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367761610"
    },
    {
      "job": 87558774357,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8367814921"
    },
    {
      "job": 87558774371,
      "time": 182,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367826626"
    },
    {
      "job": 87558774382,
      "time": 175,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367824328"
    },
    {
      "job": 87558774352,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367819166"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602",
  "_status": "success",
  "_upstream": "https://github.com/iqss/clarify",
  "_commit": {
    "id": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
    "author": "Noah Greifer <ngreifer@iq.harvard.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #25 from ngreifer/main\n\nSite updates",
    "time": 1758301048
  },
  "_maintainer": {
    "name": "Noah Greifer",
    "email": "ngreifer@iq.harvard.edu",
    "login": "ngreifer",
    "twitter": "@noah_greifer",
    "description": "Data Science Specialist at Harvard University Institute for Quantitative Social Science (IQSS)",
    "uuid": 20465600,
    "orcid": "0000-0003-3067-7154"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "version": ">= 1.7-4",
      "role": "Imports"
    },
    {
      "package": "chk",
      "version": ">= 0.10.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.6",
      "role": "Imports"
    },
    {
      "package": "insight",
      "version": ">= 1.4.2",
      "role": "Imports"
    },
    {
      "package": "marginaleffects",
      "version": ">= 0.30.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "MatchIt",
      "version": ">= 4.0.0",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "Amelia",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "betareg",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "logistf",
      "role": "Suggests"
    },
    {
      "package": "geepack",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "role": "Suggests"
    },
    {
      "package": "robustbase",
      "role": "Suggests"
    },
    {
      "package": "robust",
      "role": "Suggests"
    },
    {
      "package": "AER",
      "role": "Suggests"
    },
    {
      "package": "ivreg",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "WeightIt",
      "version": ">= 1.3.2",
      "role": "Suggests"
    }
  ],
  "_owner": "iqss",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 26,
  "_contributors": [
    {
      "user": "ngreifer",
      "count": 143,
      "uuid": 20465600
    },
    {
      "user": "vincentarelbundock",
      "count": 1,
      "uuid": 987057
    }
  ],
  "_userbio": {
    "uuid": 675237,
    "type": "organization",
    "name": "Institute for Quantitative Social Science",
    "followers": 180
  },
  "_downloads": {
    "count": 3196,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clarify"
  },
  "_devurl": "https://github.com/iqss/clarify",
  "_pkgdown": "https://iqss.github.io/clarify/",
  "_searchresults": 48,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clarify.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/iqss/clarify",
  "_realowner": "iqss",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-01-25"
    },
    {
      "version": "0.1.1",
      "date": "2023-02-03"
    },
    {
      "version": "0.1.2",
      "date": "2023-02-22"
    },
    {
      "version": "0.1.3",
      "date": "2023-05-04"
    },
    {
      "version": "0.2.0",
      "date": "2023-09-21"
    },
    {
      "version": "0.2.1",
      "date": "2024-05-30"
    },
    {
      "version": "0.2.2",
      "date": "2025-09-19"
    },
    {
      "version": "0.2.3",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "misim",
    "sim",
    "sim_adrf",
    "sim_ame",
    "sim_apply",
    "sim_setx"
  ],
  "_help": [
    {
      "page": "misim",
      "title": "Simulate model coefficients after multiple imputation",
      "topics": [
        "misim"
      ]
    },
    {
      "page": "plot.clarify_adrf",
      "title": "Plot marginal predictions from 'sim_adrf()'",
      "topics": [
        "plot.clarify_adrf"
      ]
    },
    {
      "page": "summary.clarify_est",
      "title": "Plotting and inference for 'clarify_est' objects",
      "topics": [
        "confint.clarify_est",
        "plot.clarify_est",
        "summary.clarify_est"
      ]
    },
    {
      "page": "plot.clarify_setx",
      "title": "Plot marginal predictions from 'sim_setx()'",
      "topics": [
        "plot.clarify_setx"
      ]
    },
    {
      "page": "sim",
      "title": "Simulate model parameters",
      "topics": [
        "sim"
      ]
    },
    {
      "page": "sim_adrf",
      "title": "Compute an average dose-response function",
      "topics": [
        "print.clarify_adrf",
        "sim_adrf"
      ]
    },
    {
      "page": "sim_ame",
      "title": "Compute average marginal effects",
      "topics": [
        "print.clarify_ame",
        "sim_ame"
      ]
    },
    {
      "page": "sim_apply",
      "title": "Apply a function to simulated parameter values",
      "topics": [
        "print.clarify_est",
        "sim_apply"
      ]
    },
    {
      "page": "sim_setx",
      "title": "Compute predictions and first differences at set values",
      "topics": [
        "print.clarify_setx",
        "sim_setx"
      ]
    },
    {
      "page": "transform.clarify_est",
      "title": "Transform and combine 'clarify_est' objects",
      "topics": [
        "cbind.clarify_est",
        "transform.clarify_est"
      ]
    }
  ],
  "_readme": "https://github.com/iqss/clarify/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "chk",
    "cli",
    "cpp11",
    "data.table",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "insight",
    "isoband",
    "labeling",
    "lifecycle",
    "marginaleffects",
    "pbapply",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "clarify.Rmd",
      "filename": "clarify.html",
      "title": "clarify: Simulation-Based Inference for Regression Models",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Related software",
        "Using clarify",
        "1. Fitting the model",
        "2. Drawing from the coefficient distribution",
        "3. Computing derived quantities",
        "4. Summarize and visualize the simulated distribution",
        "Wrappers for sim_apply(): sim_setx(), sim_ame(), and sim_adrf()",
        "sim_setx(): predictions at representative values",
        "sim_ame(): average adjusted predictions and average marginal effects",
        "sim_adrf(): average dose-response functions",
        "Transforming and combining estimates",
        "transform()",
        "cbind()",
        "Using clarify with multiply imputed data",
        "Comparison to other packages",
        "Conclusion",
        "References"
      ],
      "created": "2022-12-21 18:27:22",
      "modified": "2025-09-19 16:57:28",
      "commits": 12
    },
    {
      "source": "Zelig.Rmd",
      "filename": "Zelig.html",
      "title": "Translating Zelig to clarify",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Predictions at representative values",
        "Zelig workflow",
        "clarify workflow",
        "Rare-events logit",
        "Estimating the ATT after matching",
        "Combining results after multiple imputation",
        "References"
      ],
      "created": "2022-12-14 17:21:16",
      "modified": "2025-09-18 21:32:07",
      "commits": 9
    }
  ],
  "_score": 6.6008213559883595,
  "_indexed": true,
  "_nocasepkg": "clarify",
  "_universes": [
    "iqss",
    "ngreifer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-07-16T07:15:33.000Z",
      "distro": "resolute",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/2fdeb554e990f0d0cece675cff4eae63985c10663b8ce490ca20009467503287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-07-16T07:15:18.000Z",
      "distro": "resolute",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/b19658ffd3db7d1be39bddc3560f08b9952c64f1c4f797897bd532e5a5a1627e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-07-16T07:14:20.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/0228235e64552273eaeeec5cf675b330770e1e3b1360414ffd1e543488737ebf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-07-16T07:14:15.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/6055c7726005fbc7ac008a0dfa7a9d68ece8be976982bd0440707d5d28e6f0f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-07-16T07:15:29.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/4fd85584fa8525f3645ff6621f74b33a820ddbe73891c75774abd9a65ec320d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-16T07:14:36.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/207c95542b26b2d0ad8d16a13a9996d65119ed110c5bf87fa519162ae7877b56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-16T07:14:30.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/41f7e7f1f4c3a2a3fce900f3ff5611cf1e870b2d734e9c9d7ac77a4b6e3eb330",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-16T07:14:10.000Z",
      "commit": "8b1cefe02a2516c8ee9dd9386a04e43724f7e030",
      "fileid": "https://r2.ropensci.org/33c3c111a2e9b9f87d3e3a0fe93ec3a9b01e38ab991c141a3bafb33bc3187e11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iqss/actions/runs/29478843602"
    }
  ]
}