Biasing Policy for a Group of Favored Treatments
Calculate vector with the selection bias for each patient
getbiasCS1(R, K, pref)
R
: randomization sequence, a integer vector with entries 1, ...
, K, of length NK
: number of treatment groups, a single integer valuepref
: preferred groups for the guessingvector with the selection bias for each patient
Useful links