run.BayesianLR.test {bootLR} | R Documentation |

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

### Description

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

### Usage

```
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, ...)
```

### Arguments

`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. |

### Value

An object of class lrtest.

*bootLR*version 1.0.2 Index]