Class AlphaValidation.SensitivityResult
java.lang.Object
com.quantfinlib.alpha.AlphaValidation.SensitivityResult
- Enclosing class:
AlphaValidation
IC across the sweep.
-
Constructor Summary
ConstructorsConstructorDescriptionSensitivityResult(String[] names, double[] meanIcs, double worstNeighborDrop, double largestAdjacentJump) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptionbest()The candidate with the best mean IC.booleaninthashCode()doublelargestAdjacentJump(largest |IC difference| between any two adjacent candidates).doublemeanIcs(int i) ElementiofmeanIcs.double[]A fresh copy ofmeanIcs.intLength ofmeanIcs.names(int i) Elementiofnames.String[]A fresh copy ofnames.intLength ofnames.toString()doubleworstNeighborDrop(best mean IC minus the lower of its immediate neighbours' mean ICs (0 when the best is flanked by equal values)).
-
Constructor Details
-
SensitivityResult
public SensitivityResult(String[] names, double[] meanIcs, double worstNeighborDrop, double largestAdjacentJump) Creates the value; array and collection arguments are copied.- Parameters:
worstNeighborDrop- best mean IC minus the lower of its immediate neighbours' mean ICs (0 when the best is flanked by equal values)largestAdjacentJump- largest |IC difference| between any two adjacent candidates
-
-
Method Details
-
names
Elementiofnames. -
namesLength
public int namesLength()Length ofnames. -
namesCopy
A fresh copy ofnames. -
meanIcs
public double meanIcs(int i) ElementiofmeanIcs. -
meanIcsLength
public int meanIcsLength()Length ofmeanIcs. -
meanIcsCopy
public double[] meanIcsCopy()A fresh copy ofmeanIcs. -
worstNeighborDrop
public double worstNeighborDrop()worstNeighborDrop(best mean IC minus the lower of its immediate neighbours' mean ICs (0 when the best is flanked by equal values)). -
largestAdjacentJump
public double largestAdjacentJump()largestAdjacentJump(largest |IC difference| between any two adjacent candidates). -
best
The candidate with the best mean IC. -
equals
-
hashCode
-
toString
-