ebcPar function

Representing Efron's Biased Coin Design

Representing Efron's Biased Coin Design

Represents the randomization procedure Efron's Biased Coin Design.

ebcPar(N, p, groups = LETTERS[1:2])

Arguments

  • N: integer for the total sample size of the trial.
  • p: success probability of the biased coin (e.g. in Efron's Biased Coin Design).
  • groups: character vector of labels for the different treatments.

Returns

S4 object of the class ebcPar.

Details

Flip a biased coin with probability p in favor of the treatment which is allocated less frequently. If both treatments have been assigned equally often a fair coin is tossed.

References

B. Efron (1971) Forcing a sequential experiment to be balanced. Biometrika, 58 , 403-17.

See Also

Other randomization procedures: abcdPar, bbcdPar, bsdPar, chenPar, crPar, createParam(), gbcdPar, hadaPar, mpPar, pbrPar, rarPar, rpbrPar, rtbdPar, tbdPar, udPar

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

Useful links