getbiasCS2 function

Biasing Policy for Avoiding the Placebo Treatment

Biasing Policy for Avoiding the Placebo Treatment

Calculate vector with the selection bias for each patient

getbiasCS2(R, K, avoid)

Arguments

  • R: randomization sequence, a integer vector with entries 1, ..., K, of length N
  • K: number of treatment groups, a single integer value
  • avoid: avoided groups for the guessing

Returns

vector with the selection bias for each patient

  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links