Software

cmrdesign

Use pilot data to decide how to allocate the next wave of an experiment. cmrdesign implements the methods in When and How to Pilot, from a treatment–control split to designs with several arms, strata, or outcomes. It also includes tools for planning pilot sizes.

Documentation GitHub Paper
Citation
@misc{yamin2026pilot,
  title = {When and How to Pilot: Design Rules for Two-Wave Experiments},
  author = {Yamin, Juan C.},
  year = {2026},
  doi = {10.48550/arXiv.2607.16982},
  url = {https://arxiv.org/abs/2607.16982}
}

@manual{cmrdesign2026,
  title = {cmrdesign: Conditional Minimax Regret Design Rules},
  author = {Yamin, Juan C.},
  year = {2026},
  note = {R and Python software, version 0.1.0},
  url = {https://juancyamin.github.io/cmrdesign/}
}

Worked examples

Install once install.packages("cmrdesign") Two-arm quick start ↗

Choose an example to see its code and results.