View source: R/newsafe2x2Test.R
| computeConfidenceSequence2x2PropDiff | R Documentation |
Row i is the interval of computeConfidenceInterval2x2PropDiff() on
blocks 1..i, found by advancing one e-process per grid candidate and
reading off the run of candidates below 1 / alpha, each bound refined
outward by a secant.
computeConfidenceSequence2x2PropDiff(
ya,
yb,
na,
nb,
betaParameter,
alpha,
runningIntersection,
nGrid = 2000L
)
ya |
positive observations/ events per data block in group A: a
numeric with integer values between (and including) 0 and |
yb |
positive observations/ events per data block in group B: a
numeric with integer values between (and including) 0 and |
na |
number of observations in group A per data block, one value or one per block. |
nb |
number of observations in group B per data block, one value or one per block. |
betaParameter |
|
alpha |
numeric in (0, 1), one minus the confidence level. |
runningIntersection |
logical, if |
nGrid |
integer > 0, the number of candidates strictly inside |
an nBlocks x 2 matrix that contains the lower and upper bound
of the savi confidence sequence per block; an empty set is an NA
row, and with runningIntersection the rows are nested and stay NA
after the first empty row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.