{
  "_id": "6a62bb6dd3420cf5dfdb4a86",
  "Package": "cmrdesign",
  "Title": "Conditional Minimax Regret Design Rules",
  "Version": "0.0.0.9000",
  "Authors@R": "c(\nperson(given = \"Juan\", family = \"Yamin Silva\", role = c(\"aut\", \"cre\"), email = \"juan_yamin_silva@brown.edu\")\n)",
  "Author": "Juan Yamin Silva [aut, cre]",
  "Maintainer": "Juan Yamin Silva <juan_yamin_silva@brown.edu>",
  "Description": "Implements Conditional Minimax Regret design rules for\npilot-informed experimental assignment, including two-arm,\nunbounded two-arm, multi-arm, stratified, multiple-outcome,\nproxy-outcome, and pilot-planning tools.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/juancyamin/cmrdesign,\nhttps://arxiv.org/abs/2607.16982",
  "BugReports": "https://github.com/juancyamin/cmrdesign/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://juancyamin.r-universe.dev",
  "Date/Publication": "2026-07-24 01:02:17 UTC",
  "RemoteUrl": "https://github.com/juancyamin/cmrdesign",
  "RemoteRef": "HEAD",
  "RemoteSha": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
  "RemoteSubdir": "r",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-24 01:07:05 UTC",
    "User": "root"
  },
  "_user": "juancyamin",
  "_type": "src",
  "_file": "cmrdesign_0.0.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/01804d0aaff03418d50efcb3451cacb38668a959616c1856c365178f8e3e45a6",
  "_filesize": 292965,
  "_sha256": "01804d0aaff03418d50efcb3451cacb38668a959616c1856c365178f8e3e45a6",
  "_expires": "2026-11-01T01:10:03.000Z",
  "_created": "2026-07-24T01:07:05.000Z",
  "_published": "2026-07-24T01:10:05.378Z",
  "_jobs": [
    {
      "job": 89373995798,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8583546069"
    },
    {
      "job": 89373995775,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8583551056"
    },
    {
      "job": 89373995765,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8583537019"
    },
    {
      "job": 89373995761,
      "time": 74,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8583535264"
    },
    {
      "job": 89373571366,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8583514050"
    },
    {
      "job": 89373995793,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8583545166"
    },
    {
      "job": 89373995780,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8583536231"
    },
    {
      "job": 89373995821,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8583537313"
    },
    {
      "job": 89373995787,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8583538390"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185",
  "_status": "success",
  "_upstream": "https://github.com/juancyamin/cmrdesign",
  "_commit": {
    "id": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
    "author": "juancyamin <juan_yamin_silva@brown.edu>",
    "committer": "juancyamin <juan_yamin_silva@brown.edu>",
    "message": "Document PyPI alpha install\n",
    "time": 1784854937
  },
  "_maintainer": {
    "name": "Juan Yamin Silva",
    "email": "juan_yamin_silva@brown.edu",
    "login": "juancyamin",
    "description": "",
    "uuid": 98429023
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "juancyamin",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 22
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "juancyamin",
      "count": 21,
      "uuid": 98429023
    }
  ],
  "_userbio": {
    "uuid": 98429023,
    "type": "user",
    "name": "juancyamin",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cmrdesign"
  },
  "_devurl": "https://github.com/juancyamin/cmrdesign",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/cmrdesign.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "activation_threshold_bernoulli",
    "activation_threshold_bounded",
    "assign_additive_regularized_neyman",
    "assign_balance",
    "assign_exponential_regularized_neyman",
    "assign_feasible_neyman",
    "assign_multiarm_balance",
    "assign_multiarm_neyman",
    "assign_neyman",
    "assign_stratified_balance",
    "assign_stratified_neyman",
    "assign_trimmed_neyman",
    "binary_rectangle_corners",
    "binary_rectangle_regret",
    "boundary_indicator",
    "boundary_rate",
    "break_even_pilot_share",
    "certificate_valid",
    "cmr_binary",
    "cmr_binary_from_rectangle",
    "cmr_delayed_outcome",
    "cmr_multiarm",
    "cmr_multiarm_from_rectangle",
    "cmr_multiple_outcomes",
    "cmr_plan",
    "cmr_proxy",
    "cmr_stratified",
    "cmr_stratified_from_rectangle",
    "cmr_two_arm",
    "cmr_two_arm_from_rectangle",
    "cmr_unbounded",
    "cmr_unbounded_from_rectangle",
    "coverage_indicator",
    "folded_binomial_pmf",
    "folded_binomial_tails",
    "multiarm_oracle_variance",
    "multiarm_rectangle_vertices",
    "multiarm_regret",
    "multiarm_variance_objective",
    "oracle_variance",
    "pilot_plan",
    "pilot_viability_band",
    "rectangle_bernoulli_binary",
    "rectangle_bernoulli_two_arm",
    "rectangle_binary",
    "rectangle_bounded_binary",
    "rectangle_bounded_two_arm",
    "rectangle_delayed_outcome",
    "rectangle_multiarm",
    "rectangle_multiple_outcomes",
    "rectangle_proxy",
    "rectangle_stratified",
    "rectangle_two_arm",
    "rectangle_unbounded",
    "regret",
    "saving_vs_balance",
    "share_of_oracle_gain",
    "stratified_oracle_variance",
    "stratified_rectangle_vertices",
    "stratified_regret",
    "stratified_variance_objective",
    "variance_bounds_bernoulli_exact",
    "variance_bounds_martinez_taboada_ramdas",
    "variance_bounds_maurer_pontil",
    "variance_bounds_unbounded_mom",
    "variance_objective"
  ],
  "_help": [
    {
      "page": "cmrdesign-package",
      "title": "cmrdesign: Conditional Minimax Regret design rules",
      "topics": [
        "cmrdesign-package",
        "cmrdesign"
      ]
    },
    {
      "page": "activation_threshold_bounded",
      "title": "Pilot-size activation thresholds",
      "concept": [
        "pilot planning"
      ],
      "topics": [
        "activation_threshold_bernoulli",
        "activation_threshold_bounded"
      ]
    },
    {
      "page": "assign_balance",
      "title": "Baseline and comparator assignment rules",
      "concept": [
        "assignment helpers"
      ],
      "topics": [
        "assign_additive_regularized_neyman",
        "assign_balance",
        "assign_exponential_regularized_neyman",
        "assign_feasible_neyman",
        "assign_multiarm_balance",
        "assign_stratified_balance",
        "assign_trimmed_neyman"
      ]
    },
    {
      "page": "binary_rectangle_corners",
      "title": "Two-arm CMR from a variance rectangle",
      "concept": [
        "CMR rules",
        "rectangle helpers"
      ],
      "topics": [
        "binary_rectangle_corners",
        "binary_rectangle_regret",
        "cmr_binary_from_rectangle",
        "cmr_two_arm_from_rectangle"
      ]
    },
    {
      "page": "break_even_pilot_share",
      "title": "Break-even pilot share",
      "concept": [
        "pilot planning"
      ],
      "topics": [
        "break_even_pilot_share"
      ]
    },
    {
      "page": "cmr_multiarm",
      "title": "Shared-control multi-arm CMR assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_multiarm"
      ]
    },
    {
      "page": "cmr_multiarm_from_rectangle",
      "title": "Multi-arm CMR from a variance rectangle",
      "concept": [
        "CMR rules",
        "rectangle helpers"
      ],
      "topics": [
        "cmr_multiarm_from_rectangle"
      ]
    },
    {
      "page": "cmr_multiple_outcomes",
      "title": "Multiple-outcome CMR assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_multiple_outcomes"
      ]
    },
    {
      "page": "cmr_proxy",
      "title": "Proxy or delayed-outcome CMR assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_delayed_outcome",
        "cmr_proxy"
      ]
    },
    {
      "page": "cmr_stratified",
      "title": "Stratified CMR assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_stratified"
      ]
    },
    {
      "page": "cmr_stratified_from_rectangle",
      "title": "Stratified CMR from a variance rectangle",
      "concept": [
        "CMR rules",
        "rectangle helpers"
      ],
      "topics": [
        "cmr_stratified_from_rectangle"
      ]
    },
    {
      "page": "cmr_two_arm",
      "title": "Two-arm Conditional Minimax Regret assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_binary",
        "cmr_two_arm"
      ]
    },
    {
      "page": "cmr_unbounded",
      "title": "Unbounded-outcome CMR assignment",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "cmr_unbounded"
      ]
    },
    {
      "page": "cmr_unbounded_from_rectangle",
      "title": "Unbounded-outcome CMR from a variance rectangle",
      "concept": [
        "CMR rules",
        "rectangle helpers"
      ],
      "topics": [
        "cmr_unbounded_from_rectangle"
      ]
    },
    {
      "page": "coverage_indicator",
      "title": "Diagnostic metrics for CMR simulations",
      "concept": [
        "diagnostic helpers"
      ],
      "topics": [
        "boundary_indicator",
        "boundary_rate",
        "certificate_valid",
        "coverage_indicator",
        "saving_vs_balance",
        "share_of_oracle_gain"
      ]
    },
    {
      "page": "folded_binomial_pmf",
      "title": "Folded-binomial distribution for Bernoulli sample variances",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "folded_binomial_pmf",
        "folded_binomial_tails"
      ]
    },
    {
      "page": "multiarm_variance_objective",
      "title": "Multi-arm variance objectives and Neyman allocation",
      "concept": [
        "assignment helpers",
        "rectangle helpers"
      ],
      "topics": [
        "assign_multiarm_neyman",
        "multiarm_oracle_variance",
        "multiarm_rectangle_vertices",
        "multiarm_regret",
        "multiarm_variance_objective"
      ]
    },
    {
      "page": "pilot_plan",
      "title": "Pilot/main-wave planning summary",
      "concept": [
        "pilot planning"
      ],
      "topics": [
        "cmr_plan",
        "pilot_plan"
      ]
    },
    {
      "page": "pilot_viability_band",
      "title": "Pilot viability band",
      "concept": [
        "pilot planning"
      ],
      "topics": [
        "pilot_viability_band"
      ]
    },
    {
      "page": "print.cmr_two_arm",
      "title": "Print and summarize CMR results",
      "concept": [
        "CMR rules"
      ],
      "topics": [
        "print.cmr_multiarm",
        "print.cmr_multiple_outcomes",
        "print.cmr_proxy",
        "print.cmr_stratified",
        "print.cmr_two_arm",
        "print.cmr_unbounded",
        "print.summary.cmr_result",
        "summary.cmr_multiarm",
        "summary.cmr_multiple_outcomes",
        "summary.cmr_proxy",
        "summary.cmr_stratified",
        "summary.cmr_two_arm",
        "summary.cmr_unbounded"
      ]
    },
    {
      "page": "rectangle_bernoulli_binary",
      "title": "Two-arm confidence rectangles",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_bernoulli_binary",
        "rectangle_bernoulli_two_arm",
        "rectangle_binary",
        "rectangle_two_arm"
      ]
    },
    {
      "page": "rectangle_bounded_binary",
      "title": "Bounded two-arm confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_bounded_binary",
        "rectangle_bounded_two_arm"
      ]
    },
    {
      "page": "rectangle_multiarm",
      "title": "Multi-arm confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_multiarm"
      ]
    },
    {
      "page": "rectangle_multiple_outcomes",
      "title": "Multiple-outcome confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_multiple_outcomes"
      ]
    },
    {
      "page": "rectangle_proxy",
      "title": "Proxy or delayed-outcome confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_delayed_outcome",
        "rectangle_proxy"
      ]
    },
    {
      "page": "rectangle_stratified",
      "title": "Stratified confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_stratified"
      ]
    },
    {
      "page": "rectangle_unbounded",
      "title": "Unbounded-outcome confidence rectangle",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "rectangle_unbounded"
      ]
    },
    {
      "page": "stratified_variance_objective",
      "title": "Stratified variance objectives and Neyman allocation",
      "concept": [
        "assignment helpers",
        "rectangle helpers"
      ],
      "topics": [
        "assign_stratified_neyman",
        "stratified_oracle_variance",
        "stratified_rectangle_vertices",
        "stratified_regret",
        "stratified_variance_objective"
      ]
    },
    {
      "page": "variance_bounds_bernoulli_exact",
      "title": "Exact Bernoulli variance bounds",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "variance_bounds_bernoulli_exact"
      ]
    },
    {
      "page": "variance_bounds_maurer_pontil",
      "title": "Bounded-outcome variance bounds",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "variance_bounds_martinez_taboada_ramdas",
        "variance_bounds_maurer_pontil"
      ]
    },
    {
      "page": "variance_bounds_unbounded_mom",
      "title": "Unbounded-outcome median-of-means variance bounds",
      "concept": [
        "rectangle helpers"
      ],
      "topics": [
        "variance_bounds_unbounded_mom"
      ]
    },
    {
      "page": "variance_objective",
      "title": "Two-arm variance objectives and Neyman allocation",
      "concept": [
        "assignment helpers"
      ],
      "topics": [
        "assign_neyman",
        "oracle_variance",
        "regret",
        "variance_objective"
      ]
    }
  ],
  "_readme": "https://github.com/juancyamin/cmrdesign/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "binary-outcomes.Rmd",
      "filename": "binary-outcomes.html",
      "title": "Binary Outcomes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate a binary pilot",
        "Exact Bernoulli CMR",
        "Inspect the folded-binomial sufficient statistic"
      ],
      "created": "2026-07-23 18:53:25",
      "modified": "2026-07-23 23:17:54",
      "commits": 3
    },
    {
      "source": "extensions.Rmd",
      "filename": "extensions.html",
      "title": "CMR Extensions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Shared-control multi-arm designs",
        "Stratified designs",
        "Raw unbounded outcomes"
      ],
      "created": "2026-07-23 23:17:54",
      "modified": "2026-07-23 23:17:54",
      "commits": 1
    },
    {
      "source": "multiple-outcomes.Rmd",
      "filename": "multiple-outcomes.html",
      "title": "Multiple Outcomes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate a pilot with two outcomes",
        "Weighted-index CMR",
        "Coprimary-outcome CMR",
        "Compare index and coprimary designs"
      ],
      "created": "2026-07-23 18:53:25",
      "modified": "2026-07-23 23:17:54",
      "commits": 3
    },
    {
      "source": "pilot-planning.Rmd",
      "filename": "pilot-planning.html",
      "title": "Pilot Planning",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Planning inputs",
        "Break-even pilot share",
        "Activation thresholds",
        "Viability band",
        "Check a desired pilot size"
      ],
      "created": "2026-07-23 18:53:25",
      "modified": "2026-07-23 23:17:54",
      "commits": 3
    },
    {
      "source": "proxy-outcomes.Rmd",
      "filename": "proxy-outcomes.html",
      "title": "Proxy Outcomes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate proxy and primary outcomes",
        "Choose a bridge constant",
        "Proxy CMR",
        "Simulated oracle comparison"
      ],
      "created": "2026-07-23 18:53:25",
      "modified": "2026-07-23 23:17:54",
      "commits": 3
    },
    {
      "source": "two-arm-bounded.Rmd",
      "filename": "two-arm-bounded.html",
      "title": "Two-Arm Bounded Outcomes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate a pilot",
        "Compute the CMR assignment",
        "Compare confidence-set methods",
        "Work from a precomputed rectangle"
      ],
      "created": "2026-07-23 18:53:25",
      "modified": "2026-07-23 23:17:54",
      "commits": 3
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "cmrdesign",
  "_universes": [
    "juancyamin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:57.000Z",
      "distro": "resolute",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/411cba064147bdcf422ef3e20d8d1745c2e91ecd24418d158a5cbf5eebadaec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:09:15.000Z",
      "distro": "resolute",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/c97145ab33ca757be1f342f889a92fc68f84a0487d5ea94b67587f8b468503e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:32.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/cd6a640f2ff84d878b1ca4ebac41254afa64b62e218c0061fb5c2c3390a06d82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:26.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/682554d6a46f05f63f18c819e4fc749d6fd9e8514c29675d78ac1f831a9ed3bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:09:14.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/933e32d041197674e251ac4e4548b339020b62283401a741692cece9c4679576",
      "status": "success",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:13.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/8457ae5b74a01a0915f05f44ceb9f18ce72821a437df9bf6bc6ef978dd7cfc71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:17.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/4a49877da4cfd30bf50a617bf53e81144de0b95fa9a09b2ad7d68cf84206959c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-07-24T01:08:21.000Z",
      "commit": "1ec3aee4d415b1e0a831765d3ba3efb890f6ed6d",
      "fileid": "https://r2.ropensci.org/e613d8c0a26dd0d32cd5ac9fe77c4777f696854f8500c82f07684d2cf16beb73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juancyamin/actions/runs/30057962185"
    }
  ]
}