Skip to contents

Dataset with 190 patients showing moderate overlap between diseased and non-diseased groups, representing realistic clinical scenarios with imperfect discrimination.

Usage

psychopdaROC_overlap

Format

A data frame with 190 rows and 3 variables:

patient_id

Character: Patient identifier (PT001-PT190)

diagnosis

Factor: "Diseased" or "Non_Diseased" (40%/60% prevalence)

test_value

Numeric: Test values with moderate overlap (mean: 60 vs 55, SD 18)

Source

Generated test data for ClinicoPath package

Details

Small mean difference (5 units) with substantial overlap between groups. Represents realistic clinical scenarios where diagnostic tests show moderate but imperfect discrimination (AUC ~0.60-0.65).

Examples

data(psychopdaROC_overlap)
psychopdaROC(data = psychopdaROC_overlap, dependentVars = "test_value",
             classVar = "diagnosis", positiveClass = "Diseased")
#> Error in psychopdaROC(data = psychopdaROC_overlap, dependentVars = "test_value",     classVar = "diagnosis", positiveClass = "Diseased"): argument "refVar" is missing, with no default