Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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'

Value

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

Examples

ucControl(errbound=10^-5)

exact2x2

Exact Tests and Confidence Intervals for 2x2 Tables

v1.6.5
GPL-3
Authors
Michael P. Fay [aut, cre], Sally A. Hunsberger [ctb], Martha Nason [ctb], Erin Gabriel [ctb], Keith Lumbard [ctb]
Initial release
2020-08-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.