Combines multiple test into a de facto single test.
net_sensspec(pos_threshold, sens, spec)
| pos_threshold | Minimum number of positive required for overall positive. |
|---|---|
| sens, spec | Model performance statistics (vector). |
Net sensitivity and specificity (list).
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.
It's assumed that the tests are done in parallel but in some cases a parallel diagnostic pathway is equivalent.
prob_test_outcome_combination for how the
probabilities are combined.
NA#> [1] NA# NOT RUN { #causes an error # }