Skip to contents

Dataset with 150 patients where two tests show high agreement (95% concordance). Tests have good sensitivity (0.90, 0.88) and specificity (0.90, 0.88).

Usage

nogoldstandard_highagreement

Format

A data frame with 150 rows and 3 variables:

patient_id

Character: Patient identifier (PT001-PT150)

Test1

Factor: First test ("Negative", "Positive"), Sens=0.90, Spec=0.90

Test2

Factor: Second test ("Negative", "Positive"), Sens=0.88, Spec=0.88, 95% agreement

age

Numeric: Patient age in years (mean 60, SD 10)

Source

Generated test data for ClinicoPath package

Details

Simulated with 35% prevalence. High correlation between tests (95% conditional agreement) tests latent class model assumptions about conditional independence.

Examples

data(nogoldstandard_highagreement)
nogoldstandard(data = nogoldstandard_highagreement,
               test1 = "Test1", test1Positive = "Positive",
               test2 = "Test2", test2Positive = "Positive",
               method = "latent_class")
#> Error in nogoldstandard(data = nogoldstandard_highagreement, test1 = "Test1",     test1Positive = "Positive", test2 = "Test2", test2Positive = "Positive",     method = "latent_class"): argument "test3Positive" is missing, with no default