Learn R Programming

ROCpsych (version 1.3)

Compute and Compare Diagnostic Test Statistics Across Groups

Description

Functions for (1) computing diagnostic test statistics (sensitivity, specificity, etc.) from confusion matrices with adjustment for various base rates or known prevalence based on McCaffrey et al (2003) , (2) computing optimal cut-off scores with different criteria including maximizing sensitivity, maximizing specificity, and maximizing the Youden Index from Youden (1950) , and (3) displaying and comparing classification statistics and area under the receiver operating characteristic (ROC) curves or area under the curves (AUC) across consecutive categories for ordinal variables.

Copy Link

Version

Install

install.packages('ROCpsych')

Monthly Downloads

209

Version

1.3

License

GPL (>= 2)

Maintainer

Shenghai Dai

Last Published

August 17th, 2020

Functions in ROCpsych (1.3)

group.to.vars

Function to create new variables from the ordinal variable for further analysis
ROC.data.ex

Example data
cutscores

Function to compute optimal cut-off scores
ROC.stats

Function to compute statistics from a confusion matrix
group.auc.test

Function to compare AUC across all consecutive categories of an ordinal scale
PV.BR

Function to compute PPV and NPV with specified base rates