OneParExpPrior-class: 'OneParExpPrior'

OneParExpPrior-classR Documentation

OneParExpPrior

Description

[Experimental]

OneParExpPrior is the class for a standard CRM with an exponential prior on the power parameter for the skeleton prior probabilities. It is an implementation of a version of the one-parameter CRM (O’Quigley et al. 1990).

Usage

OneParExpPrior(skel_probs, dose_grid, lambda)

.DefaultOneParExpPrior()

Arguments

skel_probs

see slot definition.

dose_grid

(numeric)
dose grid. It must be must be a sorted vector of the same length as skel_probs.

lambda

see slot definition.

Slots

skel_fun

(function)
function to calculate the prior DLT probabilities.

skel_fun_inv

(function)
inverse function of skel_fun.

skel_probs

(numeric)
skeleton prior probabilities. This is a vector of unique and sorted probability values between 0 and 1.

lambda

(number)
rate parameter of prior exponential distribution for theta.

Note

Typically, end users will not use the .DefaultOneparExpPrior() function.

Typically, end users will not use the .DefaultOneParLogNormalPrior() function.

Examples

my_model <- OneParExpPrior(
  skel_probs = c(0.1, 0.3, 0.5, 0.7, 0.9),
  dose_grid = 1:5,
  lambda = 2
)

Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.