Skip to contents

Basic dataset with 200 patients for analyzing two diagnostic tests without a gold standard reference. Tests have moderate sensitivity (0.85, 0.80) and specificity (0.85, 0.90).

Usage

nogoldstandard_test

Format

A data frame with 200 rows and 5 variables:

patient_id

Character: Patient identifier (PT001-PT200)

Test1

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

Test2

Factor: Second test result ("Negative", "Positive"), Sens=0.80, Spec=0.90

age

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

sex

Factor: "Male" or "Female"

Source

Generated test data for ClinicoPath package

Details

Simulated with latent disease prevalence of 30%. Test characteristics based on realistic diagnostic scenarios. Suitable for demonstrating latent class analysis and composite reference standard methods.

Examples

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