mFDP.direc {mFDP} | R Documentation |
mFDP control for directional testing
Description
Controls the median of the FDP, given a vector of test statistics.
Usage
mFDP.direc(Ts, delta=0, gamma=0.05)
Arguments
Ts |
A vector containing the test statistics T_1,...,T_m |
delta |
Determines the null hypotheses H_1,...,H_m. For every j, H_j is the hypothesis that T_j has mean at most delta. |
gamma |
Desired upper bound for the mFDP |
Value
The indices of the rejected hypotheses
Examples
set.seed(123)
tstats = rnorm(n=200)+1.5 #make some test statistics
mFDP.direc(Ts = tstats) #indices of rejected hypotheses
[Package mFDP version 0.2.1 Index]