Description Usage Arguments Details See Also Examples
LogisticNormal
is the class for the usual logistic regression model with
a bivariate normal prior on the intercept and slope.
1 | LogisticNormal(mean, cov, ref_dose = 0)
|
mean |
( |
cov |
( |
ref_dose |
( |
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).
ModelLogNormal
, LogisticLogNormal
, LogisticLogNormalSub
,
ProbitLogNormal
, ProbitLogNormalRel
.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.