Description Usage Arguments Value

The actual function that runs the test. BayesianLR.test is a wrapper that runs this with ever-looser tolerances.

1 2 3 | ```
run.BayesianLR.test(truePos, totalDzPos, trueNeg, totalDzNeg, R = 10^4,
verbose = FALSE, parameters = list(shrink = 5, tol = 5e-04, nEach = 80),
ci.width = 0.95, consistentQuantile = 0.5, ...)
``` |

`truePos` |
The number of true positive tests. |

`totalDzPos` |
The total number of positives ("sick") in the population. |

`trueNeg` |
The number of true negatives in the population. |

`totalDzNeg` |
The total number of negatives ("well") in the population. |

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

`verbose` |
Whether to display internal operations as they happen. |

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

`ci.width` |
The width of the confidence interval used by boot.ci (not necessarily the same as the width of the CI produced by the algorithm overall; if this parameter is changed, results are not tested) |

`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). Changing this parameter results in different properties than have been tested and is not recommended. |

`...` |
Arguments to pass along to boot.ci for the BCa confidence intervals. |

An object of class lrtest.

bootLR documentation built on May 19, 2017, 10:17 p.m.

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

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.