Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ebcPar

Representing Efron's Biased Coin Design


Description

Represents the randomization procedure Efron's Biased Coin Design.

Usage

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.

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.

Value

S4 object of the class ebcPar.

References

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

See Also


randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.