Skip to contents

Dataset with 170 patients where Test1 includes indeterminate results (three levels) alongside standard binary Test2.

Usage

decisioncompare_indeterminate

Format

A data frame with 170 rows and 4 variables:

patient_id

Character: Patient identifier (PT001-PT170)

GoldStandard

Factor: True status ("Negative", "Positive"), 30% positive

Test1

Factor: Test with indeterminate ("Negative", "Positive", "Indeterminate")

Test2

Factor: Standard binary test ("Negative", "Positive"), Sens=0.85, Spec=0.88

age

Numeric: Patient age in years (mean 55, SD 13)

Source

Generated test data for ClinicoPath package

Details

Demonstrates handling of indeterminate results. Test1 has ~10% indeterminate results in both disease groups. Use excludeIndeterminate option to control handling.

Examples

data(decisioncompare_indeterminate)
decisioncompare(data = decisioncompare_indeterminate, gold = "GoldStandard",
                goldPositive = "Positive", test1 = "Test1",
                test1Positive = "Positive", test2 = "Test2",
                test2Positive = "Positive", excludeIndeterminate = TRUE)
#> Error in decisioncompare(data = decisioncompare_indeterminate, gold = "GoldStandard",     goldPositive = "Positive", test1 = "Test1", test1Positive = "Positive",     test2 = "Test2", test2Positive = "Positive", excludeIndeterminate = TRUE): argument "test3Positive" is missing, with no default