Monte Carlo Hypothesis Tests with Sequential Stopping
Calculation Ratio of two Beta functions
Find beta parameters to approximate distribution of p-values.
Finds cb=Kstar for B-value stopping rule
Calculates B-value stopping boundary
Precalculated object of class MCbound
Create Monte Carlo stopping boundary
Create Monte Carlo Stopping Boundary: functions by type
Monte Carlo hypothesis tests allowing sequential stopping
Internal function to calculation MC test
Perform Monte Carlo hypothesis tests.
Calculation to Convert Stored cb values to K values.
Find p0 (or p1) associated with p1 (or p0) that gives minimax tsprt
Plot stopping boundary
prints objects of the class MCtest
Calculate resampling risk and expected resampling size
Sort stopping boundary by standard ordering
Convert between MCbound parameterizations
Performs Monte Carlo hypothesis tests, allowing a couple of different sequential stopping boundaries. For example, a truncated sequential probability ratio test boundary (Fay, Kim and Hachey, 2007 <DOI:10.1198/106186007X257025>) and a boundary proposed by Besag and Clifford, 1991 <DOI:10.1093/biomet/78.2.301>. Gives valid p-values and confidence intervals on p-values.