{
  "_id": "6ab0bedc3d719c1f84083282",
  "Package": "attrition",
  "Title": "Addressing Nonignorable Attrition with Double Sampling and\nBounds",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Alexander\", \"Coppock\", email = \"acoppock@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Alan S.\", \"Gerber\", role = \"aut\"),\nperson(\"Donald P.\", \"Green\", role = \"aut\"),\nperson(\"Holger L.\", \"Kern\", role = \"aut\"))",
  "Description": "Implements the double-sampling bounds estimator of\nCoppock, Gerber, Green, and Kern (2017)\n<doi:10.1017/pan.2016.6> for randomized experiments with\nnonignorable missing outcomes. Provides worst-case (Manski)\nbounds, double-sampling bounds with analytic variance and\nImbens-Manski confidence intervals, Lee (2009)\n<doi:10.1111/j.1467-937X.2009.00536.x> trimming bounds with\nanalytic and bootstrap standard errors, covariate adjustment\nvia poststratification, and a sensitivity analysis for\nviolations of the outcome stability assumption.",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "URL": "https://alexandercoppock.com/attrition/,\nhttps://github.com/acoppock/attrition",
  "BugReports": "https://github.com/acoppock/attrition/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "LazyData": "true",
  "Language": "en-US",
  "Repository": "https://acoppock.r-universe.dev",
  "Date/Publication": "2026-09-21 00:32:56 UTC",
  "RemoteUrl": "https://github.com/acoppock/attrition",
  "RemoteRef": "HEAD",
  "RemoteSha": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 05:17:39 UTC",
    "User": "root"
  },
  "Author": "Alexander Coppock [aut, cre],\nAlan S. Gerber [aut],\nDonald P. Green [aut],\nHolger L. Kern [aut]",
  "Maintainer": "Alexander Coppock <acoppock@gmail.com>",
  "_user": "acoppock",
  "_type": "src",
  "_file": "attrition_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e69c1698b051ad263477b56cd3598212462e76fdc67c8f608e440d709aca2a73",
  "_filesize": 561492,
  "_sha256": "e69c1698b051ad263477b56cd3598212462e76fdc67c8f608e440d709aca2a73",
  "_expires": "2026-12-30T05:21:30.000Z",
  "_created": "2026-09-21T05:17:39.000Z",
  "_published": "2026-09-21T05:21:32.070Z",
  "_jobs": [
    {
      "job": 106222319927,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10623890190"
    },
    {
      "job": 106222319790,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10622899874"
    },
    {
      "job": 106222319868,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10623765423"
    },
    {
      "job": 106222319818,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10622504545"
    },
    {
      "job": 106221778238,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10622694681"
    },
    {
      "job": 106222319871,
      "time": 176,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10622999548"
    },
    {
      "job": 106222319923,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10623291153"
    },
    {
      "job": 106222319823,
      "time": 193,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10623591155"
    },
    {
      "job": 106222319827,
      "time": 189,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623935093"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795",
  "_status": "success",
  "_upstream": "https://github.com/acoppock/attrition",
  "_commit": {
    "id": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
    "author": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "committer": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "message": "Take the macOS dependencies from Posit Package Manager\n\nCRAN served part of its macOS arm64 R 4.6 binaries as zstd archives under\nthe .tgz name from 2026-09-17, estimatr 2.0.0 among them. The pak that\nsetup-r-dependencies installs reads gzip, bzip2, xz and zip but not zstd,\nso a macOS job dies at the dependency install with \"unknown archive type\"\n(r-lib/pkgdepends#485). Posit Package Manager still serves gzip builds of\nthe same versions.\n\nRevert once a released pak reads zstd.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1789950776
  },
  "_maintainer": {
    "name": "Alexander Coppock",
    "email": "acoppock@gmail.com",
    "login": "acoppock",
    "description": "",
    "uuid": 9171009
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vayr",
      "version": ">= 1.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "acoppock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 4
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 22
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 12
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "acoppock",
      "count": 59,
      "uuid": 9171009
    }
  ],
  "_userbio": {
    "uuid": 9171009,
    "type": "user",
    "name": "Alexander Coppock",
    "followers": 68
  },
  "_downloads": {
    "count": 31,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/attrition"
  },
  "_devurl": "https://github.com/acoppock/attrition",
  "_pkgdown": "https://alexandercoppock.com/attrition/",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/attrition.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/acoppock/attrition",
  "_realowner": "acoppock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-09-18"
    }
  ],
  "_exports": [
    "estimator_ds",
    "estimator_ds_sens",
    "estimator_ev",
    "estimator_trim",
    "sensitivity_ds",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "levendusky_replication",
      "title": "Perceived polarization under double sampling",
      "object": "levendusky_replication",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "X_party_id",
        "Z_condition",
        "Z",
        "R1",
        "Attempt",
        "R2",
        "Y_polarization_w1",
        "Y_polarization_w2",
        "Y_extremity_w1",
        "Y_extremity_w2"
      ],
      "rows": 1980,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "estimator_ds",
      "title": "Extreme Value Bounds with Double Sampling",
      "topics": [
        "estimator_ds"
      ]
    },
    {
      "page": "estimator_ds_sens",
      "title": "Extreme Value Bounds with Double Sampling with Sensitivity",
      "topics": [
        "estimator_ds_sens"
      ]
    },
    {
      "page": "estimator_ev",
      "title": "Extreme Value (Manski) Bounds",
      "topics": [
        "estimator_ev"
      ]
    },
    {
      "page": "estimator_trim",
      "title": "Trimming Bounds",
      "topics": [
        "estimator_trim"
      ]
    },
    {
      "page": "levendusky_replication",
      "title": "Perceived polarization under double sampling",
      "topics": [
        "levendusky_replication"
      ]
    },
    {
      "page": "print.attrition_bounds",
      "title": "Print bounds",
      "topics": [
        "print.attrition_bounds"
      ]
    },
    {
      "page": "print.attrition_sensitivity",
      "title": "Print a sensitivity analysis",
      "topics": [
        "print.attrition_sensitivity"
      ]
    },
    {
      "page": "print.attrition_trim",
      "title": "Print trimming bounds",
      "topics": [
        "print.attrition_trim"
      ]
    },
    {
      "page": "sensitivity_ds",
      "title": "Sensitivity Analysis",
      "topics": [
        "sensitivity_ds"
      ]
    },
    {
      "page": "summary.attrition_bounds",
      "title": "Summarize bounds",
      "topics": [
        "summary.attrition_bounds"
      ]
    },
    {
      "page": "summary.attrition_trim",
      "title": "Summarize trimming bounds",
      "topics": [
        "summary.attrition_trim"
      ]
    },
    {
      "page": "tidy.attrition_bounds",
      "title": "Tidy an attrition bounds object",
      "topics": [
        "tidy.attrition_bounds"
      ]
    },
    {
      "page": "tidy.attrition_sensitivity",
      "title": "Tidy a sensitivity analysis",
      "topics": [
        "tidy.attrition_sensitivity"
      ]
    },
    {
      "page": "tidy.attrition_trim",
      "title": "Tidy a trimming bounds object",
      "topics": [
        "tidy.attrition_trim"
      ]
    }
  ],
  "_readme": "https://github.com/acoppock/attrition/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "attrition.Rmd",
      "filename": "attrition.html",
      "title": "Bounding treatment effects when experiments encounter attrition",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The experiment",
        "Extreme value bounds",
        "Double sampling",
        "Poststratification",
        "Sensitivity analysis",
        "Trimming bounds",
        "Dropping monotonicity",
        "Standard errors",
        "Reading the output",
        "All of the estimators at once",
        "References"
      ],
      "created": "2026-08-09 14:50:53",
      "modified": "2026-09-10 20:11:19",
      "commits": 8
    }
  ],
  "_score": 5.447158031342219,
  "_indexed": true,
  "_nocasepkg": "attrition",
  "_universes": [
    "acoppock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:30.000Z",
      "distro": "resolute",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/c477b73a5b2de1acc3cca31ad05a7465a048dde810b28828572f3a56f5d42c7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:25.000Z",
      "distro": "resolute",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/07dea56fc1c390a9aab7813df402239af56659db5182c318f760b8fadeaa8b3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:26.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/1ec15a1d6357fb5a6cad6956a975c33e4809acbe7d7f5ca071072ce70ac0412f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:31.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/47c1f773b7f8e28ed4c12c55cc0062c9a437f4a88889b7b6846c316ef2bc83ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:51.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/42326c1988346469e6c0a14ad7ed653da8eb9ab9b20d88504de1d7ce0eba64ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:24.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/57fe3af5e3e1519302b3ea88c57fed967c641dfe66e0326eb25592e679d8fe4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:25.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/46accc713166e1a9eb63da76910c6642be6f26d426bbaf9b1e20e86f062d7985",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-21T05:20:24.000Z",
      "commit": "162f979c44e5d28465d34ffe2d68b413b99ca3d5",
      "fileid": "https://r2.ropensci.org/f2c4180782a6af24afb2bc2c42f8902aa0f57e92d481b29bd338bcdad70ecfe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563868795"
    }
  ]
}