rand.prob: Calculates randomization probabilities and dose allocation for next patient
Description
Function rand.prob() calculates the updated randomization probabilities based on observed efficacies up to that point.
It also gives the dose allocation for the next enrolled patient based on these probabilities.
Usage
rand.prob(y.eff, d.safe)
Arguments
y.eff
vector of all efficacy outcomes for each dose allocation
d.safe
vector of dose assignment
Value
List object giving
Rand.Prob - randomization probability for each safe dose (from stage 1)
Next.Dose - the dose to enroll the next patient on