make_decision_table: Make Decision Table

View source: R/make_decision_table.R

make_decision_tableR Documentation

Make Decision Table

Description

Produces the pre-smoothed decision table for a certain dose sample size using given parameters and thresholds. The decision table should be generalizable to any dose level. Safety is valued over efficacy, so any estimates exceeding the toxicity tolerance will call for de-escalation.

IMPORTANT: The decision table must be named in the following format to run simulations: "decision_table#" where #=N.

Usage

make_decision_table(15, PF = 0.2, PF_tolerance = 0.05, eta = 0.8, PT = 0.2, PT_tolerance = 0.05, zeta = 0.8)

Arguments

N

Number of patients tested at a dose

PF

Target tolerable futility probability

PF_tolerance

Half-length of futility equivalence interval (epsilon_F)

eta

Upper futility threshold beyond which invokes the futility rule

PT

Target tolerable toxicity probability

PT_tolerance

Half-length of toxicity equivalence interval (epsilon_T)

zeta

Upper toxicity threshold beyond which invokes the safety rule

Value

A matrix containing the decision table. Futility counts are on the row axis, and toxicity counts are on the column axis.


jiyingz/clinicalMPI documentation built on Jan. 19, 2024, 5:58 a.m.