Calculate bootstrap intervals for the C statistic (Area under the curve AUC), based on a glm.
CstatCI(
object,
conf.level = 0.95,
sides = c("two.sided", "left", "right"),
...
)
the model object as returned by glm.
confidence level of the interval.
a character string specifying the side of the confidence
interval, must be one of "two.sided"
(default), "left"
or
"right"
. "left"
would be analogue to a hypothesis of
"greater"
in a t.test
. You can specify just the initial
letter.
further arguments are passed to the boot
function.
Supported arguments are type
("norm"
, "basic"
,
"stud"
, "perc"
, "bca"
), parallel
and the number
of bootstrap replicates R
. If not defined those will be set to their
defaults, being "basic"
for type
, option
"boot.parallel"
(and if that is not set, "no"
) for
parallel
and 999
for R
.
a numeric vector with 3 elements:
mean
lower bound of the confidence interval
upper bound of the confidence interval