Gittins | R Documentation |
Gittins
can provide Gittins indices for binary reward processes
and normal reward processes with known and unknown variance for certain discount factors.
Binary reward process can handle scenarios with up to 2000 participants in a trial, while
normal reward process can handle scenarios with up to 10000 participants in a trial.
Gittins(Gittinstype, df)
Gittinstype |
type of Gittins indices, with choices from 'Binary', 'UNKV' and 'KV'. 'Binary' represents binary outcomes, 'UNKV' and 'KV' represent continuous outcomes with known and unknown variance respectively. |
df |
discount factor which is the multiplier for loss at each additional patient in the future.
Available values are 0.5, 0.6, 0.7, 0.8, 0.9, 0.95, 0.99 and 0.995 for |
Gittins indices for binary outcomes are generated from bmab_gi_multiple_ab
function from gittins
package with
time horizon 100, 100, 100, 1000, 1000 for discount factor 0, 0.5, 0.7, 0.99 and 0.995 respectively.
Gittins indices for continuous outcomes are obtained by linear extrapolation using Table 8.1 and Table 8.3
in \insertCiteGittins2011RARtrials.
A vector of Gittins indices for Gittinstype
in 'UNKV' and 'KV'. A matrix of
Gittins indices for Gittinstype
in 'Binary'.
Gittins2011RARtrials
Gittins(Gittinstype='KV',df=0.5)
Gittins(Gittinstype='Binary',df=0.995)
Gittins(Gittinstype='UNKV',df=0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.