nicqControl: Function that returns a list of algorithm controls for nicq

Description Usage Arguments Value See Also

View source: R/nicqFunctions.R

Description

Controls for numeric integration, etc. Mostly used in getfx2 that is called by nicqTest.

Defined as a function instead of a list, so sanity checks can be built in (but none have been included yet).

Usage

1
2
3
nicqControl(rdig = 5, slowint = FALSE, mint = 100, 
    interr = 10^-3,  epsilon=10^(-4), alpha = 0.025,
    tau.conf.level=0.95)

Arguments

rdig

number of digits for rounding, used to eliminate some computer errors. Used in getimaxpower called by nicqTest when ic="maxpower".

slowint

use slow integration for getfx2

mint

number of summands in numeric integration for getfx2

interr

tolerance for integration for getfx2

epsilon

small value to give the range for the uniroot function that calculates the confidence intervals. It searches from -q+epsilon to 1-q-epsilon. Used in nicq.calc called by nicqTest.

alpha

significance level for calculation of getimaxpower called by nicqTest when ic="maxpower".

tau.conf.level

confidence level for tau, where F1(tau)=q. Uses bpcp then quantile.kmciLR.

Value

a list with each argument as a named value

See Also

nicqTest


nivm documentation built on May 2, 2019, 8:22 a.m.