Class OverfitProbability.Result
java.lang.Object
com.quantfinlib.backtest.validation.OverfitProbability.Result
- Enclosing class:
OverfitProbability
-
Constructor Summary
ConstructorsConstructorDescriptionResult(double pbo, int combinations, double[] logits) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptionintcombinations(number of symmetric splits evaluated, C(S, S/2)).booleaninthashCode()doublelogits(int i) Elementioflogits(one lambda per combination (enumeration order)).double[]A fresh copy oflogits.intLength oflogits.doublepbo()pbo(fraction of IS/OOS splits whose in-sample winner ranked at or below the out-of-sample median).toString()
-
Constructor Details
-
Result
public Result(double pbo, int combinations, double[] logits) Creates the value; array and collection arguments are copied.- Parameters:
pbo- fraction of IS/OOS splits whose in-sample winner ranked at or below the out-of-sample mediancombinations- number of symmetric splits evaluated, C(S, S/2)logits- one lambda per combination (enumeration order)
-
-
Method Details
-
pbo
public double pbo()pbo(fraction of IS/OOS splits whose in-sample winner ranked at or below the out-of-sample median). -
combinations
public int combinations()combinations(number of symmetric splits evaluated, C(S, S/2)). -
logits
public double logits(int i) Elementioflogits(one lambda per combination (enumeration order)). -
logitsLength
public int logitsLength()Length oflogits. -
logitsCopy
public double[] logitsCopy()A fresh copy oflogits. -
equals
-
hashCode
-
toString
-