net_sensspec: Net test sensitivity and specificity.

Description Usage Arguments Details Value Serial vs parallel See Also Examples

View source: R/net_senspec.R

Description

Combines multiple test into a de facto single test.

Usage

1
net_sensspec(pos_threshold, sens, spec)

Arguments

pos_threshold

Minimum number of positive required for overall positive.

sens, spec

Model performance statistics (vector).

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.

Value

Net sensitivity and specificity (list).

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

1
2
3
4
5
NA
## Not run: 
#causes an error

## End(Not run)

n8thangreen/netdiagnostics documentation built on May 28, 2019, 4:39 p.m.