- n0
A positive integer. n0
represents the initial patient population assogned through restricted randomization for initial parameter estimation.
- theta
A numerical vector of length equal to 2k
. These values specify the true parameters for each treatment and are used for generating data in simulations. For example, if k=2
, you should provide two pairs of parameter values, each consisting of the mean and variance, like: theta = c(13, 4.0^2, 15, 2.5^2)
.
- k
A positive integer. The value specifies the number of treatment groups involved in a clinical trial. (\(k \ge 2\))
- ssn
A positive integer. The value specifies the total number of participants involved in each round of the simulation.
- ent.param
A positive integer. The value specified the parameter for an expoential distribution which determine the time for each participant enter the trial.
- rspT.dist
Distribution Type. Specifies the type of distribution that models the time spent for the availability of patient \(i\) under treatment \(k\). Acceptable options for this argument include: "exponential"
, "normal"
, and "uniform"
.
- rspT.param
A vector. Specifies the parameters required by the distribution that models the time spent for the availability under each treatment. (eg. If there are 3 treatments groups and each of them follows truncated normal distribution with parameter pair (3, 2), (2, 1), (4, 1), repectively. Then the rspT.param = c(3, 2, 2, 1, 4, 1)
)
- target.alloc
Desired allocation proportion. The option for this argument could be one of "Neyman"
, "ZR"
, "DaOptimal"
. The default is "Neyman"
. The details see Zhang L. and Rosenberger. W (2006).
- r
A positive number. Parameter for Hu and Zhang's doubly biased coin design and usually take values 2-4. The default value is 2.
- nsim
a positive integer. The value specifies the total number of simulations, with a default value of 2000.
- mRate
a numerical value between 0 and 1, inclusive, representing the missing rate for the responses. This parameter pertains to missing-at-random data. The default value is NULL
, indicating no missing values by default.
- alpha
a numerical value between 0 and 1. The value represents the predetermined level of significance that defines the probability threshold for rejecting the null hypothesis, with a default value of 0.05.