Skip to contents

Applied CMR rules

User-facing rules that estimate a confidence set from pilot data and return a recommended main-wave allocation plus a regret certificate.

binary_rectangle_corners() binary_rectangle_regret() cmr_two_arm_from_rectangle() cmr_binary_from_rectangle()
Two-arm CMR from a variance rectangle
cmr_multiarm()
Shared-control multi-arm CMR assignment
cmr_multiarm_from_rectangle()
Multi-arm CMR from a variance rectangle
cmr_multiple_outcomes()
Multiple-outcome CMR assignment
cmr_proxy() cmr_delayed_outcome()
Proxy or delayed-outcome CMR assignment
cmr_stratified()
Stratified CMR assignment
cmr_stratified_from_rectangle()
Stratified CMR from a variance rectangle
cmr_two_arm() cmr_binary()
Two-arm Conditional Minimax Regret assignment
cmr_unbounded()
Unbounded-outcome CMR assignment
cmr_unbounded_from_rectangle()
Unbounded-outcome CMR from a variance rectangle
pilot_plan() cmr_plan()
Pilot/main-wave planning summary

Pilot planning

Screens from Appendix E of the accompanying paper (Yamin 2026) for planning the pilot/main-wave split before collecting pilot data.

activation_threshold_bounded() activation_threshold_bernoulli()
Pilot-size activation thresholds
pilot_viability_band()
Pilot viability band
break_even_pilot_share()
Break-even pilot share

Confidence rectangles and variance bounds

Expert and audit helpers for the confidence sets used by CMR rules.

rectangle_bernoulli_binary() rectangle_binary() rectangle_two_arm() rectangle_bernoulli_two_arm()
Two-arm confidence rectangles
rectangle_bounded_two_arm() rectangle_bounded_binary()
Bounded two-arm confidence rectangle
rectangle_multiarm()
Multi-arm confidence rectangle
rectangle_multiple_outcomes()
Multiple-outcome confidence rectangle
rectangle_proxy() rectangle_delayed_outcome()
Proxy or delayed-outcome confidence rectangle
rectangle_stratified()
Stratified confidence rectangle
rectangle_unbounded()
Unbounded-outcome confidence rectangle
variance_bounds_bernoulli_exact()
Exact Bernoulli variance bounds
variance_bounds_maurer_pontil() variance_bounds_martinez_taboada_ramdas()
Bounded-outcome variance bounds
variance_bounds_unbounded_mom()
Unbounded-outcome median-of-means variance bounds
folded_binomial_pmf() folded_binomial_tails()
Folded-binomial distribution for Bernoulli sample variances
binary_rectangle_corners() binary_rectangle_regret() cmr_two_arm_from_rectangle() cmr_binary_from_rectangle()
Two-arm CMR from a variance rectangle

Assignment rules and variance objectives

Baseline allocation rules and regret/objective helpers for audits, examples, and simulations.

Diagnostics

Small helpers for checking CMR certificates, coverage, boundary choices, and realized gains.

Result display

Print and summary methods for compact CMR result objects.

Package

cmrdesign cmrdesign-package
cmrdesign: Conditional Minimax Regret design rules