chenRand: Representing Chen's Design

View source: R/chenPar.R

chenRandR Documentation

Representing Chen's Design

Description

Representing Chen's Design

Usage

chenRand(N, mti, p, K = 2)

Arguments

N

integer for the total sample size of the trial.

mti

maximum tolerated imbalance in patient numbers during the trial.

p

success probability of the biased coin (e.g. in Efron's Biased Coin Design).

K

number of treatment groups (e.g. K=2 if we compare one experimental against one control treatment).

Value

A vector with the allocation sequence for a clinical trial. It will contain a zero (resp. 1) at position i, when patient i is allocated to treatment A (resp. B).

References

Chen Yung-Pin (1999) Biased coin design with imbalance tolerance. Comm. in Stat., 15, 953-975.


randomizeR documentation built on Sept. 19, 2023, 1:08 a.m.