Credible intervals estimation
credibleIntervals(object, ...)# S4 method for trtSelOptThresh
credibleIntervals(object, alpha = 0.05,
hpd = FALSE)
# S4 method for diagOptThresh
credibleIntervals(object, alpha = 0.05,
hpd = FALSE)
a trtSelOptThresh
or a diagOptThresh
S4 class object from which the credible intervals of several indicators (including the optimal threshold) must be calculated.
other arguments passed to the method.
alpha parameter for the confidence level required.
logical value to specify whether the function has to return Highest Posterior Density interval or not.
Returns a matrix with the credible intervals of several indicators.
Returns the credible intervals of several indicators.
This function calculates the credible intervals of several indicators depending on the type of marker under study (treatment selection or diagnostic marker). The user may specify the alpha risk for the confidence level (default is 5
Gelman, A, et al. 2014. Bayesian Data Analysis. 3rd edition, CRC Press, Boca Raton, section 2.3.
trtSelThresh
, diagThresh
, and hdi
.