this method offers a variety of statistical evaluation methods for the output of the calibrate
method.
All returned error values represent mean error values over the n_seeds
times repeated 10-fold CV.
statistics_calibratR(calibrate_object, t.test_partitions = TRUE,
significance_models = TRUE)
list that is returned from the calibrate
function. The parameter n_seeds
is available as a list component of the calibrate_object
Performs a paired two sided t.test over the error values (ECE, CLE1, CLE0, MCE, AUC, sensitivity and specificity) from the
random partition splits comparing a possible significant difference in mean among the calibration models. All models and the original, scaled and transformed values are tested against each other.
The p_value and the effect size of the t.test are returned to the user. Can only be performed, if the calibrate_object
contains a summary_CV
list object, else, an error is returned. Default: TRUE
returns important characteristics of the implemented calibration models, Default: TRUE
An object of class list, with the following components:
mean of calibration error values (ECE_equal_width, MCE_equal_width, ECE_equal_freq, MCE_equal_freq, RMSE, Class 1 CLE, Class 0 CLE, Brier Score, Class 1 Brier Score, Class 0 Brier Score) over n_seeds
times repeated 10-fold CV.
ECE and MCE are computed once using equal-width and once using equal-frequency binning for the construction of the underlying binning scheme.
Only returned, if calibrate_object
contains a summary_CV list object.
standard deviation of calibration error values over n_seeds
times repeated 10-fold CV. Only returned, if calibrate_object
contains a summary_CV list object.
variation coefficient of calibration error values over n_seeds
times repeated 10-fold CV. Only returned, if calibrate_object
contains a summary_CV list object.
mean of discrimination error (sensitivity, specificity, AUC, positive predictive value, negative predictive value, accuracy) values over n_seeds
times repeated 10-fold CV. The "cut-off" is
the cut-off value that maximizes sensitivity and specificity. Only returned, if calibrate_object
contains a summary_CV list object.
standard deviation of discrimination error values over n_seeds
times repeated 10-fold CV. Only returned, if calibrate_object
contains a summary_CV list object.
variation coefficient of discrimination error values over n_seeds
times repeated 10-fold CV. Only returned, if calibrate_object
contains a summary_CV list object.
=list(p_value=t.test.calibration, effect_size=effect_size_calibration), only returned if t.test=TRUE
=list(p_value=t.test.discrimination, effect_size=effect_size_discrimination), only returned if t.test=TRUE
only returned if significance_models=TRUE
number of random data set partitions into training and test set for folds
-times CV
list object that consists of the actual
and predicted
values of the original scores
DETAILS
# NOT RUN {
## Loading dataset in environment
data(example)
calibration_model <- example$calibration_model
statistics <- statistics_calibratR(calibration_model)
# }
Run the code above in your browser using DataLab