check_conf_int-internal {sMSROC}R Documentation

Checks for parameters to compute the confidence intervals for the AUC

Description

Check of the consistency of the parameters indicated to compute the confidence intervals for the AUC.

Usage

check_conf_int(conf.int, ci.cl, ci.meth, ci.nboots, parallel, ncpus)

Arguments

conf.int

parameter indicating whether confidence intervals for the AUC will be computed (“T”) or not (“F”). The default is “F”.

ci.cl

confidence level at which the confidence intervals for the AUC will be calculated. The default value is 0.95.

ci.meth

method for computing the confidence intervals according to doi:10.1515/ijb-2019-0097. There are three options:

  • “E”, for the Empirical variance estimation.

  • “V”, for the theoretical Variance estimation.

  • “B”, for the Bootstrap Percentile.

The empirical method E is taken as default. This parameter is ignored if conf.int is set to “F”.

ci.nboots

number of bootstrap samples to be generated when the chosen ci.meth is “B”. The default values is 500.

parallel

indicates whether parallel computing will be done (“T”) or not (“F”), when computing the variance of the AUC through the methods “V” and “B”.

ncpus

number of CPUS that will be used when parallel computing is chosen.

Value

A list with the following components:

ci.cl

value entered as confidence level for the AUC.

ci.meth

value entered as method for computing the confidence intervals.

ci.nboots

value entered as number of bootstrap samples.

ci.ncpus

value entered as number of CPUs chosen.

message

table with the warning messages generated by the function.


[Package sMSROC version 0.1.2 Index]