drawMaxedOut: Internal function to draw a set of sensitivities or...

Description Usage Arguments

Description

Internal function to draw a set of sensitivities or specificities This is intended for the case where testPos == totalDzPos or testNeg == totalDzNeg.

Usage

1
2
3
drawMaxedOut(n, R, consistentQuantile = 0.5, verbose,
  parameters = list(shrink = 5, tol = 5e-04, nEach = 80),
  method = "deterministic")

Arguments

n

The total number of positives/negatives in the population.

R

is the number of replications in each round of the bootstrap (has been tested at 10,000 or greater).

consistentQuantile

Defaults to 0.5, i.e. the median. Finds the lowest probability for which the random draws are likely to be consistently one, where consistently is defined by this value (i.e. at .5, a simple majority of the time is enough for consistency)

verbose

Whether to display internal operations as they happen.

parameters

List of control parameters (shrink, tol, nEach) for sequential search.

method

Either "deterministic" or "search". The former is faster and more accurate. Thanks to an anonymous reviewer for pointing out the utility of the binomial distribution in solving this problem.



Search within the bootLR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.