Skip to contents

Dataset with 140 patients featuring two poorly performing tests (Sens: 0.60/0.55, Spec: 0.65/0.70).

Usage

decisioncompare_poor

Format

A data frame with 140 rows and 4 variables:

patient_id

Character: Patient identifier (PT001-PT140)

GoldStandard

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

PoorTest1

Factor: First poor test ("Negative", "Positive"), Sens=0.60, Spec=0.65

PoorTest2

Factor: Second poor test ("Negative", "Positive"), Sens=0.55, Spec=0.70

age

Numeric: Patient age in years (mean 57, SD 12)

Source

Generated test data for ClinicoPath package

Details

Tests with low accuracy (barely better than chance). Demonstrates handling of poorly performing diagnostic tests.

Examples

data(decisioncompare_poor)
decisioncompare(data = decisioncompare_poor, gold = "GoldStandard",
                goldPositive = "Positive", test1 = "PoorTest1",
                test1Positive = "Positive", test2 = "PoorTest2",
                test2Positive = "Positive", ci = TRUE)
#> Error in decisioncompare(data = decisioncompare_poor, gold = "GoldStandard",     goldPositive = "Positive", test1 = "PoorTest1", test1Positive = "Positive",     test2 = "PoorTest2", test2Positive = "Positive", ci = TRUE): argument "test3Positive" is missing, with no default