Package jdistlib.disttest.online
Class LordPlusPlus
java.lang.Object
jdistlib.disttest.online.LordPlusPlus
- All Implemented Interfaces:
OnlineFdrController
Stateful LORD++ online-FDR controller for a prespecified hypothesis order.
The supplied finite gamma sequence is interpreted as an infinite sequence padded with zeros. It must be nonnegative, nonincreasing, and sum to at most one. The standard FDR guarantee requires independent null p-values and a monotone testing rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LordPlusPlus
public LordPlusPlus(double alpha, double initialWealth, double[] gamma)
-
-
Method Details
-
test
Description copied from interface:OnlineFdrControllerTests the next p-value and advances the controller exactly once.- Specified by:
testin interfaceOnlineFdrController
-
getTestCount
public long getTestCount()Description copied from interface:OnlineFdrControllerReturns the number of p-values processed.- Specified by:
getTestCountin interfaceOnlineFdrController
-
getRejectionCount
public int getRejectionCount()Description copied from interface:OnlineFdrControllerReturns the number of rejections so far.- Specified by:
getRejectionCountin interfaceOnlineFdrController
-
reset
public void reset()Description copied from interface:OnlineFdrControllerRestores the controller to its newly constructed state.- Specified by:
resetin interfaceOnlineFdrController
-