binormal_roc_strat: Binormal ROC curve for stratified data

Description Usage Arguments Value

View source: R/miscelaneous.R

Description

Compute the combined binormal ROC curve for stratified data

Usage

1
2
3
4
5
6
7
8
9
binormal_roc_strat(
  x,
  freq_strata,
  mean0_strat,
  mean1_strat,
  sigma0_strat,
  sigma1_strat,
  by_strata = FALSE
)

Arguments

x

numeric vector between 0 and 1

freq_strata

numeric vector containing frequency of strata

mean0_strat

numeric vector of mean for class label 0 (healthy) for all strata

mean1_strat

numeric vector of mean for class label 1 (diseased) for all strata

sigma0_strat

numeric vector of standard deviation for class label 0 (healthy) for all strata

sigma1_strat

numeric vector of standard deviation for class label 1 (diseased) for all strata

by_strata

set to TRUE if ROC curve per strata is desired

Value

a dataframe containing


tamytsujimoto/surveyROC documentation built on Sept. 8, 2021, 11:35 p.m.