Skip to contents

This function gets the MCMC samples of DLT rate at the required doses given the toxicity model and MCMC samples of model parameters

Usage

getProbSamples(dose, mcmc_samples, model, ...)

# S4 method for class 'Samples,LogisticLogNormal'
getProbSamples(dose, mcmc_samples, model, ...)

Arguments

dose

non-negative numeric vector of doses that the DLT rate samples you want to retrieve

mcmc_samples

an object of class crmPack::Samples() from crmPack::mcmc(). This is MCMC samples of the model parameters

model

an toxicity model.

...

not used in this function

Value

for getProbSamples(mcmc_samples = Samples, model = LogisticLogNormal), a tibble containing the following columns:

  • alpha0, alpha1: sample values of the model parameters

  • dose: dose level

  • logit: logit value of given dose and model parameter samples

  • prob: mcmc samples of the DLT probability

Methods (by class)

  • getProbSamples(mcmc_samples = Samples, model = LogisticLogNormal): This function gets the MCMC samples of DLT rate at the required doses given the LogisticLognormal toxicity model and MCMC samples of model parameters