sel_g_func_default | R Documentation |
Default arm-select function for selecting arm to the next stage.
sel_g_func_default(W_2, W_1, delta)
W_2 |
Response rate for arm 2 (high dose) |
W_1 |
Response rate for arm 1 (low dose) |
delta |
Least difference to decide superiority of arm 2 (high dose) |
The function is g(W_2, W_1; \Delta) =
2I(W_2 - W_1 - \Delta > 0) + I(W_2 - W_1 - \Delta \leq 0)
.
It returns the following values:
1: arm 1 (low dose) is selected;
2: arm 2 (high dose) is selected.
sel_g_func_default(W_2 = 0.5, W_1 = 0.3, delta = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.