Combines multiple test into a de facto single test.

net_sensspec(pos_threshold, sens, spec)

Arguments

pos_threshold

Minimum number of positive required for overall positive.

sens, spec

Model performance statistics (vector).

Value

Net sensitivity and specificity (list).

Details

Assuming each test performance is completely defined by it sensitivity and specificity, various set intercept probabilities are calculated and combined, similar to the inclusion-exclusion formula in probability theory https://en.m.wikipedia.org/wiki/Inclusion-exclusion_principle.

Serial vs parallel

It's assumed that the tests are done in parallel but in some cases a parallel diagnostic pathway is equivalent.

See also

prob_test_outcome_combination for how the probabilities are combined.

Examples

NA
#> [1] NA
# NOT RUN { #causes an error # }