elicit_beta(mean, sd, method, ...)
Fit a Beta prior for proportions / response rates.
meansdmethod = "moments" | "quantile"labelexpert_id
p <- elicit_beta(mean=0.30, sd=0.10,
method="moments", label="ORR")
Expert belief
mean=0.30
sd=0.10
→
Beta(alpha,beta)
bayprior object
elicit_normal(mean, sd, method, ...)
Normal prior for unbounded quantities (log OR, mean differences).
p <- elicit_normal(mean=0, sd=0.5,
method="moments", label="Log OR")
elicit_gamma(mean, sd, method, ...)
Gamma prior for positive quantities (rates, variances).
p <- elicit_gamma(mean=5, sd=2,
method="moments", label="Event rate")
elicit_lognormal(mean, sd, method, ...)
Log-Normal prior for hazard ratios and PK parameters.
p <- elicit_lognormal(
quantiles = c("0.05"=0.4,"0.50"=0.7,"0.95"=1.2))
elicit_roulette(chips, breaks, family, ...)
SHELF roulette method: expert places chips across histogram bins.
chipsbreaksfamily
chips <- c(0L,1L,3L,7L,9L,7L,4L,2L,1L,1L)
breaks <- seq(0, 1, by=0.1)
p <- elicit_roulette(chips, breaks, "beta")
elicit_mixture(priors, weights, ...)
Build an explicit mixture prior from component bayprior objects.
m <- elicit_mixture(list(p1, p2),
weights = c(0.6, 0.4))
plot(prior)
Density plot with 95% CrI shading and mean dashed line.
print(prior)
Summary: distribution, parameters, mean, SD, 95% CrI.