logEValueVec2x2PropDiffEBeta: Plain eBeta e-process for propDiff

View source: R/newsafe2x2Test.R

logEValueVec2x2PropDiffEBetaR Documentation

Plain eBeta e-process for propDiff

Description

The cumulative log likelihood ratio of the predictive Beta means of predictiveThetas2x2() over the pooled null mean (na * thetaA + nb * thetaB) / (na + nb), block 1 included.

Usage

logEValueVec2x2PropDiffEBeta(ya, yb, na, nb, betaParameter)

Arguments

ya

positive observations/ events per data block in group A: a numeric with integer values between (and including) 0 and na, the number of observations in group A per block.

yb

positive observations/ events per data block in group B: a numeric with integer values between (and including) 0 and nb, the number of observations in group B per block.

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

list(betaA1, betaA2, betaB1, betaB2), the Beta prior shapes on thetaA and thetaB for "eBeta", each a single finite positive number; NULL means 1 / (2 * na) and 1 / (2 * nb), taking block 1's sizes with a warning when they vary by block. A given prior keeps its own block 1: the test does not replace it by the UMP e-value. For "grow" on propDiff, the test puts Beta(betaA1, betaA2) on thetaA rescaled to its feasible interval on the curve, B's shapes unused, and NULL means uniform; planning ignores it.

Value

A numeric vector, element i the log e-value on blocks ⁠1..i⁠.


safestats documentation built on Oct. 5, 2026, 9:07 a.m.