Estimation of the brier score, possibly after cross validation, to assess the discriminant ability and calibration of a biomarker regarding a disease status.
brier(
labels,
predictions,
iid = NULL,
fold = NULL,
observation = NULL,
null = NA,
conf.level = 0.95,
transformation = TRUE
)
An S3 object of class BuyseTestBrier
that inherits from data.frame.
[integer/character vector] the disease status (should only take two different values).
[numeric vector] A vector with the same length as labels
containing the biomarker values.
[array, optional] influence function of the prediction. For cross validation (CV) should be a 3 dimensional array (one slice per CV fold). Otherwise a matrix with as many column as observations and rows as predictions.
[character/integer vector] If using cross validation, the index of the fold.
Should have the same length as labels
.
[integer vector] If using cross validation, the index of the corresponding observation in the original dataset. Necessary to compute the standard error when using cross validation.
[numeric, 0-1] the value against which the AUC should be compared when computing the p-value.
[numeric, 0-1] the confidence level of the confidence intervals.
[logical] should a log-log transformation be used when computing the confidence intervals and the p-value.