View source: R/newsafe2x2Test.R
| logEValueVec2x2PropDiffGrow | R Documentation |
The alternative is restricted to the curve thetaA = thetaB + propDiffMin, signed by alternative, which leaves one free parameter;
its posterior on a grid of nWeight points under a Beta prior, uniform
by default, gives the predictable plug-in for each block, against the
pooled null mean.
"twoSided" runs both signs of the magnitude and averages their
cumulative e-processes.
logEValueVec2x2PropDiffGrow(
ya,
yb,
na,
nb,
propDiffMin,
alpha,
alternative = c("twoSided", "greater", "less"),
betaParameter = NULL,
earlyStopping = FALSE,
nWeight = 1000L
)
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. |
propDiffMin |
numeric in (-1, 1) that defines the minimal relevant
difference in proportions |
alpha |
numeric in (0, 1) that specifies the tolerable type I error and the null rejection rule e >= 1/alpha. |
alternative |
a character string specifying the alternative hypothesis. Must be one of "twoSided" (default), "greater" or "less", where "greater" means that group A has the larger proportion. |
betaParameter |
|
earlyStopping |
logical, if |
nWeight |
integer > 0, the number of grid points. |
A numeric vector, element i the log e-value on blocks 1..i.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.