nonnegative parameter which my be adjusted according to how strongly it is
desired to balance the experiment. a = 0 gives the complete randomization, while the
assignments become more deterministic as a increases.
K
number of treatment groups (e.g. K=2 if we compare one experimental
against one control treatment).
Value
A vector with the allocation sequence for a clinical trial.
It will contain a zero (resp. 1) at position i, when patient i
is allocated to treatment A (resp. B).
References
A. B. Antognini and Maroussa Zagoraiou (2014) Balance and randomness in sequential
clinical trials: the dominant biased coin design.
Pharmaceutical Statistics13(2), 119-127