View source: R/newsafe2x2Test.R
| computeConfidenceInterval2x2PropDiff | R Documentation |
Inverts the eBeta e-process: the predictive Beta numerator of
predictiveThetas2x2() against, per block, the reverse information
projection of solveRIPr2x2PropDiff() onto each candidate propDiff.
The interval is the set of candidates whose e-value stays below
1 / alpha, found by one minimum and two roots on domain.
computeConfidenceInterval2x2PropDiff(
ya,
yb,
na,
nb,
betaParameter,
alpha,
domain = c(-1, 1)
)
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. |
domain |
|
numeric vector that contains the lower and upper bound of the
savi confidence interval, named lowerBound, upperBound; the
domain edge when that edge is still inside, and c(-1, 1) with a
warning when the set is empty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.