mpboost | R Documentation |
This function produces a treatment assignment sequence generated according to the maximal procedure of Berger et al. (2003). It is an implementation of the algorithm proposed by Salama et al. (2008).
mpboost(N1, N2, MTI = 2L)
N1 |
An integer specifying the size of the sample assigned to treatment 1. |
N2 |
An integer specifying the size of the sample assigned to treatment 2. |
MTI |
An integer specifying the maximum tolerated imbalance (MTI). The default is 2. |
A vector of N1 1's and N2 2's representing the allocation sequence.
See the package's vignette for more details and further examples of the use of the function.
Berger, V. W., Ivanova, A., Knoll, M. D. (2003). Minimizing predictability while retaining balance through the use of less restrictive randomization procedures. Statistics in Medicine, 22: 3017-3028. doi: 10.1002/sim.1538.
Salama, I., Ivanova, A., Qaqish, B. (2008). Efficient generation of constrained block allocation sequences. Statistics in Medicine, 27, 1421-1428. doi: 10.1002/sim.3014.
#\donttest{ mpboost(N1 = 25, N2 = 25, MTI = 3) #}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.