Let there are "A" patients at the dose level "i" and also consider "C" and "D" as
predetermined value where (D >= C).
If less than C patients have DLTs out of A patints then we escalate the dose at
(i+1)th level and if more than D have the DLT's out of A then we consider the
previous dose level (i-1)th as MTD(maximum dose level with toxicity rates occurring
no more than a predetermined value).
If more than C and less than D
patients have DLTs then we add B more patients at the ith dose level and then if more than E (E >= D) out
of (A+B) patients have the DLTs then we consider the previous dose level as MTD.
Now we are going to determine the expected number of sample size at the jth dose level.
# prop = Vector of DLT rates at different dose level
# n = Total number of doses
# N = Vector of expected number of patients at different level of doses