Learn R Programming

exact2x2 (version 1.6.9)

ucControl: Algorithm variables used by uncondExact2x2.

Description

Function that gives list of algorithm variables used by uncondExact2x2.

Usage

ucControl(nCIgrid = 500, errbound = 0, nPgrid = 100, 
   power2 = 20, maxPgridRatio = 1 - 10^-6, 
   minPgridRatio = 10^-6)

Value

A LIST of all the named elements (see arguments to call).

Arguments

nCIgrid

number of elements in the grid search for the confidence interval.

errbound

Used with large sample sizes to speed calculations, only calculate univariate binomial distribution in the middle part, exclude both tails with less than errbound/2 in each tail. When errbound=0, calculate the full distributions.

nPgrid

number of elements to search over the null parameter space.

power2

how precise to make the grid search for the confidence interval when using the `faster' algorithm (e.g., when method='user-fixed').

maxPgridRatio

maximum binomial probability for the search over the null nuisance parameter space, when parmtype='ratio' or 'oddsratio'

minPgridRatio

maximum binomial probability for the search over the null nuisance parameter space, when parmtype='ratio' or 'oddsratio'

Examples

Run this code
ucControl(errbound=10^-5)

Run the code above in your browser using DataLab