{
  "_id": "6a1d4b8d1d7bb097a0a43952",
  "Package": "whatifbandit",
  "Title": "Analyzing Randomized Experiments as Multi-Arm Bandits",
  "Version": "0.3.0.9001",
  "Authors@R": "c(\nperson(\"Noah\", \"Ochital\", , \"noahochital@icloud.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0009-0398-2963\")),\nperson(\"Ryan T.\", \"Moore\", , \"rtm@american.edu\", role = c(\"ctb\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3916-8113\"))\n)",
  "Description": "Simulates the results of completed randomized controlled\ntrials, as if they had been conducted as adaptive Multi-Arm\nBandit (MAB) trials instead. Augmented inverse probability\nweighted estimation (AIPW), outlined by Hadad et al. (2021)\n<doi:10.1073/pnas.2014602118>, is used to robustly estimate the\nprobability of success for each treatment arm under the\nadaptive design. Provides customization options to simulate\nperfect/imperfect information, stationary/non-stationary\nbandits, blocked treatment assignments, along with control\naugmentation, and other hybrid strategies for assigning\ntreatment arms. The methods used in simulation were inspired by\nOffer-Westort et al.  (2021) <doi:10.1111/ajps.12597>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/Noch05/whatifbandit",
  "BugReports": "https://github.com/Noch05/whatifbandit/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://noch05.r-universe.dev",
  "Date/Publication": "2026-02-28 23:58:13 UTC",
  "RemoteUrl": "https://github.com/noch05/whatifbandit",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 08:59:34 UTC",
    "User": "root"
  },
  "Author": "Noah Ochital [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0009-0398-2963>),\nRyan T. Moore [ctb, cph] (ORCID:\n<https://orcid.org/0000-0002-3916-8113>)",
  "Maintainer": "Noah Ochital <noahochital@icloud.com>",
  "MD5sum": "02df847cda8b4c375e75b739df03ce99",
  "_user": "noch05",
  "_type": "src",
  "_file": "whatifbandit_0.3.0.9001.tar.gz",
  "_fileid": "678b7acbc8ac5eff92192943d1956e062932e2c034f73140e7cefc7b46566e58",
  "_filesize": 1226559,
  "_sha256": "678b7acbc8ac5eff92192943d1956e062932e2c034f73140e7cefc7b46566e58",
  "_created": "2026-06-01T08:59:34.000Z",
  "_published": "2026-06-01T09:06:21.832Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78819159883,
      "time": 365,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327494409"
    },
    {
      "job": 78819159859,
      "time": 343,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327487531"
    },
    {
      "job": 78819159914,
      "time": 305,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327464416"
    },
    {
      "job": 78819159925,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327441977"
    },
    {
      "job": 78818606358,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327371204"
    },
    {
      "job": 78819159881,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327424521"
    },
    {
      "job": 78819159915,
      "time": 264,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327461628"
    },
    {
      "job": 78819159853,
      "time": 268,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327462956"
    },
    {
      "job": 78819159895,
      "time": 278,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327466069"
    }
  ],
  "_buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/noch05/whatifbandit",
  "_commit": {
    "id": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
    "author": "Noah Ochital <noahochital@icloud.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from Noch05/synthetic\n\nNew Feature; Synthetic Data Generation",
    "time": 1772323093
  },
  "_maintainer": {
    "name": "Noah Ochital",
    "email": "noahochital@icloud.com",
    "login": "noch05",
    "uuid": 199685402
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "bandit",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "noch05",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 25
    },
    {
      "week": "2025-27",
      "n": 105
    },
    {
      "week": "2025-28",
      "n": 71
    },
    {
      "week": "2025-29",
      "n": 41
    },
    {
      "week": "2025-30",
      "n": 22
    },
    {
      "week": "2025-31",
      "n": 14
    },
    {
      "week": "2025-32",
      "n": 10
    },
    {
      "week": "2025-33",
      "n": 38
    },
    {
      "week": "2025-34",
      "n": 43
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 12
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2025-11-03"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "noch05",
      "count": 410,
      "uuid": 199685402
    },
    {
      "user": "ryantmoore",
      "count": 5,
      "uuid": 2191697
    }
  ],
  "_userbio": {
    "uuid": 199685402,
    "type": "user",
    "name": "Noah Ochital",
    "description": "Mathematics, Economics, and Political Science Undergraduate at American University\r\n\r\n"
  },
  "_downloads": {
    "count": 121,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/whatifbandit"
  },
  "_devurl": "https://github.com/noch05/whatifbandit",
  "_searchresults": 5,
  "_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/whatifbandit.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/noch05/whatifbandit",
  "_realowner": "noch05",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2025-11-03"
    }
  ],
  "_exports": [
    "generate_rct.bernoulli",
    "multiple_mab_simulation",
    "single_mab_simulation"
  ],
  "_datasets": [
    {
      "name": "tanf",
      "title": "Public TANF Recipient Data From Washington D.C",
      "object": "tanf",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ic_case_id",
        "service_center",
        "appt_date",
        "condition",
        "recert_month",
        "letter_sent_date",
        "recert_id",
        "return_to_sender",
        "pdc_status",
        "renewal_date",
        "notice_date.x",
        "days_betwn_notice_and_recert_due",
        "cert_period_start",
        "cert_period_end",
        "recert_status",
        "denial_reason",
        "recert_month_year",
        "notice_date.y",
        "recert_status_dcas",
        "date_of_recert",
        "success"
      ],
      "rows": 3517,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "generate_rct.bernoulli",
      "title": "Generate a Bernoulli RCT dataset",
      "topics": [
        "generate_rct.bernoulli"
      ]
    },
    {
      "page": "multiple_mab_simulation",
      "title": "Run Multiple Multi-Arm-Bandit Trials with Inference in Parallel",
      "topics": [
        "multiple_mab_simulation"
      ]
    },
    {
      "page": "plot.mab",
      "title": "Plot Generic for 'mab' objects",
      "topics": [
        "plot.mab"
      ]
    },
    {
      "page": "plot.multiple.mab",
      "title": "Plot Generic For 'multiple.mab' Objects",
      "topics": [
        "plot.multiple.mab"
      ]
    },
    {
      "page": "print.mab",
      "title": "Print Generic For 'mab'",
      "topics": [
        "print.mab"
      ]
    },
    {
      "page": "print.multiple.mab",
      "title": "Print Generic For 'multiple.mab'",
      "topics": [
        "print.multiple.mab"
      ]
    },
    {
      "page": "single_mab_simulation",
      "title": "Run One Adaptive Simulation With Inference.",
      "topics": [
        "single_mab_simulation"
      ]
    },
    {
      "page": "summary.mab",
      "title": "Summary Generic For 'mab' Class",
      "topics": [
        "summary.mab"
      ]
    },
    {
      "page": "summary.multiple.mab",
      "title": "Summary Generic For 'multiple.mab' Class",
      "topics": [
        "summary.multiple.mab"
      ]
    },
    {
      "page": "tanf",
      "title": "Public TANF Recipient Data From Washington D.C",
      "topics": [
        "tanf"
      ]
    }
  ],
  "_readme": "https://github.com/noch05/whatifbandit/raw/HEAD/README.md",
  "_rundeps": [
    "bandit",
    "boot",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "farver",
    "foreach",
    "furrr",
    "future",
    "gam",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randomizr",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "whatifbandit.Rmd",
      "filename": "whatifbandit.html",
      "title": "Introduction to {whatifbandit}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Core Functionality",
        "Multi-Arm-Bandits: Adaptive Assignment",
        "Adaptive Inference",
        "Data",
        "A Single MAB Simulation",
        "Analysis",
        "Plotting",
        "Multiple Simulations",
        "Analyzing Repeated Simulations",
        "Plotting Repeated Simulations",
        "Additional Topics",
        "Large Datasets",
        "References"
      ],
      "created": "2025-07-22 02:59:26",
      "modified": "2025-10-29 12:42:49",
      "commits": 31
    }
  ],
  "_score": 4.8750612633917,
  "_indexed": true,
  "_nocasepkg": "whatifbandit",
  "_universes": [
    "noch05"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:02:59.000Z",
      "distro": "noble",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "e6ca5cf9d13634ccea73af257b9cd01d1e55ac0448ffc089f8c0de2d7f30a88f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:02:43.000Z",
      "distro": "noble",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "201e8fff2cf1b5b6aceefbd4ac429043179a0a81d19daeae663ac8303f6ed44c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:01:56.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "c9d3ff202440e4dd9dc14052b6c3a30e586a7c118d70c48d806553e2b6eea3d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:01:28.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "813ae374ed50ae4711dd4b96966795b63e3e89f5825a41833f94b542371bde93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:02:27.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "a24e691db57d6619b5a0a3d2c82b11fa80d49c0d7e7c4d236920b87f221d8d87",
      "status": "success",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:00:55.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "1f84517a1b1cdfd89e24cf5303a2a535bc8ef167641e5223c1a4daf10cde73f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:00:55.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "499bdab82974dc85013ed0071810f3e4805b9f49e6b8bda0feb3b755b16d8aa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-06-01T09:00:55.000Z",
      "commit": "6e7cf0c1d8f4297c561bfa3733451e5178c8eaed",
      "fileid": "aa610fed6dfbce69f6c5e9fb6b2514c7f9ee08c9d7cdee9144c2ed271c4d0620",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/noch05/actions/runs/26745128223"
    }
  ]
}