View source: R/newsafe2x2Test.R
| solveRIPr2x2PropDiff | R Documentation |
The null pair (nullThetaA, nullThetaA - propDiff) closest in KL
divergence to (thetaA, thetaB) for one block: the root of the
derivative of na KL(thetaA || nullThetaA) + nb KL(thetaB || nullThetaB).
solveRIPr2x2PropDiff(thetaA, thetaB, na, nb, propDiff, tol = 1e-12)
thetaA, thetaB |
numeric in (0, 1), the alternative's proportions. |
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. |
propDiff |
numeric in (-1, 1), the null difference |
tol |
numeric > 0, the tolerance of |
A numeric, nullThetaA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.