PilotRule

The stopping rule of the pilot, in integers. The pilot runs SolveOptions.pilot trials per arm and then goes on until the failing baseline fails once or the cap is reached; the cap never takes more than a quarter of the trial budget. With no failure in n trials the failure rate is below 3/n at 95% (the rule of three), reported in whole percent rounded up.

Functions

Link copied to clipboard
fun max(min: Int, maxTrials: Int): Int
Link copied to clipboard
fun trials(min: Int, max: Int, firstFailure: Int?): Int

Trials per arm of a finished pilot, given the index of the first failing baseline trial.

Link copied to clipboard
fun upperPercent(trials: Int): Int