Computes the exponential p-value weights for multiple testing.
Given estimated means mu of test statistics T,
the p-value weights are proportional to exp(beta*mu),
for a tilt parameter beta. In addition, the large weights are truncated
at a maximum value UB (upper bound), and the remaining weight is re-distributed
among the rest of the statistics.
Usage
exp_weights(mu, beta = 2, UB = Inf)
Arguments
mu
the estimated means of the test statistics
beta
(optional) weights are proportional to exp(mu*beta), default beta=2
UB
(optional) upper bound on the weights (default UB = Inf)
Value
The exponential weights.
Details
Specifically, it is assumed that T are Gaussian with mean
mu. One-sided tests of mu>=0 against mu<0< code="">
are conducted using the test statistics T. To optimize power,
different levels are allocated to different tests.
For more details, see the paper "Optimal Multiple Testing Under a
Gaussian Prior on the Effect Sizes", by Dobriban, Fortney, Kim and Owen,
http://arxiv.org/abs/1504.02935
0<>