getbiasCS1 function

Biasing Policy for a Group of Favored Treatments

Biasing Policy for a Group of Favored Treatments

Calculate vector with the selection bias for each patient

getbiasCS1(R, K, pref)

Arguments

  • R: randomization sequence, a integer vector with entries 1, ..., K, of length N
  • K: number of treatment groups, a single integer value
  • pref: preferred 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