LogisticNormal-class: 'LogisticNormal'

Description Usage Arguments Details See Also Examples

Description

[Stable]

LogisticNormal is the class for the usual logistic regression model with a bivariate normal prior on the intercept and slope.

Usage

1
LogisticNormal(mean, cov, ref_dose = 0)

Arguments

mean

(numeric)
the prior mean vector.

cov

(matrix)
the prior covariance matrix.

ref_dose

(number)
the reference dose.

Details

The covariate is the natural logarithm of the dose x divided by the reference dose x*, i.e.:

logit[p(x)] = alpha0 + alpha1 * log(x/x*),

where p(x) is the probability of observing a DLT for a given dose x. The prior

(alpha0, alpha1) ~ Normal(mean, cov).

See Also

ModelLogNormal, LogisticLogNormal, LogisticLogNormalSub, ProbitLogNormal, ProbitLogNormalRel.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Define the dose-grid.
empty_data <- Data(doseGrid = c(1, 3, 5, 10, 15, 20, 25, 40, 50, 80, 100))

my_model <- LogisticNormal(
  mean = c(-0.85, 1),
  cov = matrix(c(1, -0.5, -0.5, 1), nrow = 2)
)

my_options <- McmcOptions(burnin = 10, step = 2, samples = 100)

samples <- mcmc(empty_data, my_model, my_options)
samples

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.