The following is a comprehensive overview of the available options in the Test ROC module. For information on getting started, see here:
The TestROC module is built on top of “cutpointR”, which is a well-documented R package by Christian Thiele [LINK]. As such, the best documentation on the calculations performed by any of the options below is found in the cutpointR package documentation. In addition, any requests for changes in the way calculations are performed are best directed to cutpointR. If/when they are implemented there, the TestROC package will be automatically updated.
options:
Custom cut score
Maximize metric
Minimize metric
Maximize metric (LOESS)
Minimize metric (LOESS)
Maximize metric (spline)
Minimize metric (spline)
Maximize metric (boot)
Minimize metric (boot)
Maximize Youden-Index (Kernel smoothed)
Maximize Youden-Index (Parametric normal)
default: maximize_metric
Method
determines how the optimal cutpoint will be determined after calculating the Metric
(below). The default is simply Maximize Metric
, which means that the cutpoint with the maximum value for Metric
will be chosen as the optimal cutpoint. The options in brackets, LOESS
, spline
, boot
, Kernel smoothed
, and Parametric normal
refer to different smoothing operations which may be carried out on the metric prior to selecting the respective max/min value.
If All observed scores
is selected, results table will return statistics for all observed measure scores in the data.
If DeLong's Test
is selected and two or more groups are provided (either scores on two or more measures or subgroups of a single measure), DeLong’s test for the difference between AUC/ROC will be performed.
Specify cut score
will be ignored unless the Custom Cut Score
option for Method
(above) is chosen. This option is used to return only the results for a single specified observed score. That is, it is only used for filtering results to create tidyier output. As a result of this, the value must be a value in the observed data.
options:
Sum Sens-Spec
Accuracy
Youden-Index
Sum: Sens/Spec
Sum: PPV/NPV
Prod: Sens/Spec
Prod: PPV/NPV
Cohen's Kappa
Abs. d: Sens/Spec
ROC
Abs. d: PPV/NPV
Chi-squared
Odds Ratio
Risk Ratio
Misclassification Cost
Total Utility
F1 score
Metric
refers to the statistic/value that is to be calculated and used by Method
for selecting the optimal cutpoint(s).
Not yet implemented. Please notify the author if this feature would be useful to you
Bootstrap runs
is the number of bootstrap samples will be used to assess the variability and the out-of-sample performance. If used, bootstrap samples will be drawn and the optimal cutpoint using method will be determined this way. Additionally, as a way of internal validation, the function in metric will be used to score the out-of-bag predictions using the cutpoints determined by method. Various default metrics are always included in the bootstrap results.
options:
All optimal cutpoints
Mean optimal cutpoint
Median optimal cutpoint
options:
">="
"<="
Direction
refers to the direction of the observed score relative to the optimal cutpoint. That is, whether the cutpoint should be a ‘floor’ or a ‘ceiling’.
default: True
Selecting the ROC
option will return an ROC curve for each dependent variable and group.
default: True
If ROC
has been selected, Standard error bars
is used to show approximated standard error ranges using LOESS smoothing.
default: True
Selecting the LOESS Smoothing
option will overlay a LOESS smoothed regression line on the ROC curve.
default: False
Sensitivity-Specificity Tables
is used to display the raw data at used to calculate sensitivity and specificity. This option may be useful for checking data if the results of the optimal cutpoints or ROC curve are not as expected.
Some worked out examples of analyses carried out with jamovi PsychoPDA are posted here (more to come):
Got comments, issues or spotted a bug? Please open an issue at PsychoPDA on github or send me an email