View source: R/select_final_dose.R
select_final_dose | R Documentation |
Select the final dose out of available doses that has the highest utility.
select_final_dose(dose_info, stopping_rule = FALSE, filter = 0.5)
dose_info |
Dataframe containing [dose level | availability | N_d | X_d | Y_d | Z_d | pf | pe | pt] |
sample_size |
Cumulative sample size at trial end |
max_samp_size |
Maximum sample size for trial |
stopping_rule |
Whether or not a stopping rule was invoked |
filter |
Posterior sum threshold to determine dose availability for final selection (pf+pt <= filter) |
No final dose is recommended if no doses are available, any stopping rules have been invoked, or no dose meets the selection criteria of pf+pt <= filter (e.g. filter = 0.5). The latter criteria is to exclude doses with too high toxicity or futility, but have not invoked safety or futility rules. Another alternative is to exclude doses with estimated chances of toxicity and futility above the equivalence intervals, but this has been found to be too strict a criteria and results in no dose recommendation too often through simulation studies.
The final dose recommendation, or -99 if no dose was selected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.